Re: [Openstack] Consume AMQP Notifications with no Method
Hi - Can any one help me on this ... On Tue, Jul 16, 2013 at 8:56 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- In openstack nova or Quantum I to get the Notification messages from the notifications.info queue which have no Method in the json message. When I try out, I get this warning from AMQP. WARNING:quantum.openstack.common.rpc.amqp:no method for message: {u'priority': u'INFO', u'event_type': u'network.create.start', u'timestamp': u'2003-01-27 05:09:48.853740', u'payload': {u'network': {u'name': u'local', u'admin_state_up': True}}, u'_unique_id': u'09876f9e109e4d9385dab2138cacd46b', u'publisher_id': u'network.OpenstackGrizzly', u'message_id': u'10c68efc-93b8-477b-9e94-4f4a06877da0'} Kindly help me on understand the same... thanking you -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Consume AMQP Notifications with no Method
Hi Stackers- In openstack nova or Quantum I to get the Notification messages from the notifications.info queue which have no Method in the json message. When I try out, I get this warning from AMQP. WARNING:quantum.openstack.common.rpc.amqp:no method for message: {u'priority': u'INFO', u'event_type': u'network.create.start', u'timestamp': u'2003-01-27 05:09:48.853740', u'payload': {u'network': {u'name': u'local', u'admin_state_up': True}}, u'_unique_id': u'09876f9e109e4d9385dab2138cacd46b', u'publisher_id': u'network.OpenstackGrizzly', u'message_id': u'10c68efc-93b8-477b-9e94-4f4a06877da0'} Kindly help me on understand the same... thanking you -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Installing openstack on Mac PC
Go with Ubuntu 12.04 initially... On Tue, Jun 18, 2013 at 3:56 PM, ehiwere.matt...@ieee.org omog...@gmail.com wrote: I am kind of new to open-stack. Is it possible to start practicing on a Mac PC. What is the best way of getting good grip of open stack. /Omo ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Compute Errors
return self._execute_and_instances(context) 2013-05-23 14:37:29 3124 TRACE nova File /usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-ppc.egg/sqlalchemy/orm/query.py, line 2242, in _execute_and_instances 2013-05-23 14:37:29 3124 TRACE nova result = conn.execute(querycontext.statement, self._params) 2013-05-23 14:37:29 3124 TRACE nova File /usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-ppc.egg/sqlalchemy/engine/base.py, line 1449, in execute 2013-05-23 14:37:29 3124 TRACE nova params) 2013-05-23 14:37:29 3124 TRACE nova File /usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-ppc.egg/sqlalchemy/engine/base.py, line 1584, in _execute_clauseelement 2013-05-23 14:37:29 3124 TRACE nova compiled_sql, distilled_params 2013-05-23 14:37:29 3124 TRACE nova File /usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-ppc.egg/sqlalchemy/engine/base.py, line 1698, in _execute_context 2013-05-23 14:37:29 3124 TRACE nova context) 2013-05-23 14:37:29 3124 TRACE nova File /usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-ppc.egg/sqlalchemy/engine/base.py, line 1850, in _handle_dbapi_exception 2013-05-23 14:37:29 3124 TRACE nova None, sys.exc_info()[2] 2013-05-23 14:37:29 3124 TRACE nova OperationalError: (OperationalError) (1054, Unknown column 'services.availability_zone' in 'field list') 'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.`binary` AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone \nFROM services \nWHERE services.deleted = %s AND services.host = %s AND services.`binary` = %s \n LIMIT %s' (0, 'ComputeNode-1', 'nova-compute', 1) 2013-05-23 14:37:29 3124 TRACE nova With respect to the above issue, I feel there exists some access to an unknown column in the DB tables. The SERVICES table of the nova DB is as below mysql desc services; +--+--+--+-+-++ | Field| Type | Null | Key | Default | Extra | +--+--+--+-+-++ | created_at | datetime | YES | | NULL|| | updated_at | datetime | YES | | NULL|| | deleted_at | datetime | YES | | NULL|| | id | int(11) | NO | PRI | NULL| auto_increment | | host | varchar(255) | YES | | NULL|| | binary | varchar(255) | YES | | NULL|| | topic| varchar(255) | YES | | NULL|| | report_count | int(11) | NO | | NULL|| | disabled | tinyint(1) | YES | | NULL|| | deleted | int(11) | YES | | NULL|| +--+--+--+-+-++ Kindly help me resolve the issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Compute Errors
Hi Rahul- In that case, I feel the source code from apt-get install and the once got from GIT are different. How to get the code base similar to that of the apt-get install code base from GIT. Any guidelines for the same. thanking you for the help. - Trinath On Thu, May 23, 2013 at 4:32 PM, Rahul Sharma rahulsharma...@gmail.comwrote: Hi Trinath, Latest code is available at https://github.com/openstack/nova.git Have you upgraded the setup to Grizzly? To add the grizzly repositories, you need to do the following:- apt-get install ubuntu-cloud-keyring python-software-properties software-properties-common python-keyring echo deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main /etc/apt/sources.list.d/grizzly.list Then you need to do update and upgrade. Thanks and Regards Rahul Sharma On Thu, May 23, 2013 at 3:47 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Rahul- Can you kindly point me to the place, to download the latest Nova code base for Compute Node Installation. - Trinath On Thu, May 23, 2013 at 3:45 PM, Rahul Sharma rahulsharma...@gmail.comwrote: Hi Trinath, I don't know how you have landed to this situation, mostly would be because of upgrade. What had happened is that in *Nova* databases's * instances* table, column *availability_zones* is not present(was there in earlier releases). You might be having the latest database and old nova-code. Due to this, sqlalchemy is sending commands to fetch values based on availability_zones column but the table in database don't have that column. Due to this, you are hitting the exception. One solution is to manually add the extra column to the database to support the old code. But chances are that there will be more tables in database in which you need to do this procedure again and again. Second solution is to have latest code for the Nova, that will solve the problem. Thanks and Regards Rahul Sharma On Thu, May 23, 2013 at 2:58 PM, Razique Mahroua razique.mahr...@gmail.com wrote: Did you run an upgrade? try maybe : $nova-manage db sync (make a backup first) regards, *Razique Mahroua** - **Nuage Co* razique.mahr...@gmail.com Tel : +33 9 72 37 94 15 Le 23 mai 2013 à 11:19, Trinath Somanchi trinath.soman...@gmail.com a écrit : Hi Stackers- I have installed nova-compute from the source code, with command, python setup.py install. Also, configured the configuration files. When I start the nova-compute service, I get the following issues. 2013-05-23 14:37:27 3124 AUDIT nova.service [-] Starting compute node (version 2013.1-LOCALBRANCH:LOCALREVISION) 2013-05-23 14:37:27 3124 DEBUG nova.virt.libvirt.driver [-] Connecting to libvirt: qemu:///system _get_connection /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/virt/libvirt/driver.py:340 2013-05-23 14:37:28 INFO nova.compute.manager [req-f5cbe8c7-1fba-430d-965d-e6f72cef1ad2 None None] Updating host status 2013-05-23 14:37:28 DEBUG nova.virt.libvirt.driver [req-f5cbe8c7-1fba-430d-965d-e6f72cef1ad2 None None] Updating host stats update_status /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/virt/libvirt/driver.py:3039 2013-05-23 14:37:28 DEBUG nova.virt.libvirt.driver [req-f5cbe8c7-1fba-430d-965d-e6f72cef1ad2 None None] Connecting to libvirt: qemu:///system _get_connection /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/virt/libvirt/driver.py:340 2013-05-23 14:37:28 DEBUG nova.virt.libvirt.driver [req-f5cbe8c7-1fba-430d-965d-e6f72cef1ad2 None None] Updating host stats update_status /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/virt/libvirt/driver.py:3039 2013-05-23 14:37:29 DEBUG nova.manager [req-f5cbe8c7-1fba-430d-965d-e6f72cef1ad2 None None] Notifying Schedulers of capabilities ... publish_service_capabilities /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/manager.py:256 2013-05-23 14:37:29 3124 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous fanout cast... fanout_cast /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/openstack/common/rpc/amqp.py:385 2013-05-23 14:37:29 3124 DEBUG nova.openstack.common.rpc.amqp [-] Pool creating new connection create /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova/openstack/common/rpc/amqp.py:58 2013-05-23 14:37:29 3124 INFO nova.openstack.common.rpc.common [-] Connected to AMQP server on 10.232.91.81:5672 Traceback (most recent call last): File /usr/lib/python2.7/site-packages/eventlet-0.12.1-py2.7.egg/eventlet/hubs/hub.py, line 346, in fire_timers timer() File /usr/lib/python2.7/site-packages/eventlet-0.12.1-py2.7.egg/eventlet/hubs/timer.py, line 56, in __call__ cb(*args, **kw) File /usr/lib/python2.7/site-packages/eventlet-0.12.1-py2.7.egg/eventlet/greenthread.py, line 194, in main result = function(*args, **kwargs) File /usr/lib/python2.7/site-packages/nova-2013.1-py2.7.egg/nova
Re: [Openstack] Grizzly Horizon Import Error
/base.py, line 837, in render_node [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return node.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py, line 147, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self.render_compressed(context, self.kind, self.mode, forced=forced) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py, line 88, in render_compressed [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] cached_offline = self.render_offline(context, forced=forced) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py, line 72, in render_offline [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] 'You may need to run python manage.py compress.' % key) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] OfflineGenerationError: You have offline compression enabled but key 3ddd89d27fa2e162d4efd30c103a072b is missing from offline manifest. You may need to run python manage.py compress. Kindly help me resolve the issue. - Trinath On Tue, Apr 30, 2013 at 11:45 AM, Cheng, Lin Hua (Cloud Services) lin-hua.ch...@hp.com wrote: This is the same issue reported in: https://bugs.launchpad.net/horizon/+bug/1125622 ** ** There is also a discussion in this bug with workarounds: https://bugs.launchpad.net/horizon/+bug/1116467 ** ** Hope this helps. ** ** -Lin ** ** *From:* Openstack [mailto:openstack-bounces+lin-hua.cheng= hp@lists.launchpad.net] *On Behalf Of *Trinath Somanchi *Sent:* Monday, April 29, 2013 11:03 PM *To:* openstack@lists.launchpad.net *Subject:* [Openstack] Grizzly Horizon Import Error ** ** Hi Stackers- ** ** I have installed Openstack Grizzly with all the components but I get this Horizon Error when I try to access the Horizon GUI ** ** [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] mod_wsgi (pid=2785): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] Traceback (most recent call last): [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py, line 241, in __call__ [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] response = self.get_response(request) [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/core/handlers/base.py, line 179, in get_response [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/core/handlers/base.py, line 224, in handle_uncaught_exception [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] if resolver.urlconf_module is None: [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/core/urlresolvers.py, line 323, in urlconf_module [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] self._urlconf_module = import_module(self.urlconf_name) [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/utils/importlib.py, line 35, in import_module [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] __import__(name) [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py, line 36, in module [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] url(r'', include(horizon.urls)) [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py, line 25, in include [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module) [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/utils/functional.py, line 184, in inner [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] self._setup() [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/django/utils/functional.py, line 248, in _setup [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] self._wrapped = self._setupfunc() [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/lib/python2.7/dist-packages/horizon/base.py, line 715, in url_patterns [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] return self._urls()[0
[Openstack] Grizzly Horizon Import Error
/../../openstack_dashboard/dashboards/project/access_and_security/api_access/views.py, line 30, in module [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] from openstack_dashboard import api [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py, line 36, in module [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] from openstack_dashboard.api import base [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] ImportError: cannot import name base [Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File does not exist: /var/www/favicon.ico Kindly, help me resolve this issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] PluginAwareExtensionManager
Hi Stackers- I'm getting this error when I start the quantum service for certain extensions. 'PluginAware Extension Manager' object has no attribute 'plugins' Please help me in fixing this issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] keystone-manage error
Hi Stackers- I get this error, when I run ' keystone-manage' command. root@NewFolsomController:~# keystone-manage --help Traceback (most recent call last): File /usr/bin/keystone-manage, line 17, in module from keystone import cli ImportError: cannot import name cli Kindly help me resolve the issue. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] LBaas :: Service Agent :: Drivers
Hi Dan- Thanks a lot for the update. As I understand, let me summarize the LBaas Driver and Agent in simple terms. [1] Service Agent is an generic implementation supporting many drivers. [2] Drivers form the applications of the Services. like, HAPROXY for Loadbalancer Service. What more functionality can a Service_Plugin-Agent-Driver architecture and deliver? (I think, I'm asking a very basic question). Am I in the right path? kindly guide me understand the same. Thanking you once again... On Tue, Feb 26, 2013 at 11:09 AM, Dan Wendlandt d...@nicira.com wrote: Hi Trinath, This review is no longer the active review for LBaaS within Quantum for Grizzly. Instead, we are going with a simplified approach, here: https://review.openstack.org/#/c/22794/3 dan On Sun, Feb 24, 2013 at 10:17 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- While going through the code base at http://review.openstack.org/#/c/20579/ I have a doubt with respect to the understanding of Drivers Can any one kindly help me understand the Concept of Drivers in the Service Agent functionality. What is the role of Drivers? Where do these drivers run, in Controller or the Compute node ? Thanks in advance, Kindly help me understand the same., -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- ~~~ Dan Wendlandt Nicira, Inc: www.nicira.com twitter: danwendlandt ~~~ -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] LBaas :: Service Agent :: Drivers
Hi Stackers- While going through the code base at http://review.openstack.org/#/c/20579/ I have a doubt with respect to the understanding of Drivers Can any one kindly help me understand the Concept of Drivers in the Service Agent functionality. What is the role of Drivers? Where do these drivers run, in Controller or the Compute node ? Thanks in advance, Kindly help me understand the same., -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Horizon Keystone Endpoint Issue
Also, on quick think to look is the apache error log while you access the horizon. look at the log as, tail -f /var/log/apache/error.log. On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne michael.vandebo...@cetic.be wrote: 192.168.202.103 = public controller iface 192.168.203.103 = private controller iface anyway, I still get the login problem using any of those values Le 20/02/2013 06:59, Kieran Spear a écrit : On 20 February 2013 03:40, Michaël Van de Borne michael.vandebo...@cetic.be wrote: Same problem here. Running Grizzly. Dashboard keeps prompting me for my credentials. Pretty sure dashboard sends wrong tenant name to keystone. Here's the relevant section in /etc/openstack-dashboard/local-settings.py: OPENSTACK_HOST = 192.168.202.103 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin Is that 202 a typo? You used 192.168.203.103 later. Cheers, Kieran michaël Le 13/02/2013 16:13, Razique Mahroua a écrit : Is the dash configured to talk with the Keystone backend? can you run something like $ keystone endoint-list thanks *Razique Mahroua** - **Nuage Co* razique.mahr...@gmail.com Tel : +33 9 72 37 94 15 Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a écrit : I've had this problem before, in my experience it's not a problem with keystone, it's a problem with nova (by the looks of the traceback). I believe it's a bug in Horizon because you'll find a lot of people with this issue if you Google it. I don't have an answer on how to fix it, other than don't fixate on the EndpointNotFound, look to your nova configs for a solution. On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- I have successfully installed folsom in my test setup. But when I browse Horison, with admin/password as credentials, I get this error. [Tue Feb 12 10:03:16 2013 16%202013] [error] unable to retrieve service catalog with token [Tue Feb 12 10:03:16 2013 16%202013] [error] Traceback (most recent call last): [Tue Feb 12 10:03:16 2013 16%202013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132, in _extract_service_catalog [Tue Feb 12 10:03:16 2013 16%202013] [error] endpoint_type='adminURL') [Tue Feb 12 10:03:16 2013 16%202013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line 62, in url_for [Tue Feb 12 10:03:16 2013 16%202013] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Feb 12 10:03:16 2013 16%202013] [error] EndpointNotFound: Endpoint not found. [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP 401)\x1b[0m [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last): [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in summarize [Tue Feb 12 10:03:17 2013] [error] self.usage_list = self.get_usage_list(start, end) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in get_usage_list [Tue Feb 12 10:03:17 2013] [error] return api.usage_list(self.request, start, end) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in usage_list [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in novaclient(request).usage.list(start, end, True)] [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in list [Tue Feb 12 10:03:17 2013] [error] tenant_usages) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list [Tue Feb 12 10:03:17 2013] [error] _resp, body = self.api.client.get(url) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url, 'GET', **kwargs) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in _cs_request [Tue Feb 12 10:03:17 2013] [error] raise ex [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401) It says , I missed some End point Configuration. But then, I have configured it correctly. Can any one guide me resolving this issue. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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
[Openstack] [LBaas] Enabling LBaaS in Folsom Installation
Hi Stackers- Has any one tried on enabling LBaaS in Folsom Installation. Kindly share me the installation/integration of LBaaS into Folsom. I think, there is some Service agent work already into quantum -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Horizon Keystone Endpoint Issue
Hi Stackers- I have successfully installed folsom in my test setup. But when I browse Horison, with admin/password as credentials, I get this error. [Tue Feb 12 10:03:16 2013] [error] unable to retrieve service catalog with token [Tue Feb 12 10:03:16 2013] [error] Traceback (most recent call last): [Tue Feb 12 10:03:16 2013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132, in _extract_service_catalog [Tue Feb 12 10:03:16 2013] [error] endpoint_type='adminURL') [Tue Feb 12 10:03:16 2013] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line 62, in url_for [Tue Feb 12 10:03:16 2013] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Tue Feb 12 10:03:16 2013] [error] EndpointNotFound: Endpoint not found. [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP 401)\x1b[0m [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last): [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in summarize [Tue Feb 12 10:03:17 2013] [error] self.usage_list = self.get_usage_list(start, end) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in get_usage_list [Tue Feb 12 10:03:17 2013] [error] return api.usage_list(self.request, start, end) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in usage_list [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in novaclient(request).usage.list(start, end, True)] [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in list [Tue Feb 12 10:03:17 2013] [error] tenant_usages) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list [Tue Feb 12 10:03:17 2013] [error] _resp, body = self.api.client.get(url) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url, 'GET', **kwargs) [Tue Feb 12 10:03:17 2013] [error] File /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in _cs_request [Tue Feb 12 10:03:17 2013] [error] raise ex [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401) It says , I missed some End point Configuration. But then, I have configured it correctly. Can any one guide me resolving this issue. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Unable to start nova-api
/__init__.py, line 24, in module 2013-02-05 12:29:29 TRACE nova API = nova.utils.import_class(nova.flags.FLAGS.network_api_class) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/nova/utils.py, line 79, in import_class 2013-02-05 12:29:29 TRACE nova raise exception.ClassNotFound(class_name=class_str, exception=exc) 2013-02-05 12:29:29 TRACE nova ClassNotFound: Class API could not be found: No module named api 2013-02-05 12:29:29 TRACE nova -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Unable to start nova-api
Hi- Thanks a lot for the reply. it solved the issue. On Tue, Feb 5, 2013 at 3:47 PM, Unmesh Gurjar unmesh.gur...@gmail.comwrote: Trinath, You probably have a wrong config setting. Please check the value of 'network_api_class' in your nova.conf and confirm that the module with the specified class exists. The default value of this parameter is nova.network.api.API, so you should expect class 'API' in nova/network/api.py of your Nova codebase. Regards, Unmesh. On Tue, Feb 5, 2013 at 3:23 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- When I start the nova-api service, I’m getting this error: Can anyone help me troubleshoot the issue root@NewFolsomController:/etc/nova# nova-api --flagfile=/etc/nova/nova.conf 2013-02-05 12:29:29 DEBUG nova.utils [-] Inner Exception: No module named api from (pid=19874) import_class /usr/lib/python2.7/dist-packages/nova/utils.py:78 2013-02-05 12:29:29 CRITICAL nova [-] Class API could not be found: No module named api 2013-02-05 12:29:29 TRACE nova Traceback (most recent call last): 2013-02-05 12:29:29 TRACE nova File /usr/bin/nova-api, line 51, in module 2013-02-05 12:29:29 TRACE nova servers.append(service.WSGIService(api)) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/nova/service.py, line 326, in __init__ 2013-02-05 12:29:29 TRACE nova self.app = self.loader.load_app(name) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/nova/wsgi.py, line 388, in load_app 2013-02-05 12:29:29 TRACE nova return deploy.loadapp(config:%s % self.config_path, name=name) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp 2013-02-05 12:29:29 TRACE nova return loadobj(APP, uri, name=name, **kw) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 272, in loadobj 2013-02-05 12:29:29 TRACE nova return context.create() 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 710, in create 2013-02-05 12:29:29 TRACE nova return self.object_type.invoke(self) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 144, in invoke 2013-02-05 12:29:29 TRACE nova **context.local_conf) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/util.py, line 56, in fix_call 2013-02-05 12:29:29 TRACE nova val = callable(*args, **kw) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/urlmap.py, line 25, in urlmap_factory 2013-02-05 12:29:29 TRACE nova app = loader.get_app(app_name, global_conf=global_conf) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 350, in get_app 2013-02-05 12:29:29 TRACE nova name=name, global_conf=global_conf).create() 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 710, in create 2013-02-05 12:29:29 TRACE nova return self.object_type.invoke(self) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 144, in invoke 2013-02-05 12:29:29 TRACE nova **context.local_conf) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/util.py, line 56, in fix_call 2013-02-05 12:29:29 TRACE nova val = callable(*args, **kw) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/nova/api/auth.py, line 48, in pipeline_factory 2013-02-05 12:29:29 TRACE nova filters = [loader.get_filter(n) for n in pipeline[:-1]] 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 354, in get_filter 2013-02-05 12:29:29 TRACE nova name=name, global_conf=global_conf).create() 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 366, in filter_context 2013-02-05 12:29:29 TRACE nova FILTER, name=name, global_conf=global_conf) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 458, in get_context 2013-02-05 12:29:29 TRACE nova section) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 517, in _context_from_explicit 2013-02-05 12:29:29 TRACE nova value = import_string(found_expr) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 22, in import_string 2013-02-05 12:29:29 TRACE nova return pkg_resources.EntryPoint.parse(x= + s).load(False) 2013-02-05 12:29:29 TRACE nova File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 1989, in load 2013-02-05 12:29:29 TRACE nova entry = __import__(self.module_name, globals(),globals
[Openstack] [Quantum] Unable to install Quantum DHCP and L3 agents
Hi- When I install Quantum DHCP and L3 agents. I get this error root@NewFolsomController:~# apt-get install quantum-plugin-openvswitch-agent quantum-dhcp-agent quantum-l3-agent Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package quantum-dhcp-agent E: Unable to locate package quantum-l3-agent Kindly help me resolve the issue -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [LBaas] Understang LB
Hi Stackers- While I was understanding the LBaaS API from the web page, http://wiki.openstack.org/Quantum/LBaaS/API_1.0#Pool_Members I was struck at understanding the Pool Members concept in the Document. Kindly help me understand the concept of Pool Members. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [LBaas] Understang LB
Hi Ritesh- Thanks a lot for the reply. As I understand, Some thing like, I need a Webserver, name my-Web (say). So I define, this my-Web as a member of the Pool. with Tenant_id, Port,Pool_id and IP Address (as per the document). Is that, I create a webserver Instance my-Web and then add that to the Pool with all the above said data ? That way I can provide the required credentials to add a Member to the Pool. Can you kindly address the doubt I have.. thanking you. - Trinath On Mon, Jan 28, 2013 at 11:08 AM, Ritesh Nanda riteshnand...@gmail.comwrote: To use lbass in openstack for any service like webserver, you need to create a Pool, in which you define about the instance that will support Load balancing for that particular service. Those instance would be basically the member of that Pool. On Mon, Jan 28, 2013 at 10:59 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- While I was understanding the LBaaS API from the web page, http://wiki.openstack.org/Quantum/LBaaS/API_1.0#Pool_Members I was struck at understanding the Pool Members concept in the Document. Kindly help me understand the concept of Pool Members. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- * With Regards * * Ritesh Nanda * *** * http://www.ericsson.com/ -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] unable to install Keystone using apt-get
Hi stackers- I was struck installing Keystone using apt-get I get this error root@FolsomController:~# root@FolsomController:~# apt-get install keystone Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: openvswitch-switch fakeroot python-quantumclient python-quantum python-mox dkms openvswitch-datapath-dkms quantum-common openvswitch-common Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: keystone 0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded. Need to get 0 B/15.5 kB of archives. After this operation, 127 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package keystone. (Reading database ... 170685 files and directories currently installed.) Unpacking keystone (from .../keystone_2012.1+stable~20120824-a16a0ab9-0ubuntu2.3_all.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up keystone (2012.1+stable~20120824-a16a0ab9-0ubuntu2.3) ... Traceback (most recent call last): File /usr/local/bin/keystone-manage, line 4, in module import pkg_resources File build/bdist.linux-x86_64/egg/pkg_resources.py, line 2807, in module File build/bdist.linux-x86_64/egg/pkg_resources.py, line 594, in resolve def find_plugins(self, pkg_resources.DistributionNotFound: keystone==2013.1 dpkg: error processing keystone (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: keystone E: Sub-process /usr/bin/dpkg returned an error code (1) Please help me troubleshoot this issue. - -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 image upload Keystone error
Hi Stakers- I have resolved the above problem some how re-installing with aptget But now I get the glance with keystone problem. 2013-01-24 16:25:02.794 4775 INFO keystone.middleware.auth_token [-] Starting keystone auth_token middleware 2013-01-24 16:25:02.795 4775 CRITICAL glance [-] invalid literal for int() with base 10: 'true' 2013-01-24 16:25:02.795 4775 TRACE glance Traceback (most recent call last): 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/local/bin/glance-api, line 5, in module 2013-01-24 16:25:02.795 4775 TRACE glance pkg_resources.run_script('glance==0.0.0', 'glance-api') 2013-01-24 16:25:02.795 4775 TRACE glance File build/bdist.linux-x86_64/egg/pkg_resources.py, line 505, in run_script 2013-01-24 16:25:02.795 4775 TRACE glance self.require(requires)[0].run_script(script_name, ns) 2013-01-24 16:25:02.795 4775 TRACE glance File build/bdist.linux-x86_64/egg/pkg_resources.py, line 1245, in run_script 2013-01-24 16:25:02.795 4775 TRACE glance execfile(script_filename, namespace, namespace) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/EGG-INFO/scripts/glance-api, line 60, in module 2013-01-24 16:25:02.795 4775 TRACE glance server.start(config.load_paste_app(), default_port=9292) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/glance/common/config.py, line 193, in load_paste_app 2013-01-24 16:25:02.795 4775 TRACE glance app = deploy.loadapp(config:%s % conf_file, name=app_name) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp 2013-01-24 16:25:02.795 4775 TRACE glance return loadobj(APP, uri, name=name, **kw) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 272, in loadobj 2013-01-24 16:25:02.795 4775 TRACE glance return context.create() 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 710, in create 2013-01-24 16:25:02.795 4775 TRACE glance return self.object_type.invoke(self) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 207, in invoke 2013-01-24 16:25:02.795 4775 TRACE glance app = filter(app) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py, line 524, in auth_filter 2013-01-24 16:25:02.795 4775 TRACE glance return AuthProtocol(app, conf) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py, line 123, in __init__ 2013-01-24 16:25:02.795 4775 TRACE glance self.delay_auth_decision = int(conf.get('delay_auth_decision', 0)) 2013-01-24 16:25:02.795 4775 TRACE glance ValueError: invalid literal for int() with base 10: 'true' Kindly help me troubleshoot the issue On Thu, Jan 24, 2013 at 10:40 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- Thanks for the help in replies. I have installed keystone from the source code rather than the apt-get command, Kindly guide me on how to bring up keystone when installed from the source code. Thanking you all - Trinath On Wed, Jan 23, 2013 at 10:34 PM, Adam Young ayo...@redhat.com wrote: On 01/23/2013 06:34 AM, Trinath Somanchi wrote: Hi Stackers- I have installed glance and Keystone and configured them. Not sure how you installed, but you need to make sure the PKI provisioning is done. You can do it by hand with the keystone_manage command. Make sure you run it as the user that Keystone is going to run as, as it creates the certificates and Keystone (ajnd only Keystone) needs to be able to access those. But When I upload a test image with glance, I got this error in keystone logs (sqlalchemy.engine.base.Engine): 2013-01-23 17:04:57,904 INFO ('106298a47e5a4d129c7b8571e188c51e', 1) (keystone.common.cms): 2013-01-23 17:04:57,990 ERROR Signing error: Error opening signer certificate /etc/keystone/ssl/certs/signing_cert.pem 140702974211744:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/keystone/ssl/certs/signing_cert.pem','r') 140702974211744:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load certificate (root): 2013-01-23 17:04:57,991 ERROR Command 'openssl' returned non-zero exit status 3 Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/wsgi.py, line 215, in __call__ result = method(context, **params) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/token/controllers.py, line 118, in authenticate config.CONF.signing.keyfile) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py, line 140
Re: [Openstack] Glance image upload Keystone error
Hi all - I found this... When I comment the delay_auth_decision = true option in glance-api-paste.ini file, and restart the glance service, I get this error. 2013-01-24 16:29:35.302 7799 ERROR keystone.middleware.auth_token [-] HTTP connection exception: 'NoneType' object has no attribute 'encode' 2013-01-24 16:29:35.303 7799 CRITICAL keystone.middleware.auth_token [-] Unable to obtain admin token: Unable to communicate with keystone When I uncomment the delay_auth_decision = true option in glance-api-paste.ini file, and restart the glance service, I get this error. 2013-01-24 16:38:20.926 7893 INFO keystone.middleware.auth_token [-] Starting keystone auth_token middleware 2013-01-24 16:38:20.928 7893 CRITICAL glance [-] invalid literal for int() with base 10: 'true' 2013-01-24 16:38:20.928 7893 TRACE glance Traceback (most recent call last): 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/local/bin/glance-api, line 5, in module 2013-01-24 16:38:20.928 7893 TRACE glance pkg_resources.run_script('glance==0.0.0', 'glance-api') 2013-01-24 16:38:20.928 7893 TRACE glance File build/bdist.linux-x86_64/egg/pkg_resources.py, line 505, in run_script 2013-01-24 16:38:20.928 7893 TRACE glance self.require(requires)[0].run_script(script_name, ns) 2013-01-24 16:38:20.928 7893 TRACE glance File build/bdist.linux-x86_64/egg/pkg_resources.py, line 1245, in run_script 2013-01-24 16:38:20.928 7893 TRACE glance execfile(script_filename, namespace, namespace) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/EGG-INFO/scripts/glance-api, line 60, in module 2013-01-24 16:38:20.928 7893 TRACE glance server.start(config.load_paste_app(), default_port=9292) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/glance/common/config.py, line 193, in load_paste_app 2013-01-24 16:38:20.928 7893 TRACE glance app = deploy.loadapp(config:%s % conf_file, name=app_name) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp 2013-01-24 16:38:20.928 7893 TRACE glance return loadobj(APP, uri, name=name, **kw) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 272, in loadobj 2013-01-24 16:38:20.928 7893 TRACE glance return context.create() 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 710, in create 2013-01-24 16:38:20.928 7893 TRACE glance return self.object_type.invoke(self) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 207, in invoke 2013-01-24 16:38:20.928 7893 TRACE glance app = filter(app) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py, line 524, in auth_filter 2013-01-24 16:38:20.928 7893 TRACE glance return AuthProtocol(app, conf) 2013-01-24 16:38:20.928 7893 TRACE glance File /usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py, line 123, in __init__ 2013-01-24 16:38:20.928 7893 TRACE glance self.delay_auth_decision = int(conf.get('delay_auth_decision', 0)) 2013-01-24 16:38:20.928 7893 TRACE glance ValueError: invalid literal for int() with base 10: 'true' Can any one help me on resolving this issue. Thanks in advance - Trinath On Thu, Jan 24, 2013 at 4:23 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stakers- I have resolved the above problem some how re-installing with aptget But now I get the glance with keystone problem. 2013-01-24 16:25:02.794 4775 INFO keystone.middleware.auth_token [-] Starting keystone auth_token middleware 2013-01-24 16:25:02.795 4775 CRITICAL glance [-] invalid literal for int() with base 10: 'true' 2013-01-24 16:25:02.795 4775 TRACE glance Traceback (most recent call last): 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/local/bin/glance-api, line 5, in module 2013-01-24 16:25:02.795 4775 TRACE glance pkg_resources.run_script('glance==0.0.0', 'glance-api') 2013-01-24 16:25:02.795 4775 TRACE glance File build/bdist.linux-x86_64/egg/pkg_resources.py, line 505, in run_script 2013-01-24 16:25:02.795 4775 TRACE glance self.require(requires)[0].run_script(script_name, ns) 2013-01-24 16:25:02.795 4775 TRACE glance File build/bdist.linux-x86_64/egg/pkg_resources.py, line 1245, in run_script 2013-01-24 16:25:02.795 4775 TRACE glance execfile(script_filename, namespace, namespace) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7.egg/EGG-INFO/scripts/glance-api, line 60, in module 2013-01-24 16:25:02.795 4775 TRACE glance server.start(config.load_paste_app(), default_port=9292) 2013-01-24 16:25:02.795 4775 TRACE glance File /usr/local/lib/python2.7/dist-packages/glance-0.0.0-py2.7
[Openstack] Openstack Folsom Release
Hi- How to Download the Openstack Folsom Release and setup the openstack environment. I see that, the Code base I have a week back which installed for Folsom release is not there today using the same apt-get. How to get the code base stable one of folsom release -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom Release
True said, I have followed the same, But I get an updated code base compared to a week back installation using the same guide. Also, the glance configuration is changed with respect to the install guide. On Fri, Jan 25, 2013 at 10:26 AM, Balamurugan V G balamuruga...@gmail.comwrote: Follow this guide. https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst Regards, Balu On Fri, Jan 25, 2013 at 10:24 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- How to Download the Openstack Folsom Release and setup the openstack environment. I see that, the Code base I have a week back which installed for Folsom release is not there today using the same apt-get. How to get the code base stable one of folsom release -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 image upload Keystone error
Hi Stackers- I have installed glance and Keystone and configured them. But When I upload a test image with glance, I got this error in keystone logs (sqlalchemy.engine.base.Engine): 2013-01-23 17:04:57,904 INFO ('106298a47e5a4d129c7b8571e188c51e', 1) (keystone.common.cms): 2013-01-23 17:04:57,990 ERROR Signing error: Error opening signer certificate /etc/keystone/ssl/certs/signing_cert.pem 140702974211744:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/keystone/ssl/certs/signing_cert.pem','r') 140702974211744:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load certificate (root): 2013-01-23 17:04:57,991 ERROR Command 'openssl' returned non-zero exit status 3 Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/wsgi.py, line 215, in __call__ result = method(context, **params) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/token/controllers.py, line 118, in authenticate config.CONF.signing.keyfile) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py, line 140, in cms_sign_token output = cms_sign_text(text, signing_cert_file_name, signing_key_file_name) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py, line 135, in cms_sign_text raise subprocess.CalledProcessError(retcode, openssl) CalledProcessError: Command 'openssl' returned non-zero exit status 3 Kindly help me resolve the issue -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 image upload Keystone error
Hi- Thanks for the help in replies. I have installed keystone from the source code rather than the apt-get command, Kindly guide me on how to bring up keystone when installed from the source code. Thanking you all - Trinath On Wed, Jan 23, 2013 at 10:34 PM, Adam Young ayo...@redhat.com wrote: On 01/23/2013 06:34 AM, Trinath Somanchi wrote: Hi Stackers- I have installed glance and Keystone and configured them. Not sure how you installed, but you need to make sure the PKI provisioning is done. You can do it by hand with the keystone_manage command. Make sure you run it as the user that Keystone is going to run as, as it creates the certificates and Keystone (ajnd only Keystone) needs to be able to access those. But When I upload a test image with glance, I got this error in keystone logs (sqlalchemy.engine.base.Engine): 2013-01-23 17:04:57,904 INFO ('106298a47e5a4d129c7b8571e188c51e', 1) (keystone.common.cms): 2013-01-23 17:04:57,990 ERROR Signing error: Error opening signer certificate /etc/keystone/ssl/certs/signing_cert.pem 140702974211744:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/keystone/ssl/certs/signing_cert.pem','r') 140702974211744:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load certificate (root): 2013-01-23 17:04:57,991 ERROR Command 'openssl' returned non-zero exit status 3 Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/wsgi.py, line 215, in __call__ result = method(context, **params) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/token/controllers.py, line 118, in authenticate config.CONF.signing.keyfile) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py, line 140, in cms_sign_token output = cms_sign_text(text, signing_cert_file_name, signing_key_file_name) File /usr/local/lib/python2.7/dist-packages/keystone-2013.1-py2.7.egg/keystone/common/cms.py, line 135, in cms_sign_text raise subprocess.CalledProcessError(retcode, openssl) CalledProcessError: Command 'openssl' returned non-zero exit status 3 Kindly help me resolve the issue -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Multi-Plugin Support for Quantum (Folsom)
Hi Eugene- Thanks for the reply.. I forgot to click reply-all.. now added the mailing list The first doubt was. Like we have agents for core-plugins, how the service-plugin agents differ from these core-plugin agents? One doubt: Will this loadbalance.py be a starting point to write a test service-plugin? Can you comments on this. this might be helpful for any fresh starters who are interested in writing service plugins.. thanks in advance. - Trinath On Wed, Jan 9, 2013 at 2:07 PM, Eugene Nikanorov enikano...@mirantis.comwrote: Trinath, 1. I don't quite understand the question 2. Request routing is usually done with extensions mechanism. Quantum has a directory where files with API extensions are kept. During startup quantum iterates through them and adds to REST API those extensions which are supported by some loaded plugin. E.g. it implies 1:1 mapping between API extension and plugin which implements it. Extension defines a handler to calls that it exposes. Usually such handler is a plugin, e.g. a core plugin, but advanced services extensions need to specify corresponding service plugin, .e.g. something like QuantumManager.get_service_plugins()['service_type'] Currently there is https://github.com/openstack/quantum/blob/master/quantum/extensions/loadbalancer.pyextension utilizing this. 3. Not sure what you mean by mapping service agents to plugins. Usually any kind of agent is waiting on MQ for some notifications/requests and makes corresponding changes on hardware appliances. E.g. beside the fact that agents are different for different plugins, they are listening for different topic in MQ. 4. Plugins are essentially an implementation of some REST APIs - either exposed by corresponding extension or Core API. Please remember to use mailing list. There could be other people willing to answer your questions. Thanks, Eugene. On Wed, Jan 9, 2013 at 12:12 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Eugene- Thanks a lot for the reply... Can you kindly guide me on following doubts [1] How different are the services plugin agents requests from core-plugin agents requests? [2] How is Routing of requests is taken care here in the services plugins functionality? I understand this way. The plugins are loaded by the quantum manager using the service_plugin configuration from the quantum.conf. The requests are some how routed to the plugins and there they are served. But then, [1] want to understand on how these services-agents requests are mapped to plugins ? [2] How different is the implementation of Service-Plugins to Core-Plugins ? Can you kindly help me in understanding the above doubts.. Thanks in advance - Trinath On Wed, Jan 9, 2013 at 1:24 PM, Eugene Nikanorov enikano...@mirantis.com wrote: Trinath, 1. We need to update the file once service type is added. Say, if we add firewall service, we need to add corresponding service type constant. 2. This constants are keys in the dictionary that keeps loaded plugins. So currently it's 1 plugin per service type. E.g. core API can have only 1 plugin. Regarding running multiple plugins for core API: there is metaplugin plugin that was created for such purpose of running several core plugins simultaneously. So metaplugin is that single plugin for core API, but it loads other quantum plugins and then routes API calls to them according to flavor. You can find more information here: https://github.com/openstack/quantum/tree/master/quantum/plugins/metaplugin Thanks, Eugene. On Wed, Jan 9, 2013 at 11:08 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Eugene- Thanks a lot for the reply.. I have few doubts regarding the file /quantum/plugins/common/constants.py [1] Do we need to update this file when any new plugin is added? [2] How this file and its macros are utilized for servicing the multiple plugins? Also, I'm thinking on using OVS plugin and cisco plugin at a time. Will this additions to the Folsom source code, does the same task as I'm thinking on? Can you kindly guide me on how this can be achieve the above setup. Can you kindly comment on the above doubts. Thanks in advance. - Trinath On Tue, Jan 8, 2013 at 4:23 PM, Eugene Nikanorov enikano...@mirantis.com wrote: Hi Trinath, You might want to check https://review.openstack.org/#/c/15733/ It's the patch implementing multi-plugin support that already have been merged into quantum's master branch. Thanks, Eugene. On Tue, Jan 8, 2013 at 2:33 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- How to support multiple service plugins in the Quantum (Folsom)? I have gone through this link, https://review.openstack.org/#/c/15881/1 Will checking out this code base and integrating the same to the folsom code base help me in multi-plugin feature for the Quantum (Folsom) Please help me out in this regard. -- Regards
[Openstack] Multi-Plugin Support for Quantum (Folsom)
Hi Stackers- How to support multiple service plugins in the Quantum (Folsom)? I have gone through this link, https://review.openstack.org/#/c/15881/1 Will checking out this code base and integrating the same to the folsom code base help me in multi-plugin feature for the Quantum (Folsom) Please help me out in this regard. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Multi-Plugin Support for Quantum (Folsom)
Hi Eugene- Thanks a lot for the reply.. I have few doubts regarding the file /quantum/plugins/common/constants.py [1] Do we need to update this file when any new plugin is added? [2] How this file and its macros are utilized for servicing the multiple plugins? Also, I'm thinking on using OVS plugin and cisco plugin at a time. Will this additions to the Folsom source code, does the same task as I'm thinking on? Can you kindly guide me on how this can be achieve the above setup. Can you kindly comment on the above doubts. Thanks in advance. - Trinath On Tue, Jan 8, 2013 at 4:23 PM, Eugene Nikanorov enikano...@mirantis.comwrote: Hi Trinath, You might want to check https://review.openstack.org/#/c/15733/ It's the patch implementing multi-plugin support that already have been merged into quantum's master branch. Thanks, Eugene. On Tue, Jan 8, 2013 at 2:33 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- How to support multiple service plugins in the Quantum (Folsom)? I have gone through this link, https://review.openstack.org/#/c/15881/1 Will checking out this code base and integrating the same to the folsom code base help me in multi-plugin feature for the Quantum (Folsom) Please help me out in this regard. -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Debugging Quantum
Hi Stackers- Since, my starting to understand the code as a student, I have face too many dots to fill up in connection of understanding the REQUEST processing flow from client to API server of Quantum. I have the following doubts at the source code level. I'm a little bit aware of the WSGI, WEBOB and the PASTE frameworks. [1] How can I plot to know how the WSGI is capturing the client sent request? [2] How to know what CLIENT is sending via the RESTful calls to the API server, since we dont have any LOGS for client.? [3] How WSGI, WEBOB and PASTE help in framing the and (de)serializing the request/response ? Can any code enthusiastic help me in understanding these doubts at code level I feel a little comments in the source code can be more helpful... thanks in advance... kindly please help me understand these. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Understanding the Folsom-Quantum
Hi- Thanks for the reply. I still have some more doubts ... please find then inline. Kindly help me understand these... On Tue, Dec 11, 2012 at 2:59 PM, Gary Kotton gkot...@redhat.com wrote: On 12/11/2012 09:50 AM, Trinath Somanchi wrote: Hi- I have the following first set of doubts regarding the Folsom Quantum [1] With regard of Quantum Plug-in, How does the RPC communication take place between the Agent and the plug-n ? In the source code, ovs_quantum_plugin.py, I find the setup_rpc method and AgentRPCAPI class what does the reverse RPC tasks. Can any one guide me on understanding this. When the OVS detects that a new interface has been added it will query the plugin for the interface details. This will enable it to create the relevant networking for the specific interface, for example tags etc. The agent requests information from the plugin when it detects that there is a new resources. In addition to this there are cases when the plugin will notify the agent - for example if the admin status of a port has changed. [2] What is the significance of the file quantum/db/dhcp_rpc_base.py? Many plugins in the quantum/plugins directory use the methods in the class. This enables the DHCP agent to request information from the plugin. Trinath But then dhcp-agent has to use this api. But why the plugins are using this api? I see in the source code that, ryu, nec and ovs plugins use this dhcp_rpc_base for redirected processing of data. [3] With core_plugin configuration being in place, can we have some other plugin too existing in Quantum? Can any one guide me on how to achieve the same, like a Fake plugin? In V2 there is no fake plugin. There are a number of different plugins that make sue of the base DB plugin - for example the linuxbridge, openvswitch, NEC, RYU etc. [4] Why OVS quantum Plug-in doesn't support create/update/delete of port and subnets? The OVS plugin inherits the base plugin. If it does not need to make any additions then it will use the base methods implementation. If you look at https://review.openstack.org/#/c/16210/ you will see that in some cases changes need to be made - for example extending the ports to support security groups. Kindly help me understand these ... It is all pretty complicated. My suggestion would be to get a evstack installation up and running and playing around with the configurations and the agents. Once you start to understand how all of the components interact it will be easier to follow. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [Quantum] Quantum OVS Plugin doubt
Hi- Thanks for the reply Gary.. But with respect to the Quantum_plugin_base_v2.py code, which is the base class for the plugins, We can see the create/update/delete network methods only in the quantum plugin. But then How about create/update/delete ports and subnet methods. These methods do exists in the ryu/nec/nicira plugins. Will ovs plugin will not consider the implementation of port and subnet? If it considers, where these are happening? Kindly help me understand the same. Thanks in advance - Trinath On Sun, Dec 9, 2012 at 5:19 PM, Gary Kotton gkot...@redhat.com wrote: Hi Trina, I am not really sure that I understand your question. The Quantum service marshals the API's to a plugin. The plugin is responsible for providing the virtual network service. In the case of the OVS plugin the ovs_quantum_plugin.py will treat the API calls. That means that it will enable the user to perform CRUD operations on the following: networks, subnets and ports. In order to do this it stores the values in a persistent database. The plugin has a layer 2 agent that performs the actual network configuration. Hope that this help. Thanks Gary On 12/07/2012 09:10 AM, Trinath Somanchi wrote: Hi Stackers- I have a doubt with respect to the Quantum OVS Plugin. [1] Do all the APIs of Quantum use the Quantum OVS plugin to get the data from the database. or they directly contact the database. Since, I have seen ovs_quantum_plugin.py code, it has create_network, update_network methods which use the db api. Is that the OVS Quantum Plugin APIs are partially used by the Quantum APIs for getting data from database? Kindly help me understand these areas of Quantum. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Understanding the Folsom-Quantum
Hi- I have the following first set of doubts regarding the Folsom Quantum [1] With regard of Quantum Plug-in, How does the RPC communication take place between the Agent and the plug-n ? In the source code, ovs_quantum_plugin.py, I find the setup_rpc method and AgentRPCAPI class what does the reverse RPC tasks. Can any one guide me on understanding this. [2] What is the significance of the file quantum/db/dhcp_rpc_base.py? Many plugins in the quantum/plugins directory use the methods in the class. [3] With core_plugin configuration being in place, can we have some other plugin too existing in Quantum? Can any one guide me on how to achieve the same, like a Fake plugin? [4] Why OVS quantum Plug-in doesn't support create/update/delete of port and subnets? Kindly help me understand these ... Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Nova/Quantum :; api-paste.ini file
Hi- What is the significance of api-paste.ini file in the configuration of nova and quantum and other modules of openstack? How this configuration is parsed and used? by which api of the openstack modules? My quantum api-paste.ini looks this way. [composite:quantum] use = egg:Paste#urlmap /: quantumversions /v2.0: quantumapi_v2_0 [composite:quantumapi_v2_0] use = call:quantum.auth:pipeline_factory noauth = extensions quantumapiapp_v2_0 keystone = authtoken keystonecontext extensions quantumapiapp_v2_0 [filter:keystonecontext] paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory auth_host = localhost auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = quantum admin_password = password [filter:extensions] paste.filter_factory = quantum.extensions.extensions:plugin_aware_extension_middleware_factory [app:quantumversions] paste.app_factory = quantum.api.versions:Versions.factory [app:quantumapiapp_v2_0] paste.app_factory = quantum.api.v2.router:APIRouter.factory What does these [ ] arguments mean? Can any one kindly help me understand these doubts. thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom and New kind of setup
Hi Stackers- I have got a doubt about a new kind of setup with Folsom. Need your help on the doubts i have. Lets plan that we install nova, quantum, glance, keystone, mysql-database and Horizon components of controller in individual machines. How Horizon will be able to get the set the configurations/data? Can any one help me understand this... thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Nova/Quantum :; api-paste.ini file
Hi Kevin- Thanks for the reply.. But, few of my doubts are left ... [1] What is the significance of the api-paste.ini file in the configuration of nova/quantum and other modules of ipenstack? [2] How do the modules use these API configuration options? How they are used different from normal .conf files? kindly help me understand these.. - Trinath On Thu, Dec 6, 2012 at 10:19 PM, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: On Thu, 2012-12-06 at 16:11 +0530, Trinath Somanchi wrote: What is the significance of api-paste.ini file in the configuration of nova and quantum and other modules of openstack? How this configuration is parsed and used? by which api of the openstack modules? So, api-paste.ini is parsed by the PasteDeploy package. As a first step to understanding this file, see this section of the PasteDeploy documentation: http://pythonpaste.org/deploy/#config-uris (Note: the file is formatted as a standard INI file, and I believe PasteDeploy uses the standard Python package ConfigParser to read it…) -- Kevin L. Mitchell kevin.mitch...@rackspace.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Nova/Quantum :; api-paste.ini file
Thanks a lot kevin.. Your explanation has cleared my doubts.. Keeping togethor what i understand... Suppose, we have a resquest to Nova.. The following steps are performed... 1. The request is captured by webob and is authenticated by keystone and is decorated to wsgi app 2. Nova-api maps the url params to extensions 3. Nova-api extensions return the data dict.. Which webob returns as response to the request in json/xml format... 4. Paste-api helps the keystone and other modules for update of the request... This the request is served... In the above steps, i might be misunderstanding the concepts.. Kindly please help me by validating my understanding ... - Trinath On Dec 6, 2012 11:42 PM, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: It's probably best to ask these sorts of questions on the email list, as it gives an opportunity to others to answer them, as well as allowing others who may have similar questions to see the answers in the first place. On Thu, 2012-12-06 at 23:24 +0530, Trinath Somanchi wrote: [1] In nova or quantum api, We can access the .conf params, This way... cfg.Conf.x as per the soutce code... We can get the api-paste-config too.. But i wonder how we can get the paste api confs values too accessible this way Like, admin_user . PasteDeploy passes configuration options as arguments to the constructors/factories for the various applications and middleware. But, as I say, we're trying to avoid relying on this data in nova; the only consumer of it I am aware of is the Keystone auth_token middleware, and it has the capability now of specifying its necessary configuration in the [keystone_authtoken] section of the nova/glance/quantum/cinder configuration files. (I suspect the Keystone team is deprecating the configuration through api-paste.ini.) This should all be documented in the PasteDeploy manual… [2] since nova/quantum run as services, how do webob and wsgi play a role to prepare the request dict? At this point, we leave behind PasteDeploy. To answer your second question first, WSGI is an interface specification; it describes how a web application can be called by the server which receives the HTTP request. You can find out more about WSGI from PEP-333, at: http://www.python.org/dev/peps/pep-0333/ As for webob, that is another package used by nova, etc., which changes the interface we actually implement; that is, a WSGI application is a callable taking a dictionary with the environment and a start_response callback, but webob takes these two arguments and encapsulates them in a Request class, which provides simplified access to the environment data and some utility methods. In essence, webob implements the strange-looking parts of the WSGI interface spec for us, and we can concentrate on getting the job done. [3] When does( at what level )keystone authentication happens for given RESTful request... Keystone authentication happens, for most projects, in two separate pieces of middleware. The first is auth_token, contained in the python-keystoneclient package (it was just moved from the keystone package); this piece of middleware grabs the token out of the incoming request, verifies that it is a valid and unexpired token, then inserts various authentication data needed by the project (user and tenant IDs, for instance). The second piece of authentication is more or less a shim between the Keystone auth_token and the project; it extracts the data that auth_token injected into the request, then builds a project-specific authentication context. This context is how the various projects keep track of what user made the request, and is used in authorization checks (Does this user have permission to take this action on this resource?). -- Kevin L. Mitchell kevin.mitch...@rackspace.com ___ 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] [Quantum] Quantum OVS Plugin doubt
Hi Stackers- I have a doubt with respect to the Quantum OVS Plugin. [1] Do all the APIs of Quantum use the Quantum OVS plugin to get the data from the database. or they directly contact the database. Since, I have seen ovs_quantum_plugin.py code, it has create_network, update_network methods which use the db api. Is that the OVS Quantum Plugin APIs are partially used by the Quantum APIs for getting data from database? Kindly help me understand these areas of Quantum. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Nova/Quantum :; api-paste.ini file
Hi Kevin- Thanks for the reply and making me understand the data flow. I have one more doubt in plate. I see that in api-paste.ini, with respect to the online available documentation https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst I see that the auth_host, auth_port, admin_tenant_name, admin_user, admin_password etc... are all hard coded. But then, suppose that we have N number of compute nodes.where we have agents running which might need these variables for all the variables, these options must be manually hardcoded. Also we set these variables as environmental variables. How can we refer the Environmental variables for the variables in the configuration files? Can you guide me understand the issue. Thanks in advance - Trinath On Fri, Dec 7, 2012 at 2:09 AM, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: On Thu, 2012-12-06 at 23:58 +0530, Trinath Somanchi wrote: Suppose, we have a resquest to Nova.. The following steps are performed... 1. The request is captured by webob and is authenticated by keystone and is decorated to wsgi app Not quite correct; webob decorates (some of) the functions called, so all functions in the WSGI stack end up having the WSGI calling convention (func(env, start_response)). The bulk of the middleware uses the webob wsgify decorator, but there are some exceptions (auth_token being one of them). Other than that point, this is correct. 2. Nova-api maps the url params to extensions nova-api maps the URIs to controller classes and methods on those classes (it uses the routes package to accomplish this). Some of those classes are extensions, rather than core; some of those interfaces are further extended by the extensions (the extensions infrastructure can accomplish both). IOW, you are essentially correct… 3. Nova-api extensions return the data dict.. Which webob returns as response to the request in json/xml format... Well, it's nova that serializes the data dict to the appropriate format; webob just handles the mechanics of sending the serialized data back, along with appropriate HTTP headers. The serialization framework is a little complicated, so let's omit it for now… 4. Paste-api helps the keystone and other modules for update of the request... PasteDeploy builds the processing pipeline based on the values in api-paste.ini and friends, putting the middleware into the correct order, with the final application at the end of the chain. (Note that middleware is *not* extension, but rather additional processing done on the request as a whole.) Kindly please help me by validating my understanding ... I think you've fairly well understood most of it, aside from some subtleties that I've tried to correct above. -- Kevin L. Mitchell kevin.mitch...@rackspace.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Accessing Nova DB from the Compute Host
Hi- Is there any way with out using the nova-client from the compute host, to access the nova database? I tried, using the /nova/db/api.py and /nova/db/sqlalchemy/api.py class definitions for accessing the database but failed to get the data. I get this error for the sample def. i have written. File /usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py, line 5263, in sampledata_by_host filter(models.Instance.host == host_name).all() File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2115, in all return list(self) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2227, in __iter__ return self._execute_and_instances(context) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2240, in _execute_and_instances close_with_result=True) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2231, in _connection_from_session **kw) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 730, in connection close_with_result=close_with_result) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 736, in _connection_for_bind return engine.contextual_connect(**kwargs) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 2490, in contextual_connect self.pool.connect(), File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 224, in connect return _ConnectionFairy(self).checkout() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 387, in __init__ rec = self._connection_record = pool._do_get() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 802, in _do_get return self._create_connection() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 188, in _create_connection return _ConnectionRecord(self) File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 270, in __init__ self.connection = self.__connect() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 330, in __connect connection = self.__pool._creator() File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py, line 80, in connect return dialect.connect(*cargs, **cparams) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py, line 281, in connect return self.dbapi.connect(*cargs, **cparams) *OperationalError: (OperationalError) unable to open database file None None * Can any one help when does this error occur and how to resolve the same. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Accessing Nova DB from the Compute Host
Hi- I have added the correct credentials with respect to my setup. But still the same error exists. Kindly help me resolve the issue. - Trinath On Wed, Dec 5, 2012 at 4:38 PM, Razique Mahroua razique.mahr...@gmail.comwrote: HI Trinath, just add the right credentials into your .bashrc or any file the system user can source : export SERVICE_TOKEN=admin export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=openstack export OS_AUTH_URL=http://$keystone-IP:5000/v2.0/ export SERVICE_ENDPOINT=http://$keystone-IP:35357/v2.0/ and it would work Regards, *Razique Mahroua** - **Nuage Co* razique.mahr...@gmail.com Tel : +33 9 72 37 94 15 Le 5 déc. 2012 à 12:04, Trinath Somanchi trinath.soman...@gmail.com a écrit : Hi- Is there any way with out using the nova-client from the compute host, to access the nova database? I tried, using the /nova/db/api.py and /nova/db/sqlalchemy/api.py class definitions for accessing the database but failed to get the data. I get this error for the sample def. i have written. File /usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py, line 5263, in sampledata_by_host filter(models.Instance.host == host_name).all() File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2115, in all return list(self) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2227, in __iter__ return self._execute_and_instances(context) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2240, in _execute_and_instances close_with_result=True) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py, line 2231, in _connection_from_session **kw) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 730, in connection close_with_result=close_with_result) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 736, in _connection_for_bind return engine.contextual_connect(**kwargs) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 2490, in contextual_connect self.pool.connect(), File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 224, in connect return _ConnectionFairy(self).checkout() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 387, in __init__ rec = self._connection_record = pool._do_get() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 802, in _do_get return self._create_connection() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 188, in _create_connection return _ConnectionRecord(self) File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 270, in __init__ self.connection = self.__connect() File /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py, line 330, in __connect connection = self.__pool._creator() File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py, line 80, in connect return dialect.connect(*cargs, **cparams) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py, line 281, in connect return self.dbapi.connect(*cargs, **cparams) *OperationalError: (OperationalError) unable to open database file None None* Can any one help when does this error occur and how to resolve the same. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 NUAGECO-LOGO-Fblan_petit.jpg___ 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] How to get the Configuration options from api_paste.ini
Hi Stackers- In the Folsom source code, I have found, cfg.CONF.xxx gives the configuration file data as Key to value format, like i can get the sql connection string as cfg.CONF.sql_connection But then, we have a configuration option, api_paste_config in the configuration files both in nova and quantum. How to get the data from the paste configuration in the format similar above. Is there any such implementation for study which throws some light on finding the paste configuration values. help me in this regard Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Quantum Database and RPC error
Hi- With respect to folsom release, What does this sqlalchemy and rpc based error denote. File /usr/lib/python2.7/dist-packages/quantum/db/db_base_plugin_v2.py, line 90, in _model_query query = context.session.query(model) File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/common.py, line 276, in __getattr__ raise AttributeError(key) AttributeError: session Please help me understand this error? What might cause this kind of exception. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Quantum Database and RPC error
Hi- Thanks for the reply. Which modules populates this Session info into the context. can u guide me in this regard. On Wed, Nov 21, 2012 at 6:37 PM, gong yong sheng gong...@linux.vnet.ibm.com wrote: Hi, can u give out more traceback? quantum context has a session attribute. It seems this context is not quantum context. On 11/21/2012 07:54 PM, Trinath Somanchi wrote: Hi- With respect to folsom release, . What does this sqlalchemy and rpc based error denote. File /usr/lib/python2.7/dist-packages/quantum/db/db_base_plugin_v2.py, line 90, in _model_query query = context.session.query(model) File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/common.py, line 276, in __getattr__ raise AttributeError(key) AttributeError: session Please help me understand this error? What might cause this kind of exception. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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-client Error :: Please input your password for the keyring
Hi- I have written an resource extension in nova-api. and the test script runs in the compute-host. When the Keystone credentials are given in the script to created an nova-client 'Client' instance, for sending the request, I get this message Please input your password for the keyring I input the passcode that was given in the test script, it gives me the record string the nova-api. I haven't faced this issue when I run the test script in the Controller machine. but when I run in the host machine, I'm seeing this issue. Please help me resolve the issue. Thanking you. -- Regards, -- Trinath Somanchi, ___ 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] Accessing Nova DB from Quantum
For nova client to provide the data, do we need the project id as a mandatory parameter. Please help me in this regard. On Tue, Nov 6, 2012 at 1:03 PM, Nah, Zhongyue zhongyue@intel.comwrote: The information in the Nova DB should provide by a client API interface. Quantum should use the client and invoke the API call. ** ** *From:* openstack-bounces+zhongyue.nah=intel@lists.launchpad.net[mailto: openstack-bounces+zhongyue.nah=intel@lists.launchpad.net] *On Behalf Of *Debojyoti Dutta *Sent:* Tuesday, November 06, 2012 2:50 PM *To:* Trinath Somanchi *Cc:* openstack@lists.launchpad.net *Subject:* Re: [Openstack] Accessing Nova DB from Quantum ** ** Shouldnt you be using nova APIs instead of the NOVA DB? Whats your use case? ** ** On Mon, Nov 5, 2012 at 10:46 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- ** ** ** ** While going through the SQLALchemy of the Quantum, I was struck on how to Access the NOVA DB tables from Quantum SQLAlchemy. ** ** Can any one guide me on How to query the tables of the NOVA DB from the Quantum SQLAlchemy. I have seen that the querying in SQLAlchemy in NOVA and Quantum, is with Models which are the table definitions. ** ** How can we query the NOVA DB tables from the Quantum SQLAlchemy like wise cross DB querying from every Module of Openstack? ** ** Please help me understand the approach in this regard. ** ** Thanking you ** ** ** ** -- Regards, -- Trinath Somanchi, +91 9866 235 130 ** ** ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ** ** -- -Debo~ -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [openstack-dev] Writing Plug-ins to Quantum
56, in fix_call val = callable(*args, **kw) File /usr/lib/python2.7/dist-packages/paste/urlmap.py, line 25, in urlmap_factory app = loader.get_app(app_name, global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 350, in get_app name=name, global_conf=global_conf).create() File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 710, in create return self.object_type.invoke(self) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 144, in invoke **context.local_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/util.py, line 59, in fix_call reraise(*exc_info) File /usr/lib/python2.7/dist-packages/paste/deploy/compat.py, line 22, in reraise exec('raise t, e, tb', dict(t=t, e=e, tb=tb)) File /usr/lib/python2.7/dist-packages/paste/deploy/util.py, line 56, in fix_call val = callable(*args, **kw) File /usr/lib/python2.7/dist-packages/quantum/auth.py, line 61, in pipeline_factory app = loader.get_app(pipeline[-1]) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 350, in get_app name=name, global_conf=global_conf).create() File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 710, in create return self.object_type.invoke(self) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 146, in invoke return fix_call(context.object, context.global_conf, **context.local_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/util.py, line 59, in fix_call reraise(*exc_info) File /usr/lib/python2.7/dist-packages/paste/deploy/compat.py, line 22, in reraise exec('raise t, e, tb', dict(t=t, e=e, tb=tb)) File /usr/lib/python2.7/dist-packages/paste/deploy/util.py, line 56, in fix_call val = callable(*args, **kw) File /usr/lib/python2.7/dist-packages/quantum/api/v2/router.py, line 67, in factory return cls(**local_config) File /usr/lib/python2.7/dist-packages/quantum/api/v2/router.py, line 71, in __init__ plugin = manager.QuantumManager.get_plugin() File /usr/lib/python2.7/dist-packages/quantum/manager.py, line 65, in get_plugin cls._instance = cls() File /usr/lib/python2.7/dist-packages/quantum/manager.py, line 54, in __init__ plugin_klass = importutils.import_class(plugin_provider) File /usr/lib/python2.7/dist-packages/quantum/openstack/common/importutils.py, line 30, in import_class __import__(mod_str) File /usr/lib/python2.7/dist-packages/quantum/plugins/openvswitch/ovs_quantum_plugin.py, line 33, in module from quantum.db import l3_db File /usr/lib/python2.7/dist-packages/quantum/db/l3_db.py, line 86, in module class L3_NAT_db_mixin(l3.RouterPluginBase): File /usr/lib/python2.7/dist-packages/quantum/db/l3_db.py, line 111, in L3_NAT_db_mixin _network_filter_hook) TypeError: unbound method register_model_query_hook() must be called with QuantumDbPluginV2 instance as first argument (got DeclarativeMeta instance instead) How to resolve this error? How can I register a new plugin/agent with the quantum? Please help me in this regard. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Quantum Agent Error - Help!
Hi Stackers- I have written a fake agent with the study from the dhcp agent. The rpc agent daemon is running with the below errors. But I have missed some bits of information with respect to the rpc communication. In the log, I have the following errors. 2012-10-31 16:14:38 INFO [quantum.agent.fsl_compute_agent] Synchronizing state 2012-10-31 16:14:38DEBUG [quantum.openstack.common.rpc.amqp] Making asynchronous call on q-plugin ... 2012-10-31 16:14:38DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 28887aedcb4a469199950992e92e5710 2012-10-31 16:14:38DEBUG [amqplib] Closed channel #1 2012-10-31 16:14:38DEBUG [amqplib] using channel_id: 1 2012-10-31 16:14:38DEBUG [amqplib] Channel open 2012-10-31 16:14:38ERROR [quantum.agent.fsl_compute_agent] [FslComputeAgent] Unable to sync network state. Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/fsl_compute_agent.py, line 91, in sync_state get_host_instances_info = set(self.plugin_rpc.get_host_instances_info()) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/fsl_compute_agent.py, line 131, in get_host_instances_info topic=self.topic) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/proxy.py, line 83, in call return rpc.call(context, self._get_topic(topic), msg, timeout) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/__init__.py, line 102, in call return _get_impl().call(cfg.CONF, context, topic, msg, timeout) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/impl_kombu.py, line 712, in call rpc_amqp.get_connection_pool(conf, Connection)) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/amqp.py, line 380, in call rv = list(rv) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/amqp.py, line 336, in __iter__ raise result RemoteError: Remote error: AttributeError No such RPC function 'get_host_instances_info' [u'Traceback (most recent call last):\n', u' File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py, line 275, in _process_data\nrval = self.proxy.dispatch(ctxt, version, method, **args)\n', u' File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py, line 148, in dispatch\nraise AttributeError(No such RPC function \'%s\' % method)\n', uAttributeError: No such RPC function 'get_host_instances_info'\n]. The error is AttributeError No such RPC function 'get_host_instances_info' I have written the method to support the agents method, by following the DHCP agent method get_active_networks. The following files are modified by adding the RPC function method. db/db_base_plugin_v2.py:1268:def _get_host_instances_info(self,context,filters=None,fields=None): db/fslcompute_rpc_base.py:47:def get_host_instances_info(self, context, **kwargs): db/fslcompute_rpc_base.py:50:LOG.debug('[FslComputeCallbackMixin] get_host_instances_info :: Getting instances info for host %s.', host) db/fslcompute_rpc_base.py:55:return plugin.get_host_instances_info(context, filters=filters) Being a newbee for this code base, Unable to plot what is the BIT that is missing in this rpc communication. Please help me to troubleshoot this issue. Thanks in advance... -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [openstack-dev] Folsom Quantum Agent :: No such RPC function
Hi- Please help troubleshoot the issue I have written a fake agent with the study from the dhcp agent. The rpc agent daemon is running with the below errors. But I have missed some bits of information with respect to the rpc communication. In the log, I have the following errors. 2012-10-31 16:14:38 INFO [quantum.agent.fake_compute_agent] Synchronizing state 2012-10-31 16:14:38DEBUG [quantum.openstack.common.rpc.amqp] Making asynchronous call on q-plugin ... 2012-10-31 16:14:38DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 28887aedcb4a469199950992e92e5710 2012-10-31 16:14:38DEBUG [amqplib] Closed channel #1 2012-10-31 16:14:38DEBUG [amqplib] using channel_id: 1 2012-10-31 16:14:38DEBUG [amqplib] Channel open 2012-10-31 16:14:38ERROR [quantum.agent.fake_compute_agent] [FakeComputeAgent] Unable to sync network state. Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/fake_compute_agent.py, line 91, in sync_state get_host_instances_info = set(self.plugin_rpc.get_host_instances_info()) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/fake_compute_agent.py, line 131, in get_host_instances_info topic=self.topic) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/proxy.py, line 83, in call return rpc.call(context, self._get_topic(topic), msg, timeout) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/__init__.py, line 102, in call return _get_impl().call(cfg.CONF, context, topic, msg, timeout) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/impl_kombu.py, line 712, in call rpc_amqp.get_connection_pool(conf, Connection)) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/amqp.py, line 380, in call rv = list(rv) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/amqp.py, line 336, in __iter__ raise result RemoteError: Remote error: AttributeError No such RPC function 'get_host_instances_info' [u'Traceback (most recent call last):\n', u' File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py, line 275, in _process_data\nrval = self.proxy.dispatch(ctxt, version, method, **args)\n', u' File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py, line 148, in dispatch\nraise AttributeError(No such RPC function \'%s\' % method)\n', uAttributeError: No such RPC function 'get_host_instances_info'\n]. The error is AttributeError No such RPC function 'get_host_instances_info' I have written the method to support the agents method, by following the DHCP agent method get_active_networks. The following files are modified by adding the RPC function method. db/db_base_plugin_v2.py:1268:def _get_host_instances_info(self,context,filters=None,fields=None): db/fakecompute_rpc_base.py:47:def get_host_instances_info(self, context, **kwargs): db/fakecompute_rpc_base.py:50:LOG.debug('[FakeComputeCallbackMixin] get_host_instances_info :: Getting instances info for host %s.', host) db/fakecompute_rpc_base.py:55:return plugin.get_host_instances_info(context, filters=filters) Being a newbee for this code base, Unable to plot what is the BIT that is missing in this rpc communication. Please help me to troubleshoot this issue. Thanks in advance... - Trinath ___ 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] [openstack-dev] Folsom Quantum Agent :: No such RPC function
Hi- Can any one help me troubleshooting this issue... Thanks in advance. - Trinath On Wed, Oct 31, 2012 at 9:16 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- Please help troubleshoot the issue I have written a fake agent with the study from the dhcp agent. The rpc agent daemon is running with the below errors. But I have missed some bits of information with respect to the rpc communication. In the log, I have the following errors. 2012-10-31 16:14:38 INFO [quantum.agent.fake_compute_agent] Synchronizing state 2012-10-31 16:14:38DEBUG [quantum.openstack.common.rpc.amqp] Making asynchronous call on q-plugin ... 2012-10-31 16:14:38DEBUG [quantum.openstack.common.rpc.amqp] MSG_ID is 28887aedcb4a469199950992e92e5710 2012-10-31 16:14:38DEBUG [amqplib] Closed channel #1 2012-10-31 16:14:38DEBUG [amqplib] using channel_id: 1 2012-10-31 16:14:38DEBUG [amqplib] Channel open 2012-10-31 16:14:38ERROR [quantum.agent.fake_compute_agent] [FakeComputeAgent] Unable to sync network state. Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/fake_compute_agent.py, line 91, in sync_state get_host_instances_info = set(self.plugin_rpc.get_host_instances_info()) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/fake_compute_agent.py, line 131, in get_host_instances_info topic=self.topic) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/proxy.py, line 83, in call return rpc.call(context, self._get_topic(topic), msg, timeout) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/__init__.py, line 102, in call return _get_impl().call(cfg.CONF, context, topic, msg, timeout) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/impl_kombu.py, line 712, in call rpc_amqp.get_connection_pool(conf, Connection)) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/amqp.py, line 380, in call rv = list(rv) File /usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/openstack/common/rpc/amqp.py, line 336, in __iter__ raise result RemoteError: Remote error: AttributeError No such RPC function 'get_host_instances_info' [u'Traceback (most recent call last):\n', u' File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py, line 275, in _process_data\nrval = self.proxy.dispatch(ctxt, version, method, **args)\n', u' File /usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py, line 148, in dispatch\nraise AttributeError(No such RPC function \'%s\' % method)\n', uAttributeError: No such RPC function 'get_host_instances_info'\n]. The error is AttributeError No such RPC function 'get_host_instances_info' I have written the method to support the agents method, by following the DHCP agent method get_active_networks. The following files are modified by adding the RPC function method. db/db_base_plugin_v2.py:1268:def _get_host_instances_info(self,context,filters=None,fields=None): db/fakecompute_rpc_base.py:47:def get_host_instances_info(self, context, **kwargs): db/fakecompute_rpc_base.py:50: LOG.debug('[FakeComputeCallbackMixin] get_host_instances_info :: Getting instances info for host %s.', host) db/fakecompute_rpc_base.py:55:return plugin.get_host_instances_info(context, filters=filters) Being a newbee for this code base, Unable to plot what is the BIT that is missing in this rpc communication. Please help me to troubleshoot this issue. Thanks in advance... - Trinath -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] RPC setup for Quantum
Hi Stackers- With respect to the Folsom Quantum Admin Manual ( http://docs.openstack.org/trunk/openstack-network/admin/content/rpc_setup.html) , the RPC setup section. The lines , [image: [Important]]Important This /etc/quantum/quantum.conf file should be copied to and used on all hosts running quantum-server, quantum-dhcp-agent, quantum-openvswitch-agent, or quantum-linuxbridge-agent (see below). Specify that the quantum.conf should be copied to all Network Nodes if the Agents doesn't run in the Controller node. Also in the same way, IF we have the DHCP/OVS agents running in the HOST nodes itself the same scenario works for it. I'm thinking that, this configuration copy to the HOST/NETWORK nodes is to support the RABBITMQ linking between the Controller and the NETWORK/HOST nodes, in order to enable RPC based communication between the Controller and the Agents running in the Network/Host nodes. Please correct my understanding briefed above. Thanking you- -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] RPC setup for Quantum
True said. I'm clear with this point. But My doubt is that, for every HOST node, we need to have quantum.conf if the HOST node has the DHCP-Agent and the OVS-Agent running in them. Please help me in this regard. - Trinath On Tue, Oct 30, 2012 at 1:58 PM, gong yong sheng gong...@linux.vnet.ibm.com wrote: to run quantum-server, dhcp agent, ovs and linuxbridge agent, we need to specify the quantum.conf as one of the configure files. Besides the RPC sections, some of other parts are useful too. RPC parts are used for communication between quantum-server and dhcp agent, ovs agent or linux bridge agent. On 10/30/2012 03:37 PM, Trinath Somanchi wrote: Hi Stackers- With respect to the Folsom Quantum Admin Manual ( http://docs.openstack.org/trunk/openstack-network/admin/content/rpc_setup.html) , the RPC setup section. The lines , [image: [Important]] Important This /etc/quantum/quantum.conf file should be copied to and used on all hosts running quantum-server, quantum-dhcp-agent, quantum-openvswitch-agent, or quantum-linuxbridge-agent (see below). Specify that the quantum.conf should be copied to all Network Nodes if the Agents doesn't run in the Controller node. Also in the same way, IF we have the DHCP/OVS agents running in the HOST nodes itself the same scenario works for it. I'm thinking that, this configuration copy to the HOST/NETWORK nodes is to support the RABBITMQ linking between the Controller and the NETWORK/HOST nodes, in order to enable RPC based communication between the Controller and the Agents running in the Network/Host nodes. Please correct my understanding briefed above. Thanking you- -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [Openstack :: Folsom] Quantum DHCP Agent in Compute HOST
Hi Salvatore- Thanks a lot for the reply. In the Setup diagram, I'm planning to make a 2 machine setup in my test environment. Where Can I have the Installation guideline for the Quantum L2 agent. Have few doubts in the Quantum DHCP agent Source Code. As I have gone through the source code, the DHCP agent runs as an RPC daemon. It places messages in the ampq. I was confused with the following code in /quantum/db/dhcp_rpc_base.py in the method: def get_network_info() plugin = manager.QuantumManager.get_plugin() To what plugin its mapping to ? Is the appropriate plugin configured in the configuration files. network = plugin.get_network(context, network_id) How do the mapping to plugin made here? Can you please help understand these... Thanking you - Trinath On Fri, Oct 26, 2012 at 3:31 PM, Salvatore Orlando sorla...@nicira.comwrote: Hi Trinath, Even if is perfectly reasonable to run the DHCP/L3 agents in the controller node, the advice we give in the administration guide is slightly different. As suggested in [1], the only Quantum component running on the controller node should be the API server. The DHCP and L3 agents might run in a dedicated network node. Please note you will need also the L2 agent running on that node. Regards, Salvatore [1] http://docs.openstack.org/trunk/openstack-network/admin/content/app_demo.html On 26 October 2012 10:50, Trinath Somanchi trinath.soman...@gmail.comwrote: Hi Stackers- I have found many installation and configuration manuals for Openstack Folsom which state the installation and configuration of Quantum-DHCP-Agent in the Controller machine. But I have doubt here, Can't we have the Quantum-DHCP/L3-Agent to be running in the Compute NODE rather than in the controller. How does the Installation and configuration change with this type of Installation? Please guide me on How to achieve the same. Thanking you -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [Openstack :: Folsom :: Quantum ] Working of DHCP Agent
Hi- I was trying to understand how the Quantum DHCP agent Daemon works. As I walk through the code, to understand the working on the Daemon, I found it to be using rpc cast and call. But was lost into the code to find the correct data flow. In my study I found this: quantum/agent/dhcp_agent.py --- the actual daemon agent, which makes the rpc.cast/rpc.call to fetch the data. * A | * -- (Flow representing arrows) * | V* quantum/db/dhcp_rpc_base.py which implements the QuantumPluginV2 to process the rpc.cast/rpc.call by the above agent. * A| *-- (Flow representing arrows) *|V* quantum/db/db_base_plugin_v2.py--- where the actual DB processing happens for the requests. I have some doubts here, (though there very preliminary) [1] The RPC cast and call are sent to the Quantum server ? [2] Am I in a right path of understanding the dhcp agent daemon working. Kindly please help me understand the processes flow Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Folsom Horizon Error
Hi- I have installed Folsom version of Openstack using the installation guide https://github.com/EmilienM/openstack-folsom-guide The Horizon GUI looks awkward and the login gives me this error in the apache error logs. I have installed Horizon the way given in the Folsom guide given above. [image: Inline image 1] The Error Log: [Thu Oct 18 10:18:19 2012] [error] unable to retrieve service catalog with token [Thu Oct 18 10:18:19 2012] [error] Traceback (most recent call last): [Thu Oct 18 10:18:19 2012] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 135, in _extract_service_catalog [Thu Oct 18 10:18:19 2012] [error] endpoint_type='adminURL') [Thu Oct 18 10:18:19 2012] [error] File /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line 73, in url_for [Thu Oct 18 10:18:19 2012] [error] raise exceptions.EndpointNotFound('Endpoint not found.') [Thu Oct 18 10:18:19 2012] [error] EndpointNotFound: Endpoint not found. Please help me resolve the issue. Thanking you. -- Regards, -- Trinath Somanchi, +91 9866 235 130 image.png___ 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] Folsom Glance Image upload error
Hi- I have installed Folsom Glance in my Ubuntu machine. When I upload the Image to glance, the get this error root@openstackController:~/openstack_images# glance add name=Ubuntu_Server_1204 is_public=true container_format=ovf disk_format=qcow2 ubuntu_server.img Error communicating with /v1/images: [Errno 111] Connection refused Can any one help me on solving the issue. Thanking you -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Folsom Glance Image upload error
Hi- I got this error when i executed the GLANCE API root@openstackController:~# /usr/bin/python /usr/local/bin/glance-api 2012-10-15 16:23:19 DEBUG glance.common.config [-] Loading glance-api from /etc/glance/glance-api-paste.ini from (pid=12873) load_paste_app /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/common/config.py:181 ERROR: Unable to load glance-api from configuration file /etc/glance/glance-api-paste.ini. Got: ImportError(module 'glance.api' from '/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/__init__.pyc' has no 'root_app_factory' attribute,) On Mon, Oct 15, 2012 at 1:48 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- I have installed Folsom Glance in my Ubuntu machine. When I upload the Image to glance, the get this error root@openstackController:~/openstack_images# glance add name=Ubuntu_Server_1204 is_public=true container_format=ovf disk_format=qcow2 ubuntu_server.img Error communicating with /v1/images: [Errno 111] Connection refused Can any one help me on solving the issue. Thanking you -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Folsom Glance Image upload error
Hi- I followed the folsom guide given below, but the error is intact. ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini. Got: ImportError(module 'glance.api' from '/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/__init__.pyc' has no 'root_app_factory' attribute,) Any guidance on troubleshooting the same' The glance-api-paste.ini is as follows # Use this pipeline for no auth or image caching - DEFAULT [pipeline:glance-api] pipeline = versionnegotiation unauthenticated-context rootapp # Use this pipeline for image caching and no auth [pipeline:glance-api-caching] pipeline = versionnegotiation unauthenticated-context cache rootapp # Use this pipeline for caching w/ management interface but no auth [pipeline:glance-api-cachemanagement] pipeline = versionnegotiation unauthenticated-context cache cachemanage rootapp # Use this pipeline for keystone auth [pipeline:glance-api-keystone] pipeline = versionnegotiation authtoken context rootapp # Use this pipeline for keystone auth with image caching [pipeline:glance-api-keystone+caching] pipeline = versionnegotiation authtoken context cache rootapp # Use this pipeline for keystone auth with caching and cache management [pipeline:glance-api-keystone+cachemanagement] pipeline = versionnegotiation authtoken context cache cachemanage rootapp [composite:rootapp] paste.composite_factory = glance.api:root_app_factory /: apiversions /v1: apiv1app /v2: apiv2app [app:apiversions] paste.app_factory = glance.api.versions:create_resource [app:apiv1app] paste.app_factory = glance.api.v1.router:API.factory [app:apiv2app] paste.app_factory = glance.api.v2.router:API.factory [filter:versionnegotiation] paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory [filter:cache] paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory [filter:cachemanage] paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory [filter:context] paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory [filter:unauthenticated-context] paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory auth_host = 10.232.90.115 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = glance admin_password = password On Mon, Oct 15, 2012 at 4:28 PM, Skible OpenStack skible.openst...@gmail.com wrote: This is why you were getting the Err111 because you can't reach Glance-api service since it doesn't load ! ERROR: Unable to load glance-api from configuration file /etc/glance/glance-api-paste.ini Verify your glance-api-paste.ini file with the steps provided in this Folsom Install Guidehttps://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rstto find what's missing : Le 15/10/2012 12:55, Trinath Somanchi a écrit : ERROR: Unable to load glance-api from configuration file /etc/glance/glance-api-paste.ini -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Folsom Glance API error
Hi- I have installed Folsom Glance release in my ubuntu system., When I start the glance-api, i get this error root@openstackController:~/openstack_images# /usr/bin/python /usr/local/bin/glance-api 2012-10-15 17:24:08 DEBUG glance.common.config [-] Loading glance-api-keystone from /etc/glance/glance-api-paste.ini from (pid=4689) load_paste_app /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/common/config.py:181 *ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini.* *Got: ImportError(module 'glance.api' from '/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/__init__.pyc' has no 'root_app_factory' attribute,)* Can any one help me on troubleshooting this error. There is an ImportError specified. I'm not clear on this error message. Thanking you -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Folsom Glance Image upload error
it be # in the path. Set this to 'path' or 'subdomain' - defaults to 'subdomain'. #s3_store_bucket_url_format = subdomain # RBD Store Options = # Ceph configuration file path # If using cephx authentication, this file should # include a reference to the right keyring # in a client.USER section rbd_store_ceph_conf = /etc/ceph/ceph.conf # RADOS user to authenticate as (only applicable if using cephx) rbd_store_user = glance # RADOS pool in which images are stored rbd_store_pool = images # Images will be chunked into objects of this size (in megabytes). # For best performance, this should be a power of two rbd_store_chunk_size = 8 # Delayed Delete Options = # Turn on/off delayed delete delayed_delete = False # Delayed delete time in seconds scrub_time = 43200 # Directory that the scrubber will use to remind itself of what to delete # Make sure this is also set in glance-scrubber.conf scrubber_datadir = /var/lib/glance/scrubber # === Image Cache Options = # Base directory that the Image Cache uses image_cache_dir = /var/lib/glance/image-cache/ [keystone_authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = glance admin_password = password [paste_deploy] # Name of the paste configuration file that defines the available pipelines #config_file = glance-api-paste.ini # Partial name of a pipeline in your paste configuration file with the # service name removed. For example, if your paste section name is # [pipeline:glance-api-keystone], you would configure the flavor below # as 'keystone'. flavor=keystone On Mon, Oct 15, 2012 at 5:59 PM, Skible OpenStack skible.openst...@gmail.com wrote: can you send me the glance-api.conf and the keystone.log please. Le 15/10/2012 13:11, Trinath Somanchi a écrit : Hi- I followed the folsom guide given below, but the error is intact. ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini. Got: ImportError(module 'glance.api' from '/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/__init__.pyc' has no 'root_app_factory' attribute,) Any guidance on troubleshooting the same' The glance-api-paste.ini is as follows # Use this pipeline for no auth or image caching - DEFAULT [pipeline:glance-api] pipeline = versionnegotiation unauthenticated-context rootapp # Use this pipeline for image caching and no auth [pipeline:glance-api-caching] pipeline = versionnegotiation unauthenticated-context cache rootapp # Use this pipeline for caching w/ management interface but no auth [pipeline:glance-api-cachemanagement] pipeline = versionnegotiation unauthenticated-context cache cachemanage rootapp # Use this pipeline for keystone auth [pipeline:glance-api-keystone] pipeline = versionnegotiation authtoken context rootapp # Use this pipeline for keystone auth with image caching [pipeline:glance-api-keystone+caching] pipeline = versionnegotiation authtoken context cache rootapp # Use this pipeline for keystone auth with caching and cache management [pipeline:glance-api-keystone+cachemanagement] pipeline = versionnegotiation authtoken context cache cachemanage rootapp [composite:rootapp] paste.composite_factory = glance.api:root_app_factory /: apiversions /v1: apiv1app /v2: apiv2app [app:apiversions] paste.app_factory = glance.api.versions:create_resource [app:apiv1app] paste.app_factory = glance.api.v1.router:API.factory [app:apiv2app] paste.app_factory = glance.api.v2.router:API.factory [filter:versionnegotiation] paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory [filter:cache] paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory [filter:cachemanage] paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory [filter:context] paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory [filter:unauthenticated-context] paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory auth_host = 10.232.90.115 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = glance admin_password = password On Mon, Oct 15, 2012 at 4:28 PM, Skible OpenStack skible.openst...@gmail.com wrote: This is why you were getting the Err111 because you can't reach Glance-api service since it doesn't load ! ERROR: Unable to load glance-api from configuration file /etc/glance/glance-api-paste.ini Verify your glance-api-paste.ini file with the steps provided in this Folsom Install Guidehttps://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master
Re: [Openstack] Folsom Glance Image upload error
On Tue, Oct 16, 2012 at 12:48 AM, Nikhil Komawar nikhil.koma...@rackspace.com wrote: AFAIK, 'glance add' has been deprecated. Did you try using 'glance image-create', you can add --debug flag as well to get to know better details. Let us know. -Nikhil Hi- How add the --debug flag. It throws an exception when I use this option. Also, using glance image-create also throws the same exception. root@openstackController:~# glance image-create --name=Ubuntu_Server_1204 --is-public=true --container-format=ovf --disk-format=qcow2 --location file:///root/openstack_images/ubuntu_server.img Error communicating with /v1/images: [Errno 111] Connection refused -Original Message- From: Skible OpenStack skible.openst...@gmail.com Sent: Monday, October 15, 2012 8:43am To: Trinath Somanchi trinath.soman...@gmail.com Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] Folsom Glance Image upload error All of this seems to be fine and correct Can you share with me how you installed Glance ? Le 15/10/2012 14:38, Trinath Somanchi a écrit : Please find the result of keystone endpoint-list command root@openstackController:~# keystone endpoint-list +--+---+-+-++ |id| region | publicurl| internalurl | adminurl | +--+---+-+-++ | 418be94409f640e8be31d7b3f79f540d | RegionOne | http://10.232.90.115:5000/v2.0 | http://10.232.90.115:5000/v2.0| http://10.232.90.115:35357/v2.0 | | 822a2a022b7c486ea9d43dbe15baffd5 | RegionOne | http://10.232.90.115:8776/v1/$(tenant_id)s | http://10.232.90.115:8776/v1/$(tenant_id)s | http://10.232.90.115:8776/v1/$(tenant_id)s | | 84aef086c8884dec9a6af41ee4f5a67b | RegionOne | http://10.232.90.115:8773/services/Cloud | http://10.232.90.115:8773/services/Cloud | http://10.232.90.115:8773/services/Admin | | 8f846871999048fcb22fd1819749674c | RegionOne | http://10.232.90.115:9292/v2 | http://10.232.90.115:9292/v2 | http://10.232.90.115:9292/v2 | | 91efaba9329248b1837e913f14213a8a | RegionOne | http://10.232.90.115:8774/v2/$(tenant_id)s | http://10.232.90.115:8774/v2/$(tenant_id)s | http://10.232.90.115:8774/v2/$(tenant_id)s | | dbf5e0b0d2864201bda64d95c3f66f02 | RegionOne | http://10.232.90.115:8080/v1/AUTH_$(tenant_id)s | http://10.232.90.115:8080/v1/AUTH_$(tenant_id)s | http://10.232.90.115:8080/v1 | | eddcdb2a81534d6fb3e3f33dc1abb247 | RegionOne | http://10.232.90.115:9696/ |http://10.232.90.115:9696/ | http://10.232.90.115:9696/ | +--+---+-+-++ On Mon, Oct 15, 2012 at 6:07 PM, Skible OpenStack skible.openst...@gmail.com wrote: Can you paste the output of keystone endpoint-list command ? Le 15/10/2012 14:33, Trinath Somanchi a écrit : Hi- I dont have any logs in the keystone.log file its empty and here is the glance-api.conf file [DEFAULT] # Show more verbose log output (sets INFO log level output) verbose = True # Show debugging output in logs (sets DEBUG log level output) debug = False # Which backend scheme should Glance use by default is not specified # in a request to add a new image to Glance? Known schemes are determined # by the known_stores option below. # Default: 'file' default_store = file # List of which store classes and store class locations are # currently known to glance at startup. #known_stores = glance.store.filesystem.Store, # glance.store.http.Store, # glance.store.rbd.Store, # glance.store.s3.Store, # glance.store.swift.Store, # Maximum image size (in bytes) that may be uploaded through the # Glance API server. Defaults to 1 TB. # WARNING: this value should only be increased after careful consideration # and must be set to a value under 8 EB (9223372036854775808). #image_size_cap = 1099511627776 # Address to bind the API server bind_host = 0.0.0.0 # Port the bind the API server to bind_port = 9292 # Log to this file. Make sure you do not set the same log # file for both the API and registry servers! log_file = /var/log/glance/api.log # Backlog requests when creating socket backlog = 4096 # TCP_KEEPIDLE value in seconds when creating socket. # Not supported on OS X. #tcp_keepidle = 600 # SQLAlchemy connection string for the reference implementation # registry server. Any valid SQLAlchemy connection string is fine. # See
[Openstack] listing extensions in Openstack Nova
Hi- How to get the list of Controller and Resource extensions which exists with the wsgi.routing_args in the Openstack Nova API. Can any one please guide me on the same. Thanks in advance -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Adding new method to nova API throws exception
Hi Stackers- I'm working on currently adding an additional method to the NOVA API. The new method groups the servers based on the metadata. It returns a group of server UUIDs based on the Metadata information in the URL from client. For the same I have modified the following files. [1] update the nova.api.openstack.compute.__init__.py with the following mapper.resource. mapper.resource(server,servers, controller = self.resources['servers'], collection={'metadetail':'GET'}, member={'action':'POST'}) [2] Update the nova.api.openstack.compute.servers.py with the following function @wsgi.serializers(xml=ServerTemplate) def metadetail(self,req): Return the servers UUIDs based on the META data infortmation return; Being a newbee to understand the code well, I have updated the novaclient api, to redirect the request to /server/metadetail/{metadata_details} But the approach was unsuccessful. 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] GET http://10.232.90.82:8774/v2/e216fcb54dc944a8ab16e4e325299643/servers/metadetail?instance_metadata.key=Server+Groupinstance_metadata.value=DOM1 Trinath My request went, good 2012-09-17 13:27:11 DEBUG nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] WSGI :: get_action_args :: {'action': u'show', 'project_id': u'e216fcb54dc944a8ab16e4e325299643', 'id': u'metadetail'} from (pid=24295) get_action_args /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:700 Trinath Why is that the actions in show here with a ID metadetail.? Where did I go wrong. 2012-09-17 13:27:11 DEBUG nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Unrecognized Content-Type provided in request from (pid=24295) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:708 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Trinath LOG ** [_process_stack] contents = {} 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Trinath LOG ** [_process_stack] action_args = {'project_id': u'e216fcb54dc944a8ab16e4e325299643', 'id': u'metadetail'} 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Trinath LOG ** [pre_process_extension] extensions = [bound method ServerDiskConfigController.show of nova.api.openstack.compute.contrib.disk_config.ServerDiskConfigController object at 0x3836890, bound method ExtendedStatusController.show of nova.api.openstack.compute.contrib.extended_status.ExtendedStatusController object at 0x39d3f10, bound method ExtendedServerAttributesController.show of nova.api.openstack.compute.contrib.extended_server_attributes.ExtendedServerAttributesController object at 0x3d0bf50] 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] HTTP exception thrown: The resource could not be found. 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] http://10.232.90.82:8774/v2/e216fcb54dc944a8ab16e4e325299643/servers/metadetail?instance_metadata.key=Server+Groupinstance_metadata.value=DOM1returned with HTTP 404 Can any one help me on Where did I go wrong? How to integrate new methods into the API (I know via Extensions we can make it but Now testing this kind of approach)? Please help me find a solution / path way to integrate new methods into the API. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Adding new method to nova API throws exception
Hi- Can any one help me out on this please. Thanking u all -- Trinath On Sep 17, 2012 1:42 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Stackers- I'm working on currently adding an additional method to the NOVA API. The new method groups the servers based on the metadata. It returns a group of server UUIDs based on the Metadata information in the URL from client. For the same I have modified the following files. [1] update the nova.api.openstack.compute.__init__.py with the following mapper.resource. mapper.resource(server,servers, controller = self.resources['servers'], collection={'metadetail':'GET'}, member={'action':'POST'}) [2] Update the nova.api.openstack.compute.servers.py with the following function @wsgi.serializers(xml=ServerTemplate) def metadetail(self,req): Return the servers UUIDs based on the META data infortmation return; Being a newbee to understand the code well, I have updated the novaclient api, to redirect the request to /server/metadetail/{metadata_details} But the approach was unsuccessful. 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] GET http://10.232.90.82:8774/v2/e216fcb54dc944a8ab16e4e325299643/servers/metadetail?instance_metadata.key=Server+Groupinstance_metadata.value=DOM1 Trinath My request went, good 2012-09-17 13:27:11 DEBUG nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] WSGI :: get_action_args :: {'action': u'show', 'project_id': u'e216fcb54dc944a8ab16e4e325299643', 'id': u'metadetail'} from (pid=24295) get_action_args /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:700 Trinath Why is that the actions in show here with a ID metadetail.? Where did I go wrong. 2012-09-17 13:27:11 DEBUG nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Unrecognized Content-Type provided in request from (pid=24295) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:708 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Trinath LOG ** [_process_stack] contents = {} 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Trinath LOG ** [_process_stack] action_args = {'project_id': u'e216fcb54dc944a8ab16e4e325299643', 'id': u'metadetail'} 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] Trinath LOG ** [pre_process_extension] extensions = [bound method ServerDiskConfigController.show of nova.api.openstack.compute.contrib.disk_config.ServerDiskConfigController object at 0x3836890, bound method ExtendedStatusController.show of nova.api.openstack.compute.contrib.extended_status.ExtendedStatusController object at 0x39d3f10, bound method ExtendedServerAttributesController.show of nova.api.openstack.compute.contrib.extended_server_attributes.ExtendedServerAttributesController object at 0x3d0bf50] 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] HTTP exception thrown: The resource could not be found. 2012-09-17 13:27:11 INFO nova.api.openstack.wsgi [req-e9c7c50e-6f71-4757-bb69-7971ab81a8a7 9e4a57c9e6a944de9404b963f260b464 e216fcb54dc944a8ab16e4e325299643] http://10.232.90.82:8774/v2/e216fcb54dc944a8ab16e4e325299643/servers/metadetail?instance_metadata.key=Server+Groupinstance_metadata.value=DOM1returned with HTTP 404 Can any one help me on Where did I go wrong? How to integrate new methods into the API (I know via Extensions we can make it but Now testing this kind of approach)? Please help me find a solution / path way to integrate new methods into the API. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Folsom Glance Image Upload
Hi, Can anyone help me in adding images to Folsom- Glance for creating VMs on non-x86 platform like PowerPC64 or Embedded processors using individual files for dtb[optional], kernel image [uImage] and rootfs. Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Writing Methods for Nova API
Hi- I'm trying to understand the NOVA api request process flow. Using my custom script, testing.py, I have created a server with some metadata. It was successful. But I have modified to script this way. I have written a definition, metadetailserver(self,detailed=True,search_opts=sMetadata) in a custom file testing.py which uses the novaclient apis. the sMetadata is a dict with the following values: sMetadata = {key:Created By,value:TestApp.py} Also, in the wsgi.py, I have handled this method for framing the request as server/metadetail/ with the metadata values as options using URLencode. But then I understood that in nova/api/compute/__init__.py have routers and resource handlers which map the request to the respective controller and methods. I want to know on [1] How to map the request to the appropriate controller and method ? With respect to my code study, I came to know that there are view builders which frame the response in XML or Json formats. [2] How to hook a self/newly defined view builder with the new method. In the code flow study, I was confused or lost at certain points of request flow. Can any one kindly help me understand the same. Thanks in advance. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Understanding NOVA api
Hi- With respect to Essex Release, I'm trying you understand the nova api. How to the client sent URIs are mapped to controller methods? Like, I prepared the URI as /server/details/id is mapped to get_details in the server class of Nova API. How is this logical mapping done? Please help me understand the same. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [OpenStack][Nova] Reuse part of Nova-API
Hi vish- Can please outline about or point to some source where we get info on nava compute api code structure and relationship between the different classes This helps devs to understand the code orientation and request flow inside the api. - Trinaths On Sep 13, 2012 6:04 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: Sure, you could write a different implementation of compute.api (and network.api and volume.api if needed) to talk to the other provider. Vish On Sep 12, 2012, at 8:45 AM, Leander Bessa Beernaert leande...@gmail.com wrote: Hello, I've been tasked with translating the OpenStack API to another provider, so that the other provider is able to handle both it's own API and requests nova's API. Is it possible to reuse most of nova-api's handling of the REST request and simply change the underlying execution? In other words, make nova-api act as a translation proxy for the other provider?. -- Cumprimentos / Regards, Leander ___ 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 ___ 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 Configuration
Hi- With respect to the nova.conf configuration options, http://wiki.openstack.org/NovaConfigOptions What are the typical required configuration options for a COMPUTE NODE which hosts the VM instances should have? In the Installation guide, it a simple copy and paste of the configuration options from CONTROLLER. Can any one guide me on understanding the same. Thanking you.. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Quantum DHCP support.
Hi Suzuki- I'm interested in the kind of setup your running with. Can u guide with some inputs on bringing up the Devstack_QuantumV2 +OVS setup. Thanking you. - TNS On Tue, Sep 4, 2012 at 2:33 PM, Takaaki Suzuki suz...@midokura.com wrote: Hi Currently, I see that DHCP instance is created per network, at least from looking at the Dnsmasq implementation. I'm curious to know how a DHCP instance can provide services to a VM attached to a port on a network that has multiple subnets. It doesn't seem possible to me that a VM can get two IP addresses on an interface from this DHCP server. Is this feature supported in Quantum? I ran a quick test using Devstack + QuantumV2 + OVS plugin. I created one network called test04, and two subnets for tor the network, 192.168.10.0/24 and 192.168.30.0/24. With Dnsmasq running as the DHCP server, I launched a VM, and as suspected, it did not receive any IP address. I checked the Dnsmasq log and it looked like it did receive DHCPDISCOVER message but it did not offer anything back. I would love to know there is actually a way to get this to work, or if I'm missing some critical steps here. Thanks! Suzuki ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Essex Quantum+OVS Doubt
Hi- With respect to Quantum-ovs-plugin-agent, which will be running in the compute node, I have the following doubts. The core and expected functionality, is that,, [1] the port is tagged with a 'tag'. [2] deletion of flows. Is my understanding CORRECT? If not what more tasks are performed by this AGENT.? Please help me in this regard. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Unable to start NOVA VOLUME
AS volumes_instance_id, volumes.mountpoint AS volumes_mountpoint, volumes.attach_time AS volumes_attach_time, volumes.status AS volumes_status, volumes.attach_status AS volumes_attach_status, volumes.scheduled_at AS volumes_scheduled_at, volumes.launched_at AS volumes_launched_at, volumes.terminated_at AS volumes_terminated_at, volumes.display_name AS volumes_display_name, volumes.display_description AS volumes_display_description, volumes.provider_location AS volumes_provider_location, volumes.provider_auth AS volumes_provider_auth, volumes.volume_type_id AS volumes_volume_type_id, instances_1.created_at AS instances_1_created_at, instances_1.updated_at AS instances_1_updated_at, instances_1.deleted_at AS instances_1_deleted_at, instances_1.deleted AS instances_1_deleted, instances_1.id AS instances_1_id, instances_1.user_id AS instances_1_user_id, instances_1.project_id AS instances_1_project_id, instances_1.image_ref AS instances_1_image_ref, instances_1.kernel_id AS instances_1_kernel_id, instances_1.ramdisk_id AS instances_1_ramdisk_id, instances_1.server_name AS instances_1_server_name, instances_1.launch_index AS instances_1_launch_index, instances_1.key_name AS instances_1_key_name, instances_1.key_data AS instances_1_key_data, instances_1.power_state AS instances_1_power_state, instances_1.vm_state AS instances_1_vm_state, instances_1.task_state AS instances_1_task_state, instances_1.memory_mb AS instances_1_memory_mb, instances_1.vcpus AS instances_1_vcpus, instances_1.root_gb AS instances_1_root_gb, instances_1.ephemeral_gb AS instances_1_ephemeral_gb, instances_1.hostname AS instances_1_hostname, instances_1.host AS instances_1_host, instances_1.instance_type_id AS instances_1_instance_type_id, instances_1.user_data AS instances_1_user_data, instances_1.reservation_id AS instances_1_reservation_id, instances_1.scheduled_at AS instances_1_scheduled_at, instances_1.launched_at AS instances_1_launched_at, instances_1.terminated_at AS instances_1_terminated_at, instances_1.availability_zone AS instances_1_availability_zone, instances_1.display_name AS instances_1_display_name, instances_1.display_description AS instances_1_display_description, instances_1.launched_on AS instances_1_launched_on, instances_1.locked AS instances_1_locked, instances_1.os_type AS instances_1_os_type, instances_1.architecture AS instances_1_architecture, instances_1.vm_mode AS instances_1_vm_mode, instances_1.uuid AS instances_1_uuid, instances_1.root_device_name AS instances_1_root_device_name, instances_1.default_ephemeral_device AS instances_1_default_ephemeral_device, instances_1.default_swap_device AS instances_1_default_swap_device, instances_1.config_drive AS instances_1_config_drive, instances_1.access_ip_v4 AS instances_1_access_ip_v4, instances_1.access_ip_v6 AS instances_1_access_ip_v6, instances_1.auto_disk_config AS instances_1_auto_disk_config, instances_1.progress AS instances_1_progress, instances_1.shutdown_terminate AS instances_1_shutdown_terminate, instances_1.disable_terminate AS instances_1_disable_terminate, instances_1.cell_name AS instances_1_cell_name, volume_metadata_1.created_at AS volume_metadata_1_created_at, volume_metadata_1.updated_at AS volume_metadata_1_updated_at, volume_metadata_1.deleted_at AS volume_metadata_1_deleted_at, volume_metadata_1.deleted AS volume_metadata_1_deleted, volume_metadata_1.idAS volume_metadata_1_id, volume_metadata_1.`key` AS volume_metadata_1_key, volume_metadata_1.value AS volume_metadata_1_value, volume_metadata_1.volume_id AS volume_metadata_1_volume_id, volume_types_1.created_at AS volume_types_1_created_at, volume_types_1.updated_at AS volume_types_1_updated_at, volume_types_1.deleted_at AS volume_types_1_deleted_at, volume_types_1.deleted AS volume_types_1_deleted, volume_types_1.id AS volume_types_1_id, volume_types_1.name AS volume_types_1_name \nFROM volumes LEFT OUTER JOIN instances AS instances_1 ON volumes.instance_id = instances_1.id AND volumes.deleted = %s LEFT OUTER JOIN volume_metadata AS volume_metadata_1 ON volume_metadata_1.volume_id = volumes.id AND volume_metadata_1.deleted = %s LEFT OUTER JOIN volume_types AS volume_types_1 ON volumes.volume_type_id = volume_types_1.id AND volume_types_1.deleted = %s \nWHERE volumes.deleted = %s AND volumes.host = %s' (0, 0, 0, 0, 'OpenstackController') 2012-09-03 12:26:22 TRACE nova Can any one kindly please guide me on troubleshooting the issue. Thanking you all.. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Compute node Configuration
Hi- With respect to the nova.conf configuration options, http://wiki.openstack.org/NovaConfigOptions What are the typical required configuration options for a COMPUTE NODE which hosts the VM instances should have? In the Installation guide, it a simple copy and paste of the configuration options from CONTROLLER. Can any one guide me on understanding the same. Thanking you.. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom-3 Glance Installation DB error
Hi Unicell-' But still I get the same error. When I issue the glance command, the following warning is issued. WARNING! This tool is deprecated in favor of python-glanceclient... Can any one help me on how to resolve the issue. - TNS On Thu, Aug 30, 2012 at 8:47 PM, unicell unic...@gmail.com wrote: Hi Trinath, For the first db_sync issue you mentioned, it seems to be caused by Folsom version of glance-manage db_sync, which is caused glance-manage db_sync followed by glance version_control 0. And I can duplicate it at my side. Brian is working on another issue ( https://bugs.launchpad.net/glance/+bug/1042925 ), the proposed solution might be helpful for this issue, I think. For now, as a workaround, you can simply run glance-manage db_sync, and no need for glance-manage version_control 0. glance-manage db_sync command alone is enough to create the database model. For the second issue you mentioned, glance index is deprecated in Folsom. You can now refer to glance image-list and glance --help for more information. Best Regards, -- Qiu Yu http://www.unicell.info On Thu, Aug 30, 2012 at 5:42 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- This issue is resolved, reset the mysql passcode for glance. But struck with another issue, 'glance index' command. I have issued 'glance index' command to check the accuracy of my glance installations. But I got the following error /opt/stack/glance/glance/openstack/common/version.py:22: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources WARNING! This tool is deprecated in favor of python-glanceclient (see http://github.com/openstack/python-glanceclient). Failed to show index. Got error: [Errno 111] Connection refused Can any one help me on solving this issue. - TNS On Wed, Aug 29, 2012 at 10:25 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- here are my steps: [1] I have just downloaded the tar.gz file of glance [2] untar and run the following commands, python setup.py build , python setup.py install [3] create the galnce db in mysql manually. [4] previously done with keystone work as specified in the ESSESX release, since I dont have folsom-3 specific document to go with, [5] updated glance-registry.conf, glance-api-paste.ini, glance-registry-api.ini (some difference in file name, as I did not remember them) with SQL information. [6] run command ' glance-manage versiont_control 0' [7] run command 'glance-manage db_sync' This is the complete set of order of steps I have used, and at the end of the 7th step, I got the below error. Can you please guide me on troubleshooting the issue. Thanking you the reply. - TNS. On Wed, Aug 29, 2012 at 8:12 PM, Brian Waldon bcwal...@gmail.comwrote: Can you share the sequence of commands you used during the install process? On Aug 29, 2012, at 3:18 AM, Trinath Somanchi wrote: Hi- I have installed Openstack Folsom-3 Glance for my testing and found this error while db sync. /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py:8: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources Traceback (most recent call last): File ./bin/glance-manage, line 131, in module main() File ./bin/glance-manage, line 127, in main dispatch_cmd(args) File ./bin/glance-manage, line 103, in dispatch_cmd cmd_func(args) File ./bin/glance-manage, line 91, in do_db_sync glance.db.sqlalchemy.migration.db_sync(version, current_version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 124, in db_sync upgrade(version=version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 67, in upgrade return versioning_api.upgrade(sql_connection, repo_path, version) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/api.py, line 186, in upgrade return _migrate(url, repository, version, upgrade=True, err=err, **opts) File string, line 2, in _migrate File /usr/local/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py, line 159, in with_engine return f(*a, **kw) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/api.py, line 366, in _migrate schema.runchange(ver, change, changeset.step) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/schema.py, line 91, in runchange change.run(self.engine, step) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/script/py.py, line 145, in run script_func(engine) File /opt/stack/glance/glance/db/sqlalchemy/migrate_repo/versions/001_add_images_table.py, line 49, in upgrade
[Openstack] Openstack NOVA and Metadata.
Hi- While going through the source code of the Nova API, i came across the following comments. class CommonDeserializer(wsgi.MetadataXMLDeserializer): Common deserializer to handle xml-formatted server create requests. Handles standard server attributes as well as optional metadata and personality attributes metadata_deserializer = common.MetadataXMLDeserializer() def _extract_personality(self, server_node): Marshal the personality attribute of a parsed request node = self.find_first_child_named(server_node, personality) if node is not None: personality = [] for file_node in self.find_children_named(node, file): item = {} if file_node.hasAttribute(path): item[path] = file_node.getAttribute(path) item[contents] = self.extract_text(file_node) personality.append(item) return personality else: return None .. . Just very interested to know, what kind of metadata is possible here and what doest this PERSONALITY attribute mean. Can any me help understand the role of METADATA and its attributes with an example. Even When I brought up the instance, when I view the logs, haven't found any information regarding the metadata. Please help me in this regard. Thanking you all. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom-3 Glance Installation DB error
Hi Unicell- Thanks fro the reply, Can u guide me on what exact command I need to use to get the list of images present with glance. I Essex release I used, 'glance index' to get the list of Images. Hi All- It could be helpful, though Folsom-3 is a milestone for Folsom release, to have web page or a document listing all the changes that are in place with respect to the particular milestone and the differences in execution of basic commands that are modified or deprecated from Essex release. Thanking you all. this kind of document/draft can be a real helping hand. - TNS On Fri, Aug 31, 2012 at 4:33 PM, unicell unic...@gmail.com wrote: Make sure you used glance command from python-glanceclient project, instead of the command shipped with glance project. More information here http://bcwaldon.cc/2012/08/20/openstack-folsom-glance-overview Best Regards, -- Qiu Yu http://www.unicell.info On Fri, Aug 31, 2012 at 3:54 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi Unicell-' But still I get the same error. When I issue the glance command, the following warning is issued. WARNING! This tool is deprecated in favor of python-glanceclient... Can any one help me on how to resolve the issue. - TNS On Thu, Aug 30, 2012 at 8:47 PM, unicell unic...@gmail.com wrote: Hi Trinath, For the first db_sync issue you mentioned, it seems to be caused by Folsom version of glance-manage db_sync, which is caused glance-manage db_sync followed by glance version_control 0. And I can duplicate it at my side. Brian is working on another issue ( https://bugs.launchpad.net/glance/+bug/1042925 ), the proposed solution might be helpful for this issue, I think. For now, as a workaround, you can simply run glance-manage db_sync, and no need for glance-manage version_control 0. glance-manage db_sync command alone is enough to create the database model. For the second issue you mentioned, glance index is deprecated in Folsom. You can now refer to glance image-list and glance --help for more information. Best Regards, -- Qiu Yu http://www.unicell.info On Thu, Aug 30, 2012 at 5:42 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- This issue is resolved, reset the mysql passcode for glance. But struck with another issue, 'glance index' command. I have issued 'glance index' command to check the accuracy of my glance installations. But I got the following error /opt/stack/glance/glance/openstack/common/version.py:22: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources WARNING! This tool is deprecated in favor of python-glanceclient (see http://github.com/openstack/python-glanceclient). Failed to show index. Got error: [Errno 111] Connection refused Can any one help me on solving this issue. - TNS On Wed, Aug 29, 2012 at 10:25 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- here are my steps: [1] I have just downloaded the tar.gz file of glance [2] untar and run the following commands, python setup.py build , python setup.py install [3] create the galnce db in mysql manually. [4] previously done with keystone work as specified in the ESSESX release, since I dont have folsom-3 specific document to go with, [5] updated glance-registry.conf, glance-api-paste.ini, glance-registry-api.ini (some difference in file name, as I did not remember them) with SQL information. [6] run command ' glance-manage versiont_control 0' [7] run command 'glance-manage db_sync' This is the complete set of order of steps I have used, and at the end of the 7th step, I got the below error. Can you please guide me on troubleshooting the issue. Thanking you the reply. - TNS. On Wed, Aug 29, 2012 at 8:12 PM, Brian Waldon bcwal...@gmail.comwrote: Can you share the sequence of commands you used during the install process? On Aug 29, 2012, at 3:18 AM, Trinath Somanchi wrote: Hi- I have installed Openstack Folsom-3 Glance for my testing and found this error while db sync. /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py:8: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources Traceback (most recent call last): File ./bin/glance-manage, line 131, in module main() File ./bin/glance-manage, line 127, in main dispatch_cmd(args) File ./bin/glance-manage, line 103, in dispatch_cmd cmd_func(args) File ./bin/glance-manage, line 91, in do_db_sync glance.db.sqlalchemy.migration.db_sync(version, current_version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 124, in db_sync upgrade(version=version) File /opt/stack/glance
Re: [Openstack] [openstack-dev] Openstack NOVA and Metadata.
Hi Vish- Thanks for the reply. I need much more info on these. [1] Where this Metadata comes into picture., while launching the instance, or after instance is launched ? [2] In the Essex release, how can he see what metadata is being prepared and used ? [3] What is the use of this metadata. [4] In scenario of Nova+Quantum+OVS (Essex Release) at what places this metadata is used, How is it prepared, where it is parsed and understood, What data does it contain? Though I have too many questions, I'm in need of these since, Want to understand the ROLE of metadata concept? Kindly please help me understand the same. -- TNS On Fri, Aug 31, 2012 at 9:21 PM, Vishvananda Ishaya vishvana...@gmail.comwrote: Server Metadata: http://docs.openstack.org/api/openstack-compute/2/content/Server_Metadata-d1e2529.html More Metadata Info: http://docs.openstack.org/api/openstack-compute/2/content/MetadataSection.html Personalities: http://docs.openstack.org/api/openstack-compute/2/content/Server_Personality-d1e2543.html Vish On Aug 31, 2012, at 2:52 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- While going through the source code of the Nova API, i came across the following comments. class CommonDeserializer(wsgi.MetadataXMLDeserializer): Common deserializer to handle xml-formatted server create requests. Handles standard server attributes as well as optional metadata and personality attributes metadata_deserializer = common.MetadataXMLDeserializer() def _extract_personality(self, server_node): Marshal the personality attribute of a parsed request node = self.find_first_child_named(server_node, personality) if node is not None: personality = [] for file_node in self.find_children_named(node, file): item = {} if file_node.hasAttribute(path): item[path] = file_node.getAttribute(path) item[contents] = self.extract_text(file_node) personality.append(item) return personality else: return None .. . Just very interested to know, what kind of metadata is possible here and what doest this PERSONALITY attribute mean. Can any me help understand the role of METADATA and its attributes with an example. Even When I brought up the instance, when I view the logs, haven't found any information regarding the metadata. Please help me in this regard. Thanking you all. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ OpenStack-dev mailing list openstack-...@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list openstack-...@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [openstack-dev] Openstack NOVA and Metadata.
Hi Guys- Thanks a lot for the replies, One more doubt. Where is this metadata stored in the Nova Database. Please help me understand the same. -- TNS On Sat, Sep 1, 2012 at 12:16 AM, Anne Gentle a...@openstack.org wrote: Though I have too many questions, I'm in need of these since, Want to understand the ROLE of metadata concept? The role is simple - you can set metadata on a server, and retrieve it later if you wish. Let's say you're creating a web interface, like a dashboard, that talks to the Compute API. You might want to let your users assign tags to their servers like LAMP or WAMP or production or testarea - metadata could be used for that use case. Hope this helps. Anne ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Endpoint in Folsom-3
Hi- Is there any differences with respect to the Essex release of Keystone endpoint configuration. Form the Essex Started Guide, root@openstackController:~# keystone endpoint-list +--+--++++ |id| region | publicurl |internalurl | adminurl | +--+--++++ | 0c629c65385d45abb10a10a55f6e9911 | myregion | http://10.232.90.115:9292/v1|http://10.232.90.115:9292/v1 |http://10.232.90.115:9292/v1| | 4d046b360dbe4df18877915dba1734b2 | myregion | http://10.232.90.115:8774/v2/$(tenant_id)s | http://10.232.90.115:8774/v2/$(tenant_id)s | http://10.232.90.115:8774/v2/$(tenant_id)s | | 7e4d6ecce5ff44569953140079ca9379 | myregion | http://10.232.90.115:8776/v1/$(tenant_id)s | http://10.232.90.115:8776/v1/$(tenant_id)s | http://10.232.90.115:8776/v1/$(tenant_id)s | | e5aab3fe01c242efba692a64ee588afd | myregion | http://10.232.90.115:5000/v2.0 | http://10.232.90.115:5000/v2.0 | http://10.232.90.115:35357/v2.0 | +--+--++++ I mean, the Public, internal and admin URL ports and data ?? Please update me with the new info on this if any... Thanking you all -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom-3 Glance 'glance index' error
Hi- I have downloaded the glance component of Openstack Folsom-3 milestone. When I executed the 'glance index' command to test the accuracy of my glance installation and configuration, I get this error. /opt/stack/glance/glance/openstack/common/version.py:22: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources WARNING! This tool is deprecated in favor of python-glanceclient (see http://github.com/openstack/python-glanceclient). Failed to show index. Got error: [Errno 111] Connection refused Can any one help on solving this issue. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom-3 Glance Installation DB error
Hi- This issue is resolved, reset the mysql passcode for glance. But struck with another issue, 'glance index' command. I have issued 'glance index' command to check the accuracy of my glance installations. But I got the following error /opt/stack/glance/glance/openstack/common/version.py:22: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources WARNING! This tool is deprecated in favor of python-glanceclient (see http://github.com/openstack/python-glanceclient). Failed to show index. Got error: [Errno 111] Connection refused Can any one help me on solving this issue. - TNS On Wed, Aug 29, 2012 at 10:25 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- here are my steps: [1] I have just downloaded the tar.gz file of glance [2] untar and run the following commands, python setup.py build , python setup.py install [3] create the galnce db in mysql manually. [4] previously done with keystone work as specified in the ESSESX release, since I dont have folsom-3 specific document to go with, [5] updated glance-registry.conf, glance-api-paste.ini, glance-registry-api.ini (some difference in file name, as I did not remember them) with SQL information. [6] run command ' glance-manage versiont_control 0' [7] run command 'glance-manage db_sync' This is the complete set of order of steps I have used, and at the end of the 7th step, I got the below error. Can you please guide me on troubleshooting the issue. Thanking you the reply. - TNS. On Wed, Aug 29, 2012 at 8:12 PM, Brian Waldon bcwal...@gmail.com wrote: Can you share the sequence of commands you used during the install process? On Aug 29, 2012, at 3:18 AM, Trinath Somanchi wrote: Hi- I have installed Openstack Folsom-3 Glance for my testing and found this error while db sync. /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py:8: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources Traceback (most recent call last): File ./bin/glance-manage, line 131, in module main() File ./bin/glance-manage, line 127, in main dispatch_cmd(args) File ./bin/glance-manage, line 103, in dispatch_cmd cmd_func(args) File ./bin/glance-manage, line 91, in do_db_sync glance.db.sqlalchemy.migration.db_sync(version, current_version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 124, in db_sync upgrade(version=version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 67, in upgrade return versioning_api.upgrade(sql_connection, repo_path, version) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/api.py, line 186, in upgrade return _migrate(url, repository, version, upgrade=True, err=err, **opts) File string, line 2, in _migrate File /usr/local/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py, line 159, in with_engine return f(*a, **kw) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/api.py, line 366, in _migrate schema.runchange(ver, change, changeset.step) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/schema.py, line 91, in runchange change.run(self.engine, step) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/script/py.py, line 145, in run script_func(engine) File /opt/stack/glance/glance/db/sqlalchemy/migrate_repo/versions/001_add_images_table.py, line 49, in upgrade create_tables(tables) File /opt/stack/glance/glance/db/sqlalchemy/migrate_repo/schema.py, line 96, in create_tables table.create() File /usr/local/lib/python2.7/dist-packages/sqlalchemy/schema.py, line 594, in create checkfirst=checkfirst) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 2303, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1973, in _run_visitor **kwargs).traverse_single(element) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py, line 106, in traverse_single return meth(obj, **kw) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/ddl.py, line 86, in visit_table self.connection.execute(schema.CreateTable(table)) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1449, in execute params) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1542, in _execute_ddl compiled File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1698, in _execute_context
[Openstack] Keystone Error
Hi- When I'm logging into Horizon of Openstack Essex release, I'm getting this error in the keystone log file... (root): 2012-08-29 12:45:50,030 ERROR (IntegrityError) (1062, Duplicate entry '' for key 'PRIMARY') 'INSERT INTO token (id, expires, extra) VALUES (%s, %s, %s)' ('6796383476b8442d9a3b9fd488d56e05', datetime.datetime(2012, 8, 30, 7, 15, 50, 24114), '{metadata: {}, user: {email: ad...@openstack.com, enabled: true, id: 668f5d9ca716417fa16208828c5acea8, name: admin, tenantId: null}, tenant: null}') 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 286, 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/token/backends/sql.py, line 70, in create_token session.flush() File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 1547, in flush self._flush(objects) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 1616, in _flush flush_context.execute() File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py, line 328, in execute rec.execute(self) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py, line 472, in execute uow File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/mapper.py, line 2264, in _save_obj execute(statement, multiparams) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1405, in execute params) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1538, in _execute_clauseelement compiled_sql, distilled_params File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1646, in _execute_context context) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1639, in _execute_context context) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py, line 330, in do_execute cursor.execute(statement, parameters) File /usr/lib/python2.7/dist-packages/MySQLdb/cursors.py, line 174, in execute self.errorhandler(self, exc, value) File /usr/lib/python2.7/dist-packages/MySQLdb/connections.py, line 36, in defaulterrorhandler raise errorclass, errorvalue IntegrityError: (IntegrityError) (1062, Duplicate entry '' for key 'PRIMARY') 'INSERT INTO token (id, expires, extra) VALUES (%s, %s, %s)' ('6796383476b8442d9a3b9fd488d56e05', datetime.datetime(2012, 8, 30, 7, 15, 50, 24114), '{metadata: {}, user: {email: ad...@openstack.com, enabled: true, id: 668f5d9ca716417fa16208828c5acea8, name: admin, tenantId: null}, tenant: null}') Can any one guide me on trouble shooting the same -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Keystone Error
Hi- Oh. got the difference, thanks for the reply How to kow wat are all the differences that are in place form Essex to Folsom-3 in Openstack. Can you share me a document/link/details on this area. Thanking you for the help. -- TNS On Wed, Aug 29, 2012 at 9:52 PM, Vishvananda Ishaya vishvana...@gmail.comwrote: It looks like the primary key is not being inserted. It looks like you are trying to run an essex release of keystone against a folsom keystone db. The folsom db has a primary key of id_hash so the insert is failing. Vish On Aug 29, 2012, at 12:38 AM, Dolph Mathews dolph.math...@gmail.com wrote: Have you gotten this error more than once / is it reproducible at all? If it is reproducible, is the same token ID value (6796383476b8442d9a3b9fd488d56e05) being produced consistently? If I'm reading the traceback correctly, you actually produced a UUID4 collision (the probability of which is insanely small.. 1 in 2^256 I believe). It's far more likely that something else is broken :) Are you running more than one keystone instance? (would theoretically increase the likelihood of a collision, if that's actually what happened) -Dolph On Wed, Aug 29, 2012 at 2:17 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- When I'm logging into Horizon of Openstack Essex release, I'm getting this error in the keystone log file... (root): 2012-08-29 12:45:50,030 ERROR (IntegrityError) (1062, Duplicate entry '' for key 'PRIMARY') 'INSERT INTO token (id, expires, extra) VALUES (%s, %s, %s)' ('6796383476b8442d9a3b9fd488d56e05', datetime.datetime(2012, 8, 30, 7, 15, 50, 24114), '{metadata: {}, user: {email: ad...@openstack.com, enabled: true, id: 668f5d9ca716417fa16208828c5acea8, name: admin, tenantId: null}, tenant: null}') 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 286, 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/token/backends/sql.py, line 70, in create_token session.flush() File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 1547, in flush self._flush(objects) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 1616, in _flush flush_context.execute() File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py, line 328, in execute rec.execute(self) File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py, line 472, in execute uow File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/mapper.py, line 2264, in _save_obj execute(statement, multiparams) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1405, in execute params) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1538, in _execute_clauseelement compiled_sql, distilled_params File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1646, in _execute_context context) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1639, in _execute_context context) File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py, line 330, in do_execute cursor.execute(statement, parameters) File /usr/lib/python2.7/dist-packages/MySQLdb/cursors.py, line 174, in execute self.errorhandler(self, exc, value) File /usr/lib/python2.7/dist-packages/MySQLdb/connections.py, line 36, in defaulterrorhandler raise errorclass, errorvalue IntegrityError: (IntegrityError) (1062, Duplicate entry '' for key 'PRIMARY') 'INSERT INTO token (id, expires, extra) VALUES (%s, %s, %s)' ('6796383476b8442d9a3b9fd488d56e05', datetime.datetime(2012, 8, 30, 7, 15, 50, 24114), '{metadata: {}, user: {email: ad...@openstack.com, enabled: true, id: 668f5d9ca716417fa16208828c5acea8, name: admin, tenantId: null}, tenant: null}') Can any one guide me on trouble shooting the same -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- -Dolph ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack
Re: [Openstack] Openstack Folsom-3 Glance Installation DB error
Hi- here are my steps: [1] I have just downloaded the tar.gz file of glance [2] untar and run the following commands, python setup.py build , python setup.py install [3] create the galnce db in mysql manually. [4] previously done with keystone work as specified in the ESSESX release, since I dont have folsom-3 specific document to go with, [5] updated glance-registry.conf, glance-api-paste.ini, glance-registry-api.ini (some difference in file name, as I did not remember them) with SQL information. [6] run command ' glance-manage versiont_control 0' [7] run command 'glance-manage db_sync' This is the complete set of order of steps I have used, and at the end of the 7th step, I got the below error. Can you please guide me on troubleshooting the issue. Thanking you the reply. - TNS. On Wed, Aug 29, 2012 at 8:12 PM, Brian Waldon bcwal...@gmail.com wrote: Can you share the sequence of commands you used during the install process? On Aug 29, 2012, at 3:18 AM, Trinath Somanchi wrote: Hi- I have installed Openstack Folsom-3 Glance for my testing and found this error while db sync. /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py:8: UserWarning: Module glance was already imported from /opt/stack/glance/glance/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg is being added to sys.path import pkg_resources Traceback (most recent call last): File ./bin/glance-manage, line 131, in module main() File ./bin/glance-manage, line 127, in main dispatch_cmd(args) File ./bin/glance-manage, line 103, in dispatch_cmd cmd_func(args) File ./bin/glance-manage, line 91, in do_db_sync glance.db.sqlalchemy.migration.db_sync(version, current_version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 124, in db_sync upgrade(version=version) File /opt/stack/glance/glance/db/sqlalchemy/migration.py, line 67, in upgrade return versioning_api.upgrade(sql_connection, repo_path, version) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/api.py, line 186, in upgrade return _migrate(url, repository, version, upgrade=True, err=err, **opts) File string, line 2, in _migrate File /usr/local/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py, line 159, in with_engine return f(*a, **kw) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/api.py, line 366, in _migrate schema.runchange(ver, change, changeset.step) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/schema.py, line 91, in runchange change.run(self.engine, step) File /usr/local/lib/python2.7/dist-packages/migrate/versioning/script/py.py, line 145, in run script_func(engine) File /opt/stack/glance/glance/db/sqlalchemy/migrate_repo/versions/001_add_images_table.py, line 49, in upgrade create_tables(tables) File /opt/stack/glance/glance/db/sqlalchemy/migrate_repo/schema.py, line 96, in create_tables table.create() File /usr/local/lib/python2.7/dist-packages/sqlalchemy/schema.py, line 594, in create checkfirst=checkfirst) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 2303, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1973, in _run_visitor **kwargs).traverse_single(element) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py, line 106, in traverse_single return meth(obj, **kw) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/ddl.py, line 86, in visit_table self.connection.execute(schema.CreateTable(table)) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1449, in execute params) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1542, in _execute_ddl compiled File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1698, in _execute_context context) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1691, in _execute_context context) File /usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py, line 331, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (OperationalError) table images already exists u'\nCREATE TABLE images (\n\tid INTEGER NOT NULL, \n\tname VARCHAR(255), \n\ttype VARCHAR(30), \n\tsize INTEGER, \n\tstatus VARCHAR(30) NOT NULL, \n\tis_public BOOLEAN NOT NULL, \n\tlocation TEXT, \n\tcreated_at DATETIME NOT NULL, \n\tupdated_at DATETIME, \n\tdeleted_at DATETIME, \n\tdeleted BOOLEAN NOT NULL, \n\tPRIMARY KEY (id), \n\tCHECK (is_public IN (0, 1)), \n\tCHECK (deleted IN (0, 1))\n)\n\n' () Can any one help me on troubleshooting the same. -- Regards
[Openstack] Documentation help on Folsom -3 Milestone
Hi- Do we have any documentation help in configuration and validation of Openstack Folsom - 3 milestone? Please help me in this regard. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Documentation help on Folsom -3 Milestone
Hi Anne- Thanks for the reply. I'm testing the Openstack Folsom-3 milestone. Can u help me on changes needed in the configuration and running of Folsom-3 milestone code base with respect to the Essex release . Thanking you. - Trinath On Wed, Aug 29, 2012 at 7:43 AM, Anne Gentle a...@openstack.org wrote: Hi Trinath - Could you be more specific about your needs? Documentation for Folsom is an ongoing effort and the docs do not track to milestone releases. Are there specific areas like networking or volumes or computing that you are wanting to validate and configure? To run milestone-proposed branches using Devstack, you can edit the stackrc file prior to running the stack.sh script to point to specific repo branches of each project. See http://devstack.org/stackrc.html. Anne On Tue, Aug 28, 2012 at 1:43 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- Do we have any documentation help in configuration and validation of Openstack Folsom - 3 milestone? Please help me in this regard. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Upgrading from devstack pre-F3/quantum v1/OVS to latest not going well :-(
there is this: “Note: with v2, Quantum no longer uses the L3 + NAT logic from nova-network. Quantum will not have the equivalent functionality until F-3, so you won't be able to ping the VMs from the nova controller host.” Is that the reason?) The gw interface is the way I could ping VMs from the host. ** ** The missing gateway, horizon UI missing the create instance button, and not getting networks for VMs spun up by devstack’s exercise script are the major symptoms. I trust that devstack is up to sync with what is happening in Folsom, and that I am actually pulling down F3 code at this point (I’ve not tried to verify this). I’m not aware of any need to tweek the devstack exercise script, I am assuming it is designed to work as is. ** ** I’m thinking of wiping my entire disk and starting from scratch in case blowing away /etc/nova etc. and /opt/stack were not enough to reset state, but before I do this, any pointers to links or mail messages (I’ve scanned for relevant posts but missed finding any) that would be helpful before I do this? ** ** Thanks, ** ** syd ___ 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 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Folsom-3
Hi- I have installed Nova Folsom-3 using source code. But my installation did not create any nova-compute.conf or nova.conf in the /etc/ path, rather /usr/bin/nova* scripts are created. I want to know, In the Folsom-3 milestone of Nova, were there any changes to the nova.conf when compared to Essex release. Kindly help me understand the same. Thanking you all for the help... -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Folsom-3
Hi- Thanks for the reply, While installing from the source, will it not be copied from the source to /etc/nova .directory. I see that, /etc/nova directory itself is not created. On Fri, Aug 24, 2012 at 12:51 PM, Ritesh Nanda riteshnand...@gmail.comwrote: Hello Trinath, If you are installing it from source, it would be in your Source directory , there would be already etc directory and those files would not auto-generate would you have to configure it according to your setup. there would be nova-compute.conf with all the options u need to uncomment/comment options which you need for your setup. On Fri, Aug 24, 2012 at 11:27 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- I have installed Nova Folsom-3 using source code. But my installation did not create any nova-compute.conf or nova.conf in the /etc/ path, rather /usr/bin/nova* scripts are created. I want to know, In the Folsom-3 milestone of Nova, were there any changes to the nova.conf when compared to Essex release. Kindly help me understand the same. Thanking you all for the help... -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- * With Regards * * Ritesh Nanda * *** * http://www.ericsson.com/ -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] [Netstack] Openstack Folsom - 3 Installation
Hi - Rather than using this installation for every different package can I use devstack's stack.sh script to install the Openstack latest milestone release? Can any one comment on this. Thanking you, - Trinath On Thu, Aug 23, 2012 at 11:45 AM, Aaron Rosen aro...@nicira.com wrote: inline On Thu, Aug 23, 2012 at 1:34 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- Any inputs for understanding and resolving the issue... Kindly help me in this regard. -- Trinath On Wed, Aug 22, 2012 at 4:43 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi All- I'm installing Openstack Components of Folsom-3 milestone from the Tar files available from launchpad. Can any one guide me on the installation of the these components like the Essex component installation and configuration. I'm upto this level of Installation. For instance, Keystone component, I have untar the file and executed the following commands. *Keystone $* python setup.py build *Keystone $* python setup.py install. Will these two steps install the respective component and all its necessary components. Probably only need sudo python setup.py install With this type of Install can I use the Openstack components as I use them in the 'apt-get' based Essex installation. Yes, this is just a different method of installation. Kindly guide me on this... Thanking you all. -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Mailing list: https://launchpad.net/~netstack Post to : netst...@lists.launchpad.net Unsubscribe : https://launchpad.net/~netstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom - 3 Installation
Hi- I'm currently testing the capabilities of Openstack. Not going for any production deployment. So want to go with the folsom-3 milestone release. In the ReadMe file, for example, Nova-2012.2, no Installation information is given. The same file can be found here... https://github.com/openstack/nova I'm unable to install Folsom-3 Mile stone of the Openstack. Finally. Any Guidance would help me a lot... -- Trinath On Thu, Aug 23, 2012 at 1:49 PM, Matt Joyce matt.jo...@cloudscaling.comwrote: As I recall localrc had a setting in the past for picking releases to install. Not sure what the status of that is. On Thu, Aug 23, 2012 at 12:45 AM, Atul Jha atul@csscorp.com wrote: Hi Trinath, snip On Wed, Aug 22, 2012 at 4:43 PM, Trinath Somanchi trinath.soman...@gmail.commailto:trinath.soman...@gmail.com wrote: Hi All- I'm installing Openstack Components of Folsom-3 milestone from the Tar files available from launchpad. Can any one guide me on the installation of the these components like the Essex component installation and configuration. I'm upto this level of Installation. For instance, Keystone component, I have untar the file and executed the following commands. Keystone $ python setup.py build Keystone $ python setup.py install. Will these two steps install the respective component and all its necessary components. With this type of Install can I use the Openstack components as I use them in the 'apt-get' based Essex installation. Kindly guide me on this... /snip You are trying to install Folsom from the development version and that is why you are doing source code based installation. I am sure it comes with a README file which explains details about the source file. Now when you are talking about apt-get best install, it means you are trying to download the package which is bundled by one of the Linux distribution providers repository. Now here is the thing, since Folsom is still in development phase thats why the package based installation is still in process of baking/bake, so folks from Ubuntu are best to answer your question when it will be available. Lastly source based install is not suggested for Production Environment. I will hope this solves all your confusion and questions. Thanks, Atul Jha http://www.csscorp.com/common/email-disclaimer.php ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom - 3 Installation
Hi All- I'm installing Openstack Components of Folsom-3 milestone from the Tar files available from launchpad. Can any one guide me on the installation of the these components like the Essex component installation and configuration. I'm upto this level of Installation. For instance, Keystone component, I have untar the file and executed the following commands. *Keystone $* python setup.py build *Keystone $* python setup.py install. Will these two steps install the respective component and all its necessary components. With this type of Install can I use the Openstack components as I use them in the 'apt-get' based Essex installation. Kindly guide me on this... Thanking you all. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom - 3 Installation
Hi- Any inputs for understanding and resolving the issue... Kindly help me in this regard. -- Trinath On Wed, Aug 22, 2012 at 4:43 PM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi All- I'm installing Openstack Components of Folsom-3 milestone from the Tar files available from launchpad. Can any one guide me on the installation of the these components like the Essex component installation and configuration. I'm upto this level of Installation. For instance, Keystone component, I have untar the file and executed the following commands. *Keystone $* python setup.py build *Keystone $* python setup.py install. Will these two steps install the respective component and all its necessary components. With this type of Install can I use the Openstack components as I use them in the 'apt-get' based Essex installation. Kindly guide me on this... Thanking you all. -- Regards, -- Trinath Somanchi, +91 9866 235 130 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Folsom-3 git based installation failure.
/python2.7 -c greenlet.c -o build/temp.linux-x86_64-2.7/greenlet.o In file included from greenlet.c:5:0: * *greenlet.h:8:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 Complete output from command /usr/bin/python -c import setuptools;__file__='/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2/build/greenlet/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec')) install --single-version-externally-managed --record /tmp/pip-09WNsV-record/install-record.txt: running install running build running build_ext building 'greenlet' extension creating build creating build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-x86_64-2.7/greenlet.o In file included from greenlet.c:5:0: greenlet.h:8:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 Command /usr/bin/python -c import setuptools;__file__='/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2/build/greenlet/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec')) install --single-version-externally-managed --record /tmp/pip-09WNsV-record/install-record.txt failed with error code 1 Storing complete log in /root/.pip/pip.log root@openstackController:/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2# -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] 回复: 回复: Openstack Folsom 2 or 3
Hi - Thanks for the reply... Will there be any Installation help for bringing up Openstack using the Folsom-3 release on Fresh Ubuntu 12.04 LTS Server Machine. Kindly share with me the installation help. Thanking you all -- Trinath On Fri, Aug 17, 2012 at 1:23 PM, Aaron Rosen aro...@nicira.com wrote: By far in my opinion the easiest route to take in order to quickly try out and play with the latest code is www.devstack.org. Aaron On Fri, Aug 17, 2012 at 3:17 AM, Salvatore Orlando sorla...@nicira.comwrote: Hi, Folsom-3 is going to be released this evening GMT. Expect it to be available after 1700 GMT. You'll find both a folsom-3 tag on github, as well as tarballs downloadable from launchpad. Regards, Salvatore On 17 August 2012 08:50, 延生 付 willfly0...@yahoo.com.cn wrote: Seems not release yet. Hold on :) Regards, willfu *发件人:* Trinath Somanchi trinath.soman...@gmail.com *收件人:* 延生 付 willfly0...@yahoo.com.cn *抄送:* openstack@lists.launchpad.net openstack@lists.launchpad.net *发送日期:* 2012年8月17日, 星期五, 下午 2:25 *主题:* Re: 回复: [Openstack] Openstack Folsom 2 or 3 Hi- Thanks for the reply. How to download the Folsom-3 code base of Openstack... Can you guide me on this... Thanking you... --\ Trinath On Fri, Aug 17, 2012 at 11:47 AM, 延生 付 willfly0...@yahoo.com.cn wrote: Try this one for folsom 2. https://github.com/openstack/nova/tree/folsom-2 All the source is under https://github.com/openstack You can choose the required version. Regards, willfu *发件人:* Trinath Somanchi trinath.soman...@gmail.com *收件人:* openstack@lists.launchpad.net *发送日期:* 2012年8月17日, 星期五, 下午 12:59 *主题:* [Openstack] Openstack Folsom 2 or 3 Hi- I want to download the Openstack Folsom 2 or 3. Is Version 3 downloadable. My web search is not fruitful with the the link to the download of the release. Please guide me on downloading Openstack Folsom - 3 or 2 source code. thanking you, -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to: openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Openstack Folsom 2 or 3
Hi- I want to download the Openstack Folsom 2 or 3. Is Version 3 downloadable. My web search is not fruitful with the the link to the download of the release. Please guide me on downloading Openstack Folsom - 3 or 2 source code. thanking you, -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 DHCP
Hi- Rather than using Nova DHCP from Essex or Quantum based DHCP in the upcoming folsom release, Can we have a configurable option to use custom DHCP... Can any one tried this way or any one can help me how to get in this using Openstack Essex and also with Folsom releases. Thanking you all.. -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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] Networking error while creating VM
Guys- Its my config problem... Its troubleshooted... Now VMs are up and running... On Tue, Aug 7, 2012 at 10:19 AM, Trinath Somanchi trinath.soman...@gmail.com wrote: Hi- I'm seeing these errors in the COMPUTE-NODE nova-compute.log while bringing up the virtual machines. 2012-08-07 04:45:46 DEBUG nova.rpc.amqp [req-7e560f6e-0342-4799-83da-94e46d555d96 668f5d9ca716417fa16208828c5acea8 a17de6f647b14739acb33f09d246f72e] Pool creating new connection from (pid=27708) create /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:60 2012-08-07 04:45:46 INFO nova.rpc.common [req-7e560f6e-0342-4799-83da-94e46d555d96 668f5d9ca716417fa16208828c5acea8 a17de6f647b14739acb33f09d246f72e] Connected to AMQP server on 10.232.90.82:5672 2012-08-07 04:45:48 ERROR nova.compute.manager [req-7e560f6e-0342-4799-83da-94e46d555d96 668f5d9ca716417fa16208828c5acea8 a17de6f647b14739acb33f09d246f72e] [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] Instance failed network setup 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] Traceback (most recent call last): 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] File /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 565, in _allocate_network 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] requested_networks=requested_networks) 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] File /usr/lib/python2.7/dist-packages/nova/network/api.py, line 170, in allocate_for_instance 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] 'args': args}) 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] File /usr/lib/python2.7/dist-packages/nova/rpc/__init__.py, line 68, in call 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] return _get_impl().call(context, topic, msg, timeout) 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] File /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py, line 674, in call 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] return rpc_amqp.call(context, topic, msg, timeout, Connection.pool) 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] File /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 343, in call 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] rv = list(rv) 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] File /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 311, in __iter__ 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] raise result 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] RemoteError: Remote error: TypeError 'NoneType' object has no attribute '__getitem__' 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] [u'Traceback (most recent call last):\n', u' File /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 252, in _process_data\nrval = node_func(context=ctxt, **node_args)\n', u' File /usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py, line 357, in allocate_for_instance\nvif_rec, network[\'net_tenant_id\'])\n', u' File /usr/lib/python2.7/dist-packages/nova/utils.py, line 945, in inner\nretval = f(*args, **kwargs)\n', u' File /usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py, line 456, in enable_dhcp\nsubnet[\'network_id\'], project_id)\n', u' File /usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py, line 663, in get_dhcp_hosts_text\nips = self.ipam.get_allocated_ips(context, subnet_id, project_id)\n', u' File /usr/lib/python2.7/dist-packages/nova/network/quantum/nova_ipam_lib.py, line 238, in get_allocated_ips\nallocated_ips.append((ip[\'address\'], vif[\'uuid\']))\n', uTypeError: 'NoneType' object has no attribute '__getitem__'\n]. 2012-08-07 04:45:48 TRACE nova.compute.manager [instance: e0d0aa4b-6865-46da-a8f4-9257dd838ab4] 2012-08-07 04:45:48 ERROR nova.rpc.amqp [req-7e560f6e-0342-4799-83da-94e46d555d96 668f5d9ca716417fa16208828c5acea8 a17de6f647b14739acb33f09d246f72e] Exception during message handling 2012-08-07 04:45:48 TRACE nova.rpc.amqp Traceback (most recent call last): 2012-08-07 04:45:48 TRACE nova.rpc.amqp File /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 253, in _process_data 2012-08-07 04:45:48 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args) 2012-08-07 04:45:48 TRACE nova.rpc.amqp File /usr/lib/python2.7
[Openstack] Nova-Compute the VMs
Hi-' I have been testing the openstack for past few days... and I have a doubt here... From the Horizon in the CONTROLLER, VMs are created in the NODE machine. Using the virsh console at the NODE machine, I have suspended the VM. But the same VM-STATE is not populated in the HORIZON. Does Nova-Compute in the NODE machine check for the status of the VMs and update the DB periodically?? Help me understand the same... -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ 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 Compute and Drivers
Hi- Can any one guide me on the understanding the role of LinuxOVSInterfaceDriver and LibvirtOpenVswitchDriver in bringing up the VMs? Thanking you all -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp