yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72446
[Bug 1765293] [NEW] NotImplementedError: Cannot load 'networks' in the base class
Public bug reported:
Description
============
Error happens when I created a vm. And the command I used was :
$ [root@node-2 ~]# nova boot --image e6b41646-823b-4692-8415-a979e28ca3fd --flavor 7 --nic net-id=528fd684-dbb5-4264-81ef-65490966168b vm
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-b0204cad-3205-4efb-baf9-2cc11915a392)
Environment
=============
My environment shows below:
[root@node-2 ~]# rpm -qa|grep nova
openstack-nova-novncproxy-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-scheduler-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-console-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-conductor-13.0.0-4.0.0.el7.centos.noarch
python2-novaclient-3.3.2-4.0.0.el7.centos.noarch
python-nova-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-common-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-api-13.0.0-4.0.0.el7.centos.noarch
And the error message shows below:
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions [req-cd7d75d1-c244-4caa-99cd-66a333bb03cc 027fe9c126f14faab303868cecb38d8a d86ef3b239ab4253a38d5dbdb7cbeb43 - - -] Unexpected exception in API method
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 678, in create
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1012, in create
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions return self._create_instance(context, instance_type, image_href, kernel_id, ramdisk_id, min_count, max_count, display_name, display_description, key_name, key_data, security_group, availability_zone, user_data, metadata, injected_files, admin_password, access_ip_v4, access_ip_v6, requested_networks, config_drive, block_device_mapping, auto_disk_config, filter_properties=filter_properties, legacy_bdm=legacy_bdm, shutdown_terminate=shutdown_terminate, check_server_group_quota=check_server_group_quota)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 770, in _create_instance
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions instances = self._provision_instances(context, instance_type, min_count, max_count, base_options, boot_meta, security_groups, block_device_mapping, shutdown_terminate, instance_group, check_server_group_quota, filter_properties)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 685, in _provision_instances
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions quotas.rollback()
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions self.force_reraise()
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions six.reraise(self.type_, self.value, self.tb)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 654, in _provision_instances
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions req_spec.create()
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 223, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions return fn(self, *args, **kwargs)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/objects/request_spec.py", line 437, in create
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/objects/request_spec.py", line 382, in _from_db_object
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 67, in getter
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions self.obj_load_attr(name)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 580, in obj_load_attr
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions _("Cannot load '%s' in the base class") % attrname)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions NotImplementedError: Cannot load 'networks' in the base class
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions
2018-04-20 01:15:53.739 1223418 INFO nova.api.openstack.wsgi [req-cd7d75d1-c244-4caa-99cd-66a333bb03cc 027fe9c126f14faab303868cecb38d8a d86ef3b239ab4253a38d5dbdb7cbeb43 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'>
Did someone meet the similar problem like me?
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1765293
Title:
NotImplementedError: Cannot load 'networks' in the base class
Status in OpenStack Compute (nova):
New
Bug description:
Description
============
Error happens when I created a vm. And the command I used was :
$ [root@node-2 ~]# nova boot --image e6b41646-823b-4692-8415-a979e28ca3fd --flavor 7 --nic net-id=528fd684-dbb5-4264-81ef-65490966168b vm
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-b0204cad-3205-4efb-baf9-2cc11915a392)
Environment
=============
My environment shows below:
[root@node-2 ~]# rpm -qa|grep nova
openstack-nova-novncproxy-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-scheduler-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-console-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-conductor-13.0.0-4.0.0.el7.centos.noarch
python2-novaclient-3.3.2-4.0.0.el7.centos.noarch
python-nova-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-common-13.0.0-4.0.0.el7.centos.noarch
openstack-nova-api-13.0.0-4.0.0.el7.centos.noarch
And the error message shows below:
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions [req-cd7d75d1-c244-4caa-99cd-66a333bb03cc 027fe9c126f14faab303868cecb38d8a d86ef3b239ab4253a38d5dbdb7cbeb43 - - -] Unexpected exception in API method
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 678, in create
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1012, in create
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions return self._create_instance(context, instance_type, image_href, kernel_id, ramdisk_id, min_count, max_count, display_name, display_description, key_name, key_data, security_group, availability_zone, user_data, metadata, injected_files, admin_password, access_ip_v4, access_ip_v6, requested_networks, config_drive, block_device_mapping, auto_disk_config, filter_properties=filter_properties, legacy_bdm=legacy_bdm, shutdown_terminate=shutdown_terminate, check_server_group_quota=check_server_group_quota)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 770, in _create_instance
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions instances = self._provision_instances(context, instance_type, min_count, max_count, base_options, boot_meta, security_groups, block_device_mapping, shutdown_terminate, instance_group, check_server_group_quota, filter_properties)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 685, in _provision_instances
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions quotas.rollback()
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions self.force_reraise()
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions six.reraise(self.type_, self.value, self.tb)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 654, in _provision_instances
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions req_spec.create()
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 223, in wrapper
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions return fn(self, *args, **kwargs)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/objects/request_spec.py", line 437, in create
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/objects/request_spec.py", line 382, in _from_db_object
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 67, in getter
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions self.obj_load_attr(name)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 580, in obj_load_attr
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions _("Cannot load '%s' in the base class") % attrname)
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions NotImplementedError: Cannot load 'networks' in the base class
2018-04-20 01:15:53.736 1223418 ERROR nova.api.openstack.extensions
2018-04-20 01:15:53.739 1223418 INFO nova.api.openstack.wsgi [req-cd7d75d1-c244-4caa-99cd-66a333bb03cc 027fe9c126f14faab303868cecb38d8a d86ef3b239ab4253a38d5dbdb7cbeb43 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'>
Did someone meet the similar problem like me?
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1765293/+subscriptions
Follow ups