yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84245
[Bug 1887775] Re: ValueError: Field `project_id' cannot be None
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]
** Changed in: nova
Status: Incomplete => Expired
--
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/1887775
Title:
ValueError: Field `project_id' cannot be None
Status in OpenStack Compute (nova):
Expired
Bug description:
when i try to call the http://server_ip/compute/v2.1/servers api(Rocky), it returns the info below.
{
"computeFault": {
"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<type 'exceptions.ValueError'>",
"code": 500
}
}
Body info:
{
"server" : {
"accessIPv4": "192.168.200.200",
"accessIPv6": "80fe::",
"name" : "new-server-test",
"imageRef" : "ad5f6722-bf8b-4caf-9ea3-e9f763933f33",
"flavorRef" : "1",
"availability_zone": "nova",
"OS-DCF:diskConfig": "AUTO",
"metadata" : {},
"security_groups": [
{
"name": "default"
}
],
"user_data" : "IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg=="
}
}
/var/log/nova/nova-api-wsgi.log:
DEBUG nova.compute.api None req-7cd26928-6c86-4589-ac01-e7bda2564efa None admin] Going to run 1 instances... {{(pid=24273) _provision_instances /opt/stack/nova/nova/compute/api.py:888}}
DEBUG nova.compute.api None req-7cd26928-6c86-4589-ac01-e7bda2564efa None admin] [instance: e28fa9fe-afcf-4a24-93ad-31b6e37a5b3f] block_device_mapping [BlockDeviceMapping(attachment_id=<?>,boot_index=0,connection_info=None,created_at=<?>,delete_on_termination=True,deleted=<?>,deleted_at=<?>,destination_type='local',device_name=None,device_type='disk',disk_bus=None,guest_format=None,id=<?>,image_id='ad5f6722-bf8b-4caf-9ea3-e9f763933f33',instance=<?>,instance_uuid=<?>,no_device=False,snapshot_id=None,source_type='image',tag=None,updated_at=<?>,uuid=<?>,volume_id=None,volume_size=None)] {{(pid=24273) _bdm_validate_set_size_and_instance /opt/stack/nova/nova/compute/api.py:1359}}
ERROR nova.api.openstack.wsgi None req-7cd26928-6c86-4589-ac01-e7bda2564efa None admin] Unexpected exception in API method: ValueError: Field `project_id' cannot be None
ERROR nova.api.openstack.wsgi Traceback (most recent call last):
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 801, in wrapped
ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/validation/__init__.py", line 110, in wrapper
ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 578, in create
ERROR nova.api.openstack.wsgi **create_kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/hooks.py", line 154, in inner
ERROR nova.api.openstack.wsgi rv = f(*args, **kwargs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/compute/api.py", line 1734, in create
ERROR nova.api.openstack.wsgi trusted_certs=trusted_certs)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/compute/api.py", line 1215, in _create_instance
ERROR nova.api.openstack.wsgi supports_multiattach, network_metadata)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/compute/api.py", line 1008, in _provision_instances
ERROR nova.api.openstack.wsgi self._cleanup_build_artifacts(None, instances_to_build)
ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR nova.api.openstack.wsgi self.force_reraise()
ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR nova.api.openstack.wsgi six.reraise(self.type_, self.value, self.tb)
ERROR nova.api.openstack.wsgi File "/opt/stack/nova/nova/compute/api.py", line 946, in _provision_instances
ERROR nova.api.openstack.wsgi tags=instance_tags)
ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 307, in __init__
ERROR nova.api.openstack.wsgi setattr(self, key, kwargs[key])
ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 72, in setter
ERROR nova.api.openstack.wsgi field_value = field.coerce(self, name, value)
ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/fields.py", line 199, in coerce
ERROR nova.api.openstack.wsgi return self._null(obj, attr)
ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/fields.py", line 177, in _null
ERROR nova.api.openstack.wsgi raise ValueError(_("Field `%s' cannot be None") % attr)
ERROR nova.api.openstack.wsgi ValueError: Field `project_id' cannot be None
ERROR nova.api.openstack.wsgi
INFO nova.api.openstack.wsgi None req-7cd26928-6c86-4589-ac01-e7bda2564efa None admin] 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.ValueError'>
DEBUG nova.api.openstack.wsgi None req-7cd26928-6c86-4589-ac01-e7bda2564efa None admin] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.ValueError'> {{(pid=24273) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1077}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1887775/+subscriptions
References