Ask Your Question

markgius's profile - activity

2011-09-14 18:16:57 -0500 answered a question Openstack Dashboard User Creation Issue

That "i want everything" section is part of the keystone documentation, btw.

2011-09-14 17:42:26 -0500 answered a question Openstack Dashboard User Creation Issue

the dashboard no longer maintains its own list of users. Instead, the dashboard uses Openstack Keystone to provide authentication.

You will need to set up a keystone endpoint ( https://launchpad.net/keystone ) and properly configure keystone to provide endpoints for other openstack components, then edit the keystone endpoint in openstack-dashboard/local/local_settings.py to point to that endpoint.

If you're just trying to demo/proof of concept openstack with a dashboard, check out the "I want OpenStack (all of it)" section for instructions on how to set up an openstack "all in one" box that gives a pretty good feel for how openstack and the dashboard work. Those instructions are best run in a virtual machine or on a box you do not care about, as they are pretty invasive for a system.

2011-09-14 17:30:02 -0500 answered a question No fixtures found.

I don't see the problem. You don't need pre-canned data (fixtures) to run the dashboard. That message is informational, not an indication of an error.

2011-08-29 18:58:27 -0500 answered a question swift-ring-builder exit status confusing

Alright, I went ahead and filed a bug for changing the exit codes. I might fix it myself if I find the time, otherwise it should be a pretty easy fix for someone looking to start contributing.

2011-08-25 17:25:09 -0500 answered a question NovaServerError forbidden

The guide you are following is very old, and the version of the dashboard you are running is also very old. I'm not even sure what version of Nova you are running, because it looks like the guide has you install whatever happens to be in your distributions repositories. Since it looks like you're trying to set up an Openstack All In One box, I'm going to suggest one of the following

  • Use the nova.sh script found in this repository ( https://github.com/4P/deployscripts ) to turn a virtual (or real) machine into an all-in-one compute + glance + keystone + dashboard box. You may not be able to spin up "real" virtual machines using this script as is, however.

  • Figure out what version of Nova you are running, and make sure that the version of dashboard you are running is from around that time. The dashboard only recently became an official openstack project, so we haven't had any real releases that might line up with your nova version, so the best bet is to pick a version from around the right date. Choosing the last launchpad commit before we switched hosting to github might be a good choice as well.

2011-08-19 23:35:04 -0500 asked a question swift-ring-builder exit status confusing

I am very confused by the exit status of swift-ring-builder. According to the tool:

Exit codes: 0 = ring changed, 1 = ring did not change, 2 = error

But when I run a successful "add" operation:

ubuntu@proxy:~$ swift-ring-builder account.builder add z2-172.17.1.1:6000/sdb 1000.0 Device z2-172.17.1.1:6000/sdb_"" with 1000.0 weight got id 3 ubuntu@proxy:~$ echo $? 1

This makes no sense to me. I've changed the ring, I just haven't rebalanced and distributed the ring. Why is the ring builder returning "ring not changed?"

Or more to the point, why is swift-ring-builder not conforming to the standard practice of 0 = success, not 0 = failure? This makes scripting swift-ring-builder far more painful than it should be.

2011-07-31 01:24:20 -0500 answered a question Error accessing Dashboard server from browser client

I should note that the ubuntu system was a clean install of the OS.

2011-07-31 01:23:36 -0500 answered a question Error accessing Dashboard server from browser client

How odd that the local install of xattr didn't work...

I added xattr to the list of dependencies for the dashboard, and was able to get the dashboard splash page to load successfully. That change has been pushed to 4P/openstack-dashboard/master

My system was Ubuntu 11.04 desktop, with the following packages installed through apt:

git bzr python-dev vim-nox python-virtualenv

I then checked out openstack-dashboard and ran

$ python tools/install_venv.py

Followed by creating local_settings.py and then running the dashboard. Splash page loaded successfully. I don't have anything else from openstack running right now so I haven't seen if any other glance functionality is broken.

2011-07-29 06:25:52 -0500 answered a question Error accessing Dashboard server from browser client

Alright, that probably means I've got xattr installed through some other means. I'll take a look at this tomorrow, it probably means one of the dependencies files are out of date.

You can get around this in the meantime by installing xattr yourself through pip or easy_install.

$ pip install xattr $ easy_install xattr

Depending on your setup you may need to run those with root privs.

2011-07-29 00:54:00 -0500 answered a question Error accessing Dashboard server from browser client

The Glance project recently updated their code to have a new dependency on the xattr module. Can you try re-rerunning

$ python tools/install_venv.py

Then re-running the dashboard to see if that picks up the missing dependency? That process worked for me but it is entirely possible I have xattr installed somewhere on my system masking this issue for me.

2011-07-21 17:10:46 -0500 answered a question EC2ResponseError at /accounts/register/

The current version of the dashboard does not work with the release version of nova. The last commit before the new auth stuff was merged in is 86799033f48246993a50451e214748479f75a467. That commit is about a month old, so it is missing swift support and some new features we've added in since then, but it _should_ work with the release version of Nova.

The dashboard was only very recently accepted as an openstack project (about a month ago), so we haven't had a "release" with the rest of the project yet, which is why we don't have a stable version for use with the release version of openstack.

The current development branch of dashboard uses Openstack Identity (keystone) for auth, as will Nova for the Diablo release ( https://blueprints.launchpad.net/nova/+spec/finalize-nova-auth (https://blueprints.launchpad.net/nova...) ). Instructions for running Nova with keystone auth support can be found in the readme for the keystone project ( https://github.com/rackspace/keystone ). I haven't tried those instructions against Nova cactus, so I don't know if it will work.

2011-07-12 21:13:44 -0500 answered a question Diablo-2 HTTP queries

The current version of the dashboard does not currently run with a vanilla distribution of nova.

The 404 errors you are receiving are due to using extensions provided by openstackx that have not been injected into the nova service.

I haven't tried running the dashboard against a vanilla nova since the project moved to github. The cloudbuilders openstack dev environment script applies the following flag to the nova service to include the extensions from openstackx:

--osapi_extensions_path=/path/to/openstackx/extensions"

If you're interested in running a purely development environment, the nova.sh script found here:

https://raw.github.com/cloudbuilders/deploy.sh/master/nova.sh (https://raw.github.com/cloudbuilders/...)

Sets up an openstack all-in-one box with nova, glance, keystone ready for development. If you're looking for a more production ready environment, that script should be helpful in finding the options you'll need to get an openstack environment running that the dashboard can interact with.