save_running_config is not implemented in client

Bug #1666356 reported by Takanori Miyagishi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-fujitsu
Fix Released
Critical
Takanori Miyagishi

Bug Description

fossw vxlan driver calls save_running_config method of client.
but the method is not implemented, therefore the processing will be failed.

The traceback log is here:

2017-02-16 18:49:24.882 ERROR networking_fujitsu.ml2.fossw.mech_fossw [req-b9a3fec0-a8c0-4ccc-83dd-947cc4e88437 admin admin] Fujitsu Mechanism: failed to create vlxan switch(%(ip)). %(err)s
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw Traceback (most recent call last):
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw File "/usr/local/lib/python2.7/dist-packages/networking_fujitsu/ml2/fossw/mech_fossw.py", line 179, in create_network_postcommit_vxlan
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw self._vxlan_driver.create_logical_switch(net_uuid, vnid)
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw return f(*args, **kwargs)
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw File "/usr/local/lib/python2.7/dist-packages/networking_fujitsu/ml2/fossw/fossw_vxlandriver.py", line 140, in create_logical_switch
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw self._save_all_fossw()
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw File "/usr/local/lib/python2.7/dist-packages/networking_fujitsu/ml2/fossw/fossw_vxlandriver.py", line 71, in _save_all_fossw
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw self.client.save_running_config()
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw AttributeError: 'FOSSWClient' object has no attribute 'save_running_config'
2017-02-16 18:49:24.882 TRACE networking_fujitsu.ml2.fossw.mech_fossw

Changed in networking-fujitsu:
importance: Undecided → Critical
assignee: nobody → Takanori Miyagishi (miyagishi-t)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-fujitsu (master)

Fix proposed to branch: master
Review: https://review.openstack.org/451181

Changed in networking-fujitsu:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-fujitsu (master)

Reviewed: https://review.openstack.org/451181
Committed: https://git.openstack.org/cgit/openstack/networking-fujitsu/commit/?id=ea94cbad972bc46e40160e94996551bfd506449c
Submitter: Jenkins
Branch: master

commit ea94cbad972bc46e40160e94996551bfd506449c
Author: takanorimiyagishi <email address hidden>
Date: Wed Mar 29 13:35:56 2017 +0900

    Add save_running_config to fossw client

    Add save_running_config method to client.
    That method is not implemented in client.py. Therefore fossw driver always
    fails when driver try to call the method.

    Change-Id: Ib8824e869e247d446ee6d6b799b070f3b1dad73b
    Closes-Bug: #1666356

Changed in networking-fujitsu:
status: In Progress → Fix Released
Changed in networking-fujitsu:
milestone: none → 4.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-fujitsu (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/453096

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-fujitsu (stable/ocata)

Reviewed: https://review.openstack.org/453096
Committed: https://git.openstack.org/cgit/openstack/networking-fujitsu/commit/?id=ea9f98ac1edd29c91f9c71a98edc73fb0673c116
Submitter: Jenkins
Branch: stable/ocata

commit ea9f98ac1edd29c91f9c71a98edc73fb0673c116
Author: takanorimiyagishi <email address hidden>
Date: Wed Mar 29 13:35:56 2017 +0900

    Add save_running_config to fossw client

    Add save_running_config method to client.
    That method is not implemented in client.py. Therefore fossw driver always
    fails when driver try to call the method.

    Change-Id: Ib8824e869e247d446ee6d6b799b070f3b1dad73b
    Closes-Bug: #1666356
    (cherry picked from commit ea94cbad972bc46e40160e94996551bfd506449c)

tags: added: in-stable-ocata
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.