AttributeError: add_floating_ip (OpenStack Queens)

Bug #1776082 reported by Cédric OLLIVIER on 2018-06-10
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vmtp
Undecided
Unassigned

Bug Description

Vtmp doesn't take into account last changes about clients (OpenStack Queens)

2018-06-10 15:04:36,814 ERROR Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vmtp/vmtp.py", line 475, in run
    self.setup()
  File "/usr/lib/python2.7/site-packages/vmtp/vmtp.py", line 318, in setup
    self.net.vm_int_net[0])
  File "/usr/lib/python2.7/site-packages/vmtp/vmtp.py", line 169, in create_instance
    init_file_name=user_data_file))
  File "/usr/lib/python2.7/site-packages/vmtp/perf_instance.py", line 47, in create
    init_file_name)
  File "/usr/lib/python2.7/site-packages/vmtp/instance.py", line 200, in create
    self.instance.add_floating_ip(self.ssh_access.host, ipv4_fixed_address)
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 180, in __getattr__
    raise AttributeError(k)
AttributeError: add_floating_ip

Nahian Chowdhury (nahian) wrote :

In my case, I had to downgrade the python-novaclient to 9.*.* (<10 version).
then It worked for me.

Nahian Chowdhury (nahian) wrote :

This is a serious bug that should be fixed for using it latest version of Openstack. Because in production system I can't simply downgrade my nova client.

Reviewed: https://review.openstack.org/580914
Committed: https://git.openstack.org/cgit/openstack/vmtp/commit/?id=9c016e3f9683ae557e8271ef358d9c1b59126cdf
Submitter: Zuul
Branch: master

commit 9c016e3f9683ae557e8271ef358d9c1b59126cdf
Author: Cédric Ollivier <email address hidden>
Date: Mon Jul 9 08:17:39 2018 +0200

    Levage on Neutron Floating IP support

    Floating IP support was removed from Nova client.
    Else Vmtp cannot work vs OpenStack Queens.

    Closes-Bug: #1776082
    Change-Id: I34d810aac537663fd638cd0a5dc950b7dafab92f
    Signed-off-by: Cédric Ollivier <email address hidden>

Changed in vmtp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers