** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-rc1

-- 
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/1353949

Title:
  nova.exception.ExternalNetworkAttachForbidden is not handled in V3

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When creating an instance and assigning a public network to it without admin 
authority, ExternalNetworkAttachForbidden
  will be raised. But this exception is not handled in V3 api.

  2014-08-07 19:40:55.032 ERROR nova.api.openstack.extensions 
[req-a3a824a2-d477-4720-98c7-d3161de268ba demo demo] Unexpected exception in 
API method
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions Traceback (most 
recent call last):
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/api/openstack/extensions.py", line 473, in wrapped
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     return 
f(*args, **kwargs)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/api/validation/__init__.py", line 39, in wrapper
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/api/openstack/compute/plugins/v3/servers.py", line 507, 
in create
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     
**create_kwargs)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/hooks.py", line 131, in inner
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     rv = f(*args, 
**kwargs)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/compute/api.py", line 1351, in create
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     
legacy_bdm=legacy_bdm)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/compute/api.py", line 967, in _create_instance
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     max_count)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/compute/api.py", line 734, in 
_validate_and_build_base_options
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     
requested_networks, max_count)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/compute/api.py", line 447, in _check_requested_networks
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     max_count)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/network/neutronv2/api.py", line 709, in validate_networks
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     
neutron=neutron)
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions   File 
"/opt/stack/nova/nova/network/neutronv2/api.py", line 169, in 
_get_available_networks
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions     
network_uuid=net['id'])
  2014-08-07 19:40:55.032 TRACE nova.api.openstack.extensions 
ExternalNetworkAttachForbidden: It is not allowed to create an interface on 
external network 447d82c5-bf58-4f39-ac2f-a30227a464e2

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1353949/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to