[Openstack] Volume types
Hello. I've been playing around with OpenStack, when I noticed a section in the Dashboard where you can create/delete volume types. The problem is, I didn't understand their purpose, as when you create a new type, you only specify its name. Can anyone tell me what are volume types used for? Thanks in advance -- My best regards, Daniel Oliveira. ___ 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] Can't access Dashboard
Hello. Anyone? 2012/11/7 Daniel Oliveira dvalbr...@gmail.com My bad. This is the tutorialhttp://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolinI talked about. 2012/11/7 Daniel Oliveira dvalbr...@gmail.com Hello, I've been following this tutorial to install openstack on a machine running Ubuntu Server 12.04, and on the step regarding installation of Horizon, well, there must be something wrong either with the tutorial or with the configuration files on my machine. The point is, whenever I try to access the GUI via browser, I get a 404, and I have no clue as to where to look for the error. Thanks in advance. P.S.: I would like to say a special thanks to everybody on this community. You have been helping me A LOT. I've learned much from you people. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. ___ 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] Can't access Dashboard
My bad. This is the tutorialhttp://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolinI talked about. 2012/11/7 Daniel Oliveira dvalbr...@gmail.com Hello, I've been following this tutorial to install openstack on a machine running Ubuntu Server 12.04, and on the step regarding installation of Horizon, well, there must be something wrong either with the tutorial or with the configuration files on my machine. The point is, whenever I try to access the GUI via browser, I get a 404, and I have no clue as to where to look for the error. Thanks in advance. P.S.: I would like to say a special thanks to everybody on this community. You have been helping me A LOT. I've learned much from you people. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. ___ 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] nova-volumes doesn't exist
Well, the title pretty much says it all. My nova-volume module doesn't start due to the absence of the nova-volumes volume group. So I've been searching for a way to solve that, and from what I've understood, the only way I'd be able to create the group is by creating another partition on my hard drive (sorry if I didn't get it right). I've also tried adding a volume_group=my_volume_group_name line to /etc/nova/nova.conf, to no avail. Can someone help me? Thanks in advance. -- My best regards, Daniel Oliveira. ___ 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] VM connectivity
So, can anyone help me? 2012/10/16 Daniel Oliveira dvalbr...@gmail.com When viewing the console-log of a VM, I noticed the following: Starting network... udhcpc (v1.18.5) started Sending discover... Sending discover... Sending discover... No lease, failing WARN: /etc/rc3.d/S40-network failed 2012/10/16 Daniel Oliveira dvalbr...@gmail.com Hello. I installed OpenStack via devStack, and I've noticed I am unable to SSH, or even ping, to any VM I launch. I've already added both rules to the default security group (port 22 for SSH, and ICMP rule). I hope someone can help me, thanks in advance. P.S.: -I am not very experienced with all of this, so if you ask me for the output of some command or log, please specify the file path/command; -I had a thread with a similar question on this list, but I deleted it from my email unintentionally. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. ___ 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] VM connectivity
Hello. I installed OpenStack via devStack, and I've noticed I am unable to SSH, or even ping, to any VM I launch. I've already added both rules to the default security group (port 22 for SSH, and ICMP rule). I hope someone can help me, thanks in advance. P.S.: -I am not very experienced with all of this, so if you ask me for the output of some command or log, please specify the file path/command; -I had a thread with a similar question on this list, but I deleted it from my email unintentionally. -- My best regards, Daniel Oliveira. ___ 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] VM connectivity
When viewing the console-log of a VM, I noticed the following: Starting network... udhcpc (v1.18.5) started Sending discover... Sending discover... Sending discover... No lease, failing WARN: /etc/rc3.d/S40-network failed 2012/10/16 Daniel Oliveira dvalbr...@gmail.com Hello. I installed OpenStack via devStack, and I've noticed I am unable to SSH, or even ping, to any VM I launch. I've already added both rules to the default security group (port 22 for SSH, and ICMP rule). I hope someone can help me, thanks in advance. P.S.: -I am not very experienced with all of this, so if you ask me for the output of some command or log, please specify the file path/command; -I had a thread with a similar question on this list, but I deleted it from my email unintentionally. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. ___ 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] Cannot ping nor SSH to VM
Hello. I've successfully installed openstack on a machine running Ubuntu Server 12.04 this morning. I had a problem, though. I cannot ping/SSH to any VM I create, and I've already entered secgroup-add-rule commands for both, so I think it comes down to network configuration. Can anyone help me? Thanks in advance. -- My best regards, Daniel Oliveira. ___ 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] Cannot ping nor SSH to VM
Nevermind. I had to reboot the machine, now there are no services running anymore. I can't figure out anything, I'm starting to feel so damn helpless... 2012/10/10 Dave Pigott dave.pig...@linaro.org Have you set multi_hopst? This was my problem when I encountered it. You also have to do a db-sync afterwards. Dave On 10 Oct 2012, at 14:37, Daniel Oliveira dvalbr...@gmail.com wrote: Hello. I've successfully installed openstack on a machine running Ubuntu Server 12.04 this morning. I had a problem, though. I cannot ping/SSH to any VM I create, and I've already entered secgroup-add-rule commands for both, so I think it comes down to network configuration. Can anyone help me? Thanks in advance. -- My best regards, Daniel Oliveira. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- My best regards, Daniel Oliveira. ___ 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 errors
Hello... I'm sorry, does anybody know what's causing the problem? 2012/10/8 Daniel Oliveira dvalbr...@gmail.com Oh lol what was I thinking. The DEBUG message isn't exactly the same, it's the following: # nova-manage network create private --multi-host=T --fixed_range_v4= 192.168.0.0/24 \ --bridge_interface=br100 --num_networks=1 --network_size=256 2012-10-08 11:09:33 DEBUG nova.utils [req-780639b1-695c-42d8-af9a-1560185af834 None None] backend module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc' from (pid=3857) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 2012/10/8 Daniel Oliveira dvalbr...@gmail.com Hello again, I'm sorry for asking for help so much. Well, after I managed to sucessfully install Glance (thanks to your help), I went to the next steps in the installation tutorial, which means installing nova components. Everything apparently went fine until I was asked to populate the database: # nova-manage db sync 2012-10-08 11:05:35 DEBUG nova.utils [-] backend module 'nova.db.sqlalchemy.migration' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc' from (pid=3574) __get_backend /usr/lib/pýthon2.7/dist-packages/nova/utils.py:658 2012-10-08 11:06:28 WARNING nova.utils [-] /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:639: SADeprecationWarning: The 'listeners' argument to Pool (and create_engine()) is deprecated. Use event.listen(). Pool.__init__(self, creator, **kw) 2012-10-08 11:06:28 WARNING nova.utils [-] /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:145: SADeprecationWarning: Pool.add-listener is deprecated. Use event.listen self.add_listener(l) 2012-10-08 11:06:28 AUDIT nova.db.sqlalchemy.fix_dns_domains [-] Applying database fix for Essex dns_domains table. I'm asking for help because supposedly there shouldn't be any output to the db sync command. Also, if I move on on the tutorial, and do the command to create the network for the VMs, I get the same DEBUG message I get on the previous command. Thanks in advance. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. ___ 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 errors
Oh lol what was I thinking. The DEBUG message isn't exactly the same, it's the following: # nova-manage network create private --multi-host=T --fixed_range_v4= 192.168.0.0/24 \ --bridge_interface=br100 --num_networks=1 --network_size=256 2012-10-08 11:09:33 DEBUG nova.utils [req-780639b1-695c-42d8-af9a-1560185af834 None None] backend module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc' from (pid=3857) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 2012/10/8 Daniel Oliveira dvalbr...@gmail.com Hello again, I'm sorry for asking for help so much. Well, after I managed to sucessfully install Glance (thanks to your help), I went to the next steps in the installation tutorial, which means installing nova components. Everything apparently went fine until I was asked to populate the database: # nova-manage db sync 2012-10-08 11:05:35 DEBUG nova.utils [-] backend module 'nova.db.sqlalchemy.migration' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc' from (pid=3574) __get_backend /usr/lib/pýthon2.7/dist-packages/nova/utils.py:658 2012-10-08 11:06:28 WARNING nova.utils [-] /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:639: SADeprecationWarning: The 'listeners' argument to Pool (and create_engine()) is deprecated. Use event.listen(). Pool.__init__(self, creator, **kw) 2012-10-08 11:06:28 WARNING nova.utils [-] /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:145: SADeprecationWarning: Pool.add-listener is deprecated. Use event.listen self.add_listener(l) 2012-10-08 11:06:28 AUDIT nova.db.sqlalchemy.fix_dns_domains [-] Applying database fix for Essex dns_domains table. I'm asking for help because supposedly there shouldn't be any output to the db sync command. Also, if I move on on the tutorial, and do the command to create the network for the VMs, I get the same DEBUG message I get on the previous command. Thanks in advance. -- My best regards, Daniel Oliveira. -- My best regards, Daniel Oliveira. ___ 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] Just a newbie getting some error messages
My glance-api-paste.ini already had the credentials when I posted the problem. Also, my python-glance package is Essex, just like the other openstack packages. After giving *glance -d index* as input, I noticed something that's pretty much obvious: The error comes from the response to the attempt at authenticating the user. I'm gonna double-check the credentials in the config files, then gonna report here. 2012/10/4 Jon Thomas jtho...@redhat.com On Thu, 2012-10-04 at 11:41 -0500, Ahmed Al-Mehdi wrote: Hi Janis, Just fyi, in the Folsom release the lines with the %…% in glance-api.conf and glance-api-paste.ini are not present. Document instructs user to add the three relevant lines to [filter.authtoken] section. It looked to me that there were some config file changes in folsom. glance index works fine for me and I have in glance-api-paste.ini [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory delay_auth_decision = true admin_tenant_name = service admin_user = glance admin_password = servicepass and in glance-api.conf there is no [filter:authtoken]. However there is [keystone_authtoken], but it's unchanged [keystone_authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% Another possiblity for the 500 error might be that the python-glanceclient package is essex, not folsom. I had a 500 error with nova that was due to the python-novaclient package being essex, while nova packages were folsom. Regards, Ahmed. From: J?nis ?e??eris janis.genge...@gmail.com Date: Thursday, October 4, 2012 7:24 AM To: Daniel Oliveira dvalbr...@gmail.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net Subject: Re: [Openstack] Just a newbie getting some error messages When you have fresh install you will usually have something like this in glance-api.conf [filter:authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% and something similar inside glance-api-paste.ini So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, % SERVICE_TENANT_NAME%, you need to replace them all with real user credentials that have been configured in Keystone. Here you can see sample config files with the sections configured: http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira dvalbr...@gmail.com wrote: Hello Janis, I'm not sure if I understood what I should replace. Do you mean replacing, for example: the line admin_user = glance in the [filter:authtoken] section for the line admin_user = %glance? and so on for the other credentials? 2012/10/4 J?nis ?e??eris janis.genge...@gmail.com Hi Daniel, Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need to replace the strings with percent signs with correct auth credentials. To get more precise output use, 'glance -d index', that will show additional debug information. On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira dvalbr...@gmail.com wrote: Hello, I've been trying to install OpenStack on a server by following the manual installation tutorial on openstack.org for Ubuntu Server 12.04 (and that's the OS I'm using, obviously). But when it comes to test whether Glance was installed successfully ( http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html), I get the following error message: Failed to show index. Got error: Unexpected responde: 500 The same happens when I try to do glance index, which I guess should produce no output instead. I really need some help on this, since I'm not that experient with linux. Sorry for any grammar errors, english is not my native language ^_^. Thanks in advance, -- My best regards, Daniel Oliveira
Re: [Openstack] Just a newbie getting some error messages
When I try to glance index, I get the following entry in my /var/log/keystone/keystone.log: (root): 2012-10-05 10:21:24, 300 ERRPR u'tenand_id' Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/keystone/common/wsgi.py, line 184, in __call__ result = method(context, **params) File /usr/lib/python2.7/dist-packages/keystone/service.py, line 301, in authenticate metadata=metadata_ref) File /usr/lib/python2.7/dist-packages/keystone/common/manager.py, line 48, in _wrapper return f(*args, **kw) File /usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py, line 169, in get_catalog catalog[region][srv_type]['internalURL'] = internal_url % d KeyError: u'tenand_id' Any idea on what might be causing this? 2012/10/5 Daniel Oliveira dvalbr...@gmail.com My glance-api-paste.ini already had the credentials when I posted the problem. Also, my python-glance package is Essex, just like the other openstack packages. After giving *glance -d index* as input, I noticed something that's pretty much obvious: The error comes from the response to the attempt at authenticating the user. I'm gonna double-check the credentials in the config files, then gonna report here. 2012/10/4 Jon Thomas jtho...@redhat.com On Thu, 2012-10-04 at 11:41 -0500, Ahmed Al-Mehdi wrote: Hi Janis, Just fyi, in the Folsom release the lines with the %…% in glance-api.conf and glance-api-paste.ini are not present. Document instructs user to add the three relevant lines to [filter.authtoken] section. It looked to me that there were some config file changes in folsom. glance index works fine for me and I have in glance-api-paste.ini [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory delay_auth_decision = true admin_tenant_name = service admin_user = glance admin_password = servicepass and in glance-api.conf there is no [filter:authtoken]. However there is [keystone_authtoken], but it's unchanged [keystone_authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% Another possiblity for the 500 error might be that the python-glanceclient package is essex, not folsom. I had a 500 error with nova that was due to the python-novaclient package being essex, while nova packages were folsom. Regards, Ahmed. From: J?nis ?e??eris janis.genge...@gmail.com Date: Thursday, October 4, 2012 7:24 AM To: Daniel Oliveira dvalbr...@gmail.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net Subject: Re: [Openstack] Just a newbie getting some error messages When you have fresh install you will usually have something like this in glance-api.conf [filter:authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% and something similar inside glance-api-paste.ini So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, % SERVICE_TENANT_NAME%, you need to replace them all with real user credentials that have been configured in Keystone. Here you can see sample config files with the sections configured: http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira dvalbr...@gmail.com wrote: Hello Janis, I'm not sure if I understood what I should replace. Do you mean replacing, for example: the line admin_user = glance in the [filter:authtoken] section for the line admin_user = %glance? and so on for the other credentials? 2012/10/4 J?nis ?e??eris janis.genge...@gmail.com Hi Daniel, Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need to replace the strings with percent signs with correct auth credentials. To get more precise output use, 'glance -d index', that will show additional debug information. On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira dvalbr...@gmail.com wrote: Hello, I've been trying to install OpenStack on a server by following the manual installation tutorial on openstack.org for Ubuntu Server 12.04 (and that's the OS I'm using, obviously). But when it comes to test whether Glance was installed successfully
Re: [Openstack] Just a newbie getting some error messages
That was it, the 500 error is gone (I can't believe I didn't notice the typo, ffs...). Now I'm getting a 503 Error though. Gonna try to figure something out. 2012/10/5 Asher Newcomer asher...@gmail.com It looks like you have an error in an endpoint internalURL. Do a 'keystone endpoint-list' and make sure that the url stings look good. It appears you've made a typo tenand_id - tenant_id. On Fri, Oct 5, 2012 at 9:36 AM, Daniel Oliveira dvalbr...@gmail.comwrote: When I try to glance index, I get the following entry in my /var/log/keystone/keystone.log: (root): 2012-10-05 10:21:24, 300 ERRPR u'tenand_id' Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/keystone/common/wsgi.py, line 184, in __call__ result = method(context, **params) File /usr/lib/python2.7/dist-packages/keystone/service.py, line 301, in authenticate metadata=metadata_ref) File /usr/lib/python2.7/dist-packages/keystone/common/manager.py, line 48, in _wrapper return f(*args, **kw) File /usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py, line 169, in get_catalog catalog[region][srv_type]['internalURL'] = internal_url % d KeyError: u'tenand_id' Any idea on what might be causing this? 2012/10/5 Daniel Oliveira dvalbr...@gmail.com My glance-api-paste.ini already had the credentials when I posted the problem. Also, my python-glance package is Essex, just like the other openstack packages. After giving *glance -d index* as input, I noticed something that's pretty much obvious: The error comes from the response to the attempt at authenticating the user. I'm gonna double-check the credentials in the config files, then gonna report here. 2012/10/4 Jon Thomas jtho...@redhat.com On Thu, 2012-10-04 at 11:41 -0500, Ahmed Al-Mehdi wrote: Hi Janis, Just fyi, in the Folsom release the lines with the %…% in glance-api.conf and glance-api-paste.ini are not present. Document instructs user to add the three relevant lines to [filter.authtoken] section. It looked to me that there were some config file changes in folsom. glance index works fine for me and I have in glance-api-paste.ini [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory delay_auth_decision = true admin_tenant_name = service admin_user = glance admin_password = servicepass and in glance-api.conf there is no [filter:authtoken]. However there is [keystone_authtoken], but it's unchanged [keystone_authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% Another possiblity for the 500 error might be that the python-glanceclient package is essex, not folsom. I had a 500 error with nova that was due to the python-novaclient package being essex, while nova packages were folsom. Regards, Ahmed. From: J?nis ?e??eris janis.genge...@gmail.com Date: Thursday, October 4, 2012 7:24 AM To: Daniel Oliveira dvalbr...@gmail.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net Subject: Re: [Openstack] Just a newbie getting some error messages When you have fresh install you will usually have something like this in glance-api.conf [filter:authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% and something similar inside glance-api-paste.ini So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, % SERVICE_TENANT_NAME%, you need to replace them all with real user credentials that have been configured in Keystone. Here you can see sample config files with the sections configured: http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira dvalbr...@gmail.com wrote: Hello Janis, I'm not sure if I understood what I should replace. Do you mean replacing, for example: the line admin_user = glance in the [filter:authtoken] section for the line admin_user = %glance? and so on for the other credentials? 2012/10/4 J?nis ?e??eris janis.genge...@gmail.com Hi Daniel, Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need to replace the strings with percent signs with correct auth credentials. To get more precise output use, 'glance -d index', that will show additional debug information. On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira dvalbr
Re: [Openstack] Just a newbie getting some error messages
Googled my way out of it. this linkhttp://forums.openstack.org/viewtopic.php?f=13t=1063solved the problem, more precisely Sanscard's post. Thanks everyone who helped me through this, I hope someday I can be useful as well! :) 2012/10/5 Daniel Oliveira dvalbr...@gmail.com That was it, the 500 error is gone (I can't believe I didn't notice the typo, ffs...). Now I'm getting a 503 Error though. Gonna try to figure something out. 2012/10/5 Asher Newcomer asher...@gmail.com It looks like you have an error in an endpoint internalURL. Do a 'keystone endpoint-list' and make sure that the url stings look good. It appears you've made a typo tenand_id - tenant_id. On Fri, Oct 5, 2012 at 9:36 AM, Daniel Oliveira dvalbr...@gmail.comwrote: When I try to glance index, I get the following entry in my /var/log/keystone/keystone.log: (root): 2012-10-05 10:21:24, 300 ERRPR u'tenand_id' Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/keystone/common/wsgi.py, line 184, in __call__ result = method(context, **params) File /usr/lib/python2.7/dist-packages/keystone/service.py, line 301, in authenticate metadata=metadata_ref) File /usr/lib/python2.7/dist-packages/keystone/common/manager.py, line 48, in _wrapper return f(*args, **kw) File /usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py, line 169, in get_catalog catalog[region][srv_type]['internalURL'] = internal_url % d KeyError: u'tenand_id' Any idea on what might be causing this? 2012/10/5 Daniel Oliveira dvalbr...@gmail.com My glance-api-paste.ini already had the credentials when I posted the problem. Also, my python-glance package is Essex, just like the other openstack packages. After giving *glance -d index* as input, I noticed something that's pretty much obvious: The error comes from the response to the attempt at authenticating the user. I'm gonna double-check the credentials in the config files, then gonna report here. 2012/10/4 Jon Thomas jtho...@redhat.com On Thu, 2012-10-04 at 11:41 -0500, Ahmed Al-Mehdi wrote: Hi Janis, Just fyi, in the Folsom release the lines with the %…% in glance-api.conf and glance-api-paste.ini are not present. Document instructs user to add the three relevant lines to [filter.authtoken] section. It looked to me that there were some config file changes in folsom. glance index works fine for me and I have in glance-api-paste.ini [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory delay_auth_decision = true admin_tenant_name = service admin_user = glance admin_password = servicepass and in glance-api.conf there is no [filter:authtoken]. However there is [keystone_authtoken], but it's unchanged [keystone_authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% Another possiblity for the 500 error might be that the python-glanceclient package is essex, not folsom. I had a 500 error with nova that was due to the python-novaclient package being essex, while nova packages were folsom. Regards, Ahmed. From: J?nis ?e??eris janis.genge...@gmail.com Date: Thursday, October 4, 2012 7:24 AM To: Daniel Oliveira dvalbr...@gmail.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net Subject: Re: [Openstack] Just a newbie getting some error messages When you have fresh install you will usually have something like this in glance-api.conf [filter:authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = %SERVICE_TENANT_NAME% admin_user = %SERVICE_USER% admin_password = %SERVICE_PASSWORD% and something similar inside glance-api-paste.ini So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, % SERVICE_TENANT_NAME%, you need to replace them all with real user credentials that have been configured in Keystone. Here you can see sample config files with the sections configured: http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira dvalbr...@gmail.com wrote: Hello Janis, I'm not sure if I understood what I should replace. Do you mean replacing, for example: the line admin_user = glance in the [filter:authtoken] section for the line admin_user = %glance? and so on for the other credentials? 2012/10/4 J?nis ?e??eris janis.genge...@gmail.com Hi Daniel, Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need to replace the strings
[Openstack] Just a newbie getting some error messages
Hello, I've been trying to install OpenStack on a server by following the manual installation tutorial on openstack.org for Ubuntu Server 12.04 (and that's the OS I'm using, obviously). But when it comes to test whether Glance was installed successfully ( http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html), I get the following error message: *Failed to show index. Got error:* *Unexpected responde: 500* * * The same happens when I try to do *glance index*, which I guess should produce no output instead. I really need some help on this, since I'm not that experient with linux. Sorry for any grammar errors, english is not my native language ^_^. Thanks in advance, -- My best regards, Daniel Oliveira. ___ 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] Just a newbie getting some error messages
Hello Janis, I'm not sure if I understood what I should replace. Do you mean replacing, for example: the line *admin_user = glance* in the [filter:authtoken] section for the line *admin_user = %glance*? and so on for the other credentials? 2012/10/4 Jānis Ģeņģeris janis.genge...@gmail.com Hi Daniel, Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need to replace the strings with percent signs with correct auth credentials. To get more precise output use, 'glance -d index', that will show additional debug information. On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira dvalbr...@gmail.comwrote: Hello, I've been trying to install OpenStack on a server by following the manual installation tutorial on openstack.org for Ubuntu Server 12.04 (and that's the OS I'm using, obviously). But when it comes to test whether Glance was installed successfully ( http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html), I get the following error message: *Failed to show index. Got error:* *Unexpected responde: 500* * * The same happens when I try to do *glance index*, which I guess should produce no output instead. I really need some help on this, since I'm not that experient with linux. Sorry for any grammar errors, english is not my native language ^_^. Thanks in advance, -- My best regards, Daniel Oliveira. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- --janis -- My best regards, Daniel Oliveira. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp