Re: [Openstack] OpenStack Dashboard Update
Alle mercoledì 19 ottobre 2011, Devin Carlen ha scritto: Hello all, Milestones and feature roadmaps are now available at: https://blueprints.launchpad.net/openstack-dashboard Also we have chosen the official project codename, Horizon. We will be moving the official repo to the OpenStack GitHub account. In the interim, we have renamed the currently official repo. This is temporary while we make the transition. https://github.com/4P/horizon In the next few days we will be migrating to the Gerrit workflow as well. More updates soon as we make this migration. Thanks, Devin Hi Devin I guess with this update something was lost, in the diablo branch there was a fix in _launch.html you merged, without this patch we can only edit/delete images but not launch ! Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] vnc on diablo
Alle martedì 04 ottobre 2011, Carlo Impagliazzo ha scritto: Hi guys I have a working diablo stack. Using the dashboard I've tried to launch the vnc console, the results is the NO VNC image within server disconnected. In nova-vnc.log I have (nova.rpc): TRACE: AMQPChannelException: (404, uNOT_FOUND - no exchange '9077e1d93d3e41ed91d0a551afd3013f' in vhost '/', (60, 40), 'Channel.basic_publish') (nova.rpc): TRACE: 2011-10-04 16:21:05,422 nova.rpc: Returning exception (404, uNOT_FOUND - no exchange '9077e1d93d3e41ed91d0a551afd3013f' in vhost '/', (60, 40), 'Channel.basic_publish') to caller Any suggestions? The full log trace is here: http://paste.openstack.org/show/2628/ Thanks! Carlo Using the release of sleepsonthefloor and Firefox ( last version ) and a lot of debug and now it works ( even if not always... ). It dipends on browser and other unknown events This exception starts from vnc/auth.py in auth_params = urlparse. ... as you can see here http://paste.openstack.org/show/2633/ there is a clear log of what happens, after it loads a few of files ( include/plain.css ) it tries to load / and crash in it. Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] vnc on diablo
Hi guys I have a working diablo stack. Using the dashboard I've tried to launch the vnc console, the results is the NO VNC image within server disconnected. In nova-vnc.log I have (nova.rpc): TRACE: AMQPChannelException: (404, uNOT_FOUND - no exchange '9077e1d93d3e41ed91d0a551afd3013f' in vhost '/', (60, 40), 'Channel.basic_publish') (nova.rpc): TRACE: 2011-10-04 16:21:05,422 nova.rpc: Returning exception (404, uNOT_FOUND - no exchange '9077e1d93d3e41ed91d0a551afd3013f' in vhost '/', (60, 40), 'Channel.basic_publish') to caller Any suggestions? The full log trace is here: http://paste.openstack.org/show/2628/ Thanks! Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] tenants and project
Alle venerdì 30 settembre 2011, l jv ha scritto: Hi: There is something confuse. Original,manage resource with project,i can limit an project's resouce. now ,i use dashboard,there is no project,but have a tenant In nova database,the user and project table is blank when i create a user with 'nova-manage user admin test',dashboard can't identification it and the tenant's resouces limit is still use quotas tables which is in nova databases. what i want to know is why use tenant instead of project? is there some thing is superfluous, such as nova's user and projects. so... you have a working version of the stack nova/keystone/dashboard, isn't it? Can you post revision number ( or branches used ) to have a working system ? :) thanks a lot! Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Diablo 4 dashboard error missing openstackx extensions in nova.
Alle lunedì 12 settembre 2011, Anthony Young ha scritto: Another thing to check - the os1.1 keystone endpoints have been modified in d4 to include a tenant prefix. If you are upgrading an existing install, you may need to update your keystone service catalog accordingly: keystone-manage $* endpointTemplates add RegionOne nova http://%= api_vip %:8774/v1.1/%tenant_id% http://%= api_vip %:8774/v1.1/%tenant_id% http://%= api_vip %:8774/v1.1/%tenant_id% 1 1 Anthony Is this patch still needed? Since last mail of this thread, this patch doesn't appear in last keystone branches. Thanks! Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] tenants and project
I've tried with following suggested releases but something in keystone ( with nova ) doesn't work properly. I've followed installing steps but in dashboard I've obtained service not found - compute, after I've fixed this ( setting each endpointTemplate global ) I've had something like user not authorized ... looking deeper I saw that users created in keystone didn't have propagated in nova ( this was the behaviour with shim ). just another issue... Using sampledata.py we can see the db filled with odd data, something like 1234 in tenant_id ( 1234 is the tenant name not the ref ). I posted previous mail just to understand which patches are valid in specific release. According to meeting summary, today ( maybe tomorrow for my timezone ) will be released a working version of keystone compliant with diablo, I look forward to this release :) Carlo Alle venerdì 30 settembre 2011, Rafael Durán Castañeda ha scritto: From: Jesse Andrews anotherje...@gmail.com Date: 2011/9/28 Subject: Re: [Openstack] dashaboard+keystone+nova+ glance work well? To: shake chen shake.c...@gmail.com Cc: openstack@lists.launchpad.net at various points in time they have worked together. We (cloudbuilders) keep a list of repositories that work well together. # compute service NOVA_REPO=https://github.com/openstack/nova.git NOVA_BRANCH=2011.3 # image catalog service GLANCE_REPO=https://github.com/cloudbuilders/glance.git GLANCE_BRANCH=diablo # unified auth system (manages accounts/tokens) KEYSTONE_REPO=https://github.com/cloudbuilders/keystone.git KEYSTONE_BRANCH=diablo # a websockets/html5 or flash powered VNC console for vm instances NOVNC_REPO=https://github.com/cloudbuilders/noVNC.git NOVNC_BRANCH=master # django powered web control panel for openstack DASH_REPO=https://github.com/cloudbuilders/openstack-dashboard.git DASH_BRANCH=master # python client library to nova that dashboard (and others) use NOVACLIENT_REPO=https://github.com/cloudbuilders/python-novaclient.git NOVACLIENT_BRANCH=master # openstackx is a collection of extensions to openstack.compute nova # that is *deprecated*. The code is being moved into python-novaclient nova. OPENSTACKX_REPO=https://github.com/cloudbuilders/openstackx.git OPENSTACKX_BRANCH=diablo 2011/9/30 Carlo Impagliazzo truij...@crs4.it Alle venerdì 30 settembre 2011, l jv ha scritto: Hi: There is something confuse. Original,manage resource with project,i can limit an project's resouce. now ,i use dashboard,there is no project,but have a tenant In nova database,the user and project table is blank when i create a user with 'nova-manage user admin test',dashboard can't identification it and the tenant's resouces limit is still use quotas tables which is in nova databases. what i want to know is why use tenant instead of project? is there some thing is superfluous, such as nova's user and projects. so... you have a working version of the stack nova/keystone/dashboard, isn't it? Can you post revision number ( or branches used ) to have a working system ? :) thanks a lot! Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] keystone nova ( diablo )
Hi, all I've installed nova/glance in Diablo official release, and all worked. Then I've tried to install keystone ( https://github.com/openstack/keystone/commit/0425fba560e7d68e52f922667972765e64ad17dc posted in last meeting ) and used sample config files in example/paste/... running nova-api I obtain : (nova): TRACE: ImportError: module 'nova.api.ec2' from '/usr/lib/python2.6/site-packages/nova/api/ec2/__init__.pyc' has no 'ToToken' attribute so I digged in nova/api/ec2/__init__.py and I noticed that following class was removed: class ToToken(wsgi.Middleware): Authenticate an EC2 request with keystone and convert to token. Is there a reason for this or something now is called in a different way? Is there a adviced keystone release able to work with nova diablo? thank you! Carlo ps. a few days ago a similar thread was opened in mailing list but in that case the issue was only a strong difference in release between nova and keystone ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] glance authentication problem
Alle venerdì 16 settembre 2011, hai scritto: On Fri, Sep 16, 2011 at 10:46 AM, Carlo Impagliazzo truij...@crs4.it wrote: I've configured glance with default_store = file and with keystone for auth, according to the example in keystone sources. Would you mind pastebinning your config files (please remove any security creds)? if I try something like glance details *** Failed to show details. Got error: 401 Unauthorized This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required. Authentication required *** What version of Glance are you using? There should have been a notice in the above output about making sure you have your OS_AUTH_USER and OS_AUTH_KEY environ variables set? Cheers, jay Hi! my last glance version is diable-D4 released in 26/08/2011, less than one month ago and last downloaded on 14th. I've had no nothice above output [root@mercurio test]# nova-manage project zipfile 1234 joeuser [root@mercurio test]# unzip nova.zip [root@mercurio test]# source novarc [root@mercurio test]# glance details Failed to show details. Got error: 401 Unauthorized ... ... ... My configuration files are here http://paste.openstack.org/show/2471/ Now I'm using test data so there aren't sensible data. I saw Nicolas posts, I think the problem is similar even... I don't know if milestone ( essex ) is closes one, I'm just trying to have a diable-d4 environment working :) C. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] glance naming
Hi guys looking for glance update in my environment I found this www.glance.net is there a possible conflict with names for software products? ( in the early times firefox have had the same problem and was constricted to change it in Firefox ... ) is it a possible issue? C. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] novaclient+keystone problem AttributeError: 'unicode' object has no attribute 'items'
Alle mercoledì 14 settembre 2011, Roman Sokolkov ha scritto: Hi! I have problem. I use keystone from trunk, python-novaclient 2.6.4 # nova --debug list connect: (127.0.0.1, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 88\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-novaclient\r\n\r\n{passwordCredentials: {username: admin, password: xxx, tenantId: 1234}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json; charset=UTF-8 header: Content-Length: 1236 header: Date: Wed, 14 Sep 2011 13:18:45 GMT Traceback (most recent call last): File /usr/bin/nova, line 9, in module load_entry_point('python-novaclient==2.6.4', 'console_scripts', 'nova')() File /usr/lib/python2.7/site-packages/novaclient/shell.py, line 219, in main OpenStackComputeShell().main(sys.argv[1:]) File /usr/lib/python2.7/site-packages/novaclient/shell.py, line 176, in main self.cs.authenticate() File /usr/lib/python2.7/site-packages/novaclient/v1_0/client.py, line 57, in authenticate self.client.authenticate() File /usr/lib/python2.7/site-packages/novaclient/client.py, line 144, in authenticate auth_url = self._v2_auth(auth_url) File /usr/lib/python2.7/site-packages/novaclient/client.py, line 189, in _v2_auth service_catalog.ServiceCatalog(body) File /usr/lib/python2.7/site-packages/novaclient/service_catalog.py, line 90, in __init__ super(ServiceCatalog, self).__init__(resource) File /usr/lib/python2.7/site-packages/novaclient/service_catalog.py, line 45, in __init__ attribute = [res(x) for x in val] File /usr/lib/python2.7/site-packages/novaclient/service_catalog.py, line 41, in __init__ for res_key, res_value in value.items(): AttributeError: 'unicode' object has no attribute 'items' I have the same problem, I've tried to fix it but it's a little difficult understand the logic behind the management of the data structure. having a structure like the linked one it happens a kinky comparison: 'nova' in { 'publicURL': u'http://nova.publicinternets.com/v1.1/1234' } and then...it dumps because value is 'http://nova.publicinternets.com/v1.1/1234' ( and so...like a string obj it hasn't an items method ) Is the comparison logically right? isn't it too weak ? This is the link with datastructure : http://paste.openstack.org/show/2442/ Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] novaclient+keystone problem AttributeError: 'unicode' object has no attribute 'items'
Alle mercoledì 14 settembre 2011, Carlo Impagliazzo ha scritto: Alle mercoledì 14 settembre 2011, Roman Sokolkov ha scritto: Hi! I have problem. I use keystone from trunk, python-novaclient 2.6.4 # nova --debug list connect: (127.0.0.1, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 88\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-novaclient\r\n\r\n{passwordCredentials: {username: admin, password: xxx, tenantId: 1234}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json; charset=UTF-8 header: Content-Length: 1236 header: Date: Wed, 14 Sep 2011 13:18:45 GMT Traceback (most recent call last): File /usr/bin/nova, line 9, in module load_entry_point('python-novaclient==2.6.4', 'console_scripts', 'nova')() File /usr/lib/python2.7/site-packages/novaclient/shell.py, line 219, in main OpenStackComputeShell().main(sys.argv[1:]) File /usr/lib/python2.7/site-packages/novaclient/shell.py, line 176, in main self.cs.authenticate() File /usr/lib/python2.7/site-packages/novaclient/v1_0/client.py, line 57, in authenticate self.client.authenticate() File /usr/lib/python2.7/site-packages/novaclient/client.py, line 144, in authenticate auth_url = self._v2_auth(auth_url) File /usr/lib/python2.7/site-packages/novaclient/client.py, line 189, in _v2_auth service_catalog.ServiceCatalog(body) File /usr/lib/python2.7/site-packages/novaclient/service_catalog.py, line 90, in __init__ super(ServiceCatalog, self).__init__(resource) File /usr/lib/python2.7/site-packages/novaclient/service_catalog.py, line 45, in __init__ attribute = [res(x) for x in val] File /usr/lib/python2.7/site-packages/novaclient/service_catalog.py, line 41, in __init__ for res_key, res_value in value.items(): AttributeError: 'unicode' object has no attribute 'items' I have the same problem, I've tried to fix it but it's a little difficult understand the logic behind the management of the data structure. having a structure like the linked one it happens a kinky comparison: 'nova' in { 'publicURL': u'http://nova.publicinternets.com/v1.1/1234' } and then...it dumps because value is 'http://nova.publicinternets.com/v1.1/1234' ( and so...like a string obj it hasn't an items method ) Is the comparison logically right? isn't it too weak ? This is the link with datastructure : http://paste.openstack.org/show/2442/ Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp the patch suggested by Sandy works like a charm, it remains the question about the strange comparison :-/ Now I have another problem, using a python script like this: NOVA_PROJECT_ID=1234 NOVA_USERNAME=joeuser NOVA_URL='http://192.168.0.100:5000/v2.0/' NOVA_API_KEY='fdf50e55-8f02-4aac-ac02-0adcb088325d' from novaclient.v1_1 import client nt = client.Client(NOVA_USERNAME, 'secrete', NOVA_PROJECT_ID, NOVA_URL) with this statement I obtain: nt.images.list() Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.6/site-packages/python_novaclient-2.6.4-py2.6.egg/novaclient/v1_1/images.py, line 45, in list return self._list(/images/detail, images) File /usr/lib/python2.6/site-packages/python_novaclient-2.6.4-py2.6.egg/novaclient/base.py, line 66, in _list resp, body = self.api.client.get(url) File /usr/lib/python2.6/site-packages/python_novaclient-2.6.4-py2.6.egg/novaclient/client.py, line 126, in get return self._cs_request(url, 'GET', **kwargs) File /usr/lib/python2.6/site-packages/python_novaclient-2.6.4-py2.6.egg/novaclient/client.py, line 113, in _cs_request **kwargs) File /usr/lib/python2.6/site-packages/python_novaclient-2.6.4-py2.6.egg/novaclient/client.py, line 96, in request raise exceptions.from_response(resp, body) novaclient.exceptions.BadRequest: n/a (HTTP 400 Any suggestions? Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Integrating new Dashboard with Cactus Nova setup
Alle martedì 13 settembre 2011, Rasika Karunathilaka ha scritto: Hi Team, I have successfully configured Openstack Nova Cactus release on Ubuntu 11.04 and it is working fine on my two node cluster. However I would like to integrate latest dashboard into Cactus nova deployment and get rich features of the new dashboard. I have already downloaded source of keystone and dashboard and configured them so that I could login to dashboard. However my existing nova instance is not correctly associated with new dashboard. Therefore all the link inside my new dashboard display error messages as Unable to get usage info:invalid service catalog service: nova Unable to retreive image infor from glance: Invalid service catalog service: glance (HTTP 404) Could you please direct me towards documentation to correct the above? or Highly appreciate your help to resolve this. Cheers! Rasika Karunathilaka Hi I'm not the maintainer of my answer could not be considered *official*. I think you couldn't do this, because since the Cactus release a lot of things were improved, inserted, renamed, featured, so you risk to spend a lot of time debugging and patching incompatible versions. Next nova release is very close so...it could be worthable to wait this major milestone and try the latest dashboard on it. just my 2 cents :) Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] VNC and dashboard
Hi guys I'm trying to to use vnc but connection hangs ( or ... never starts ) I've readed a lot of doc but nothing helped, I see there is an open ( and expired ) issue that matches exactly the problem https://answers.launchpad.net/nova/+question/161700 Logs seem allright, nothing strange in there. Any suggestions ? Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Dashboard newbie question
Alle venerdì 05 agosto 2011, Thierry Carrez ha scritto: Devin Carlen wrote: Dashboard is currently in pretty good shape but the latest nova code in trunk has a few issues. I recommend using the Diablo-3 milestone release of Nova. You should have better luck with that. Do we have a bug number for those few issues that Nova trunk has that prevent Dashboard from working ? I want to make sure they don't slip below the radar... Yesterday I filed this : https://bugs.launchpad.net/nova/+bug/820972 I guess it's the same experienced by Devin Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Nova/Keystone integration and /usr/bin/nova
Alle martedì 02 agosto 2011, Andrey Brindeyev ha scritto: Hi all! Is /usr/bin/nova supposed to work when you enable Keystone integration in Nova? Me got following: # nova list 'x-server-management-url' # nova show 1 'x-server-management-url' strace output: recvfrom(3, 305 Use Proxy\n\nThe resource must..., 136, 0, NULL, NULL) = 136 Andrey Brindeyev Grid Dynamics, Development Manager abrinde...@griddynamics.com Hi all I've experienced the same problem, I've opened an issue in python novaclient for this thing: https://github.com/rackspace/python-novaclient/issues/35 when novaclient library tries to call something in the API server keystone give response to redirect the connection to perform authentication. This is the right behaviour ( from keystone side ) but python library ( client side ) is yet unable to understand so we have this crash. Carlo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp