yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09092
[Bug 1273837] [NEW] Describe addresses in ec2 api broken with neutron
Public bug reported:
Describe addresses using the ec2 api is broken when using neutron. It
attempts to retrieve the fixed ip directly which by id:
https://github.com/openstack/nova/blob/bc10b3c2b222b5f5c6ee6ffb79c12a8d3e2931bf/nova/api/ec2/cloud.py#L1209
which is not supported by neutron:
https://github.com/openstack/nova/blob/bc10b3c2b222b5f5c6ee6ffb79c12a8d3e2931bf/nova/network/neutronv2/api.py#L693
It should be pulling the instance uuid from the floating list directly like we do in the v2 api:
https://github.com/openstack/nova/blob/bc10b3c2b222b5f5c6ee6ffb79c12a8d3e2931bf/nova/api/openstack/compute/contrib/floating_ips.py#L74
** Affects: nova
Importance: Medium
Status: Triaged
** Tags: ec2 havana-backport-potential
** Changed in: nova
Importance: Undecided => Medium
** Changed in: nova
Status: New => Triaged
** Tags added: ec2 havana-backport-potential
--
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/1273837
Title:
Describe addresses in ec2 api broken with neutron
Status in OpenStack Compute (Nova):
Triaged
Bug description:
Describe addresses using the ec2 api is broken when using neutron. It
attempts to retrieve the fixed ip directly which by id:
https://github.com/openstack/nova/blob/bc10b3c2b222b5f5c6ee6ffb79c12a8d3e2931bf/nova/api/ec2/cloud.py#L1209
which is not supported by neutron:
https://github.com/openstack/nova/blob/bc10b3c2b222b5f5c6ee6ffb79c12a8d3e2931bf/nova/network/neutronv2/api.py#L693
It should be pulling the instance uuid from the floating list directly like we do in the v2 api:
https://github.com/openstack/nova/blob/bc10b3c2b222b5f5c6ee6ffb79c12a8d3e2931bf/nova/api/openstack/compute/contrib/floating_ips.py#L74
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1273837/+subscriptions
Follow ups
References