FOSSW driver caused initialize failure

Bug #1665199 reported by watanabe.isao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-fujitsu
Fix Released
Critical
watanabe.isao

Bug Description

After FOSSW driver has been supported, the following errors occur at the initialize phase, when FOSSW driver has been configured.

[Error log 1]
2017-02-16 11:22:17.777 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['openvswitch', 'fujitsu_fossw']
2017-02-16 11:22:17.781 DEBUG neutron.callbacks.manager [-] Subscribe: <bound method OVSDriver._register of <neutron.services.qos.drivers.op
envswitch.driver.OVSDriver object at 0x7f303d966a50>> qos_plugin after_init from (pid=7300) subscribe /opt/stack/neutron/neutron/callbacks/m
anager.py:42
2017-02-16 11:22:17.781 DEBUG neutron.services.qos.drivers.openvswitch.driver [-] Open vSwitch QoS driver registered from (pid=7300) registe
r /opt/stack/neutron/neutron/services/qos/drivers/openvswitch/driver.py:48
2017-02-16 11:22:17.807 DEBUG networking_fujitsu.ml2.fossw.mech_fossw [-] loaded switch IP is: ['192.168.3.111'] from (pid=7300) initialize
/usr/local/lib/python2.7/dist-packages/networking_fujitsu/ml2/fossw/mech_fossw.py:97
2017-02-16 11:22:17.849 ERROR stevedore.extension [-] Could not load 'fujitsu_fossw': no such option ovsdb_port in group [DEFAULT]
2017-02-16 11:22:17.849 WARNING stevedore.named [-] Could not load fujitsu_fossw
2017-02-16 11:22:17.850 INFO neutron.plugins.ml2.managers [-] Loaded mechanism driver names: ['openvswitch']
2017-02-16 11:22:17.850 INFO neutron.plugins.ml2.managers [-] Registered mechanism drivers: ['openvswitch']

[Error log 2]
2017-02-16 11:44:52.597 DEBUG paramiko.transport [-] starting thread (client mode): 0xc982cbd0L from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.597 DEBUG paramiko.transport [-] Local version/idstring: SSH-2.0-paramiko_2.1.1 from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.600 DEBUG paramiko.transport [-] Remote version/idstring: SSH-1.99-OpenSSH_6.8 from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.600 INFO paramiko.transport [-] Connected (version 1.99, client OpenSSH_6.8)
2017-02-16 11:44:52.601 DEBUG paramiko.transport [-] kex algos:[<email address hidden>', u'diffie-hellman-group-exchange-sha256', u'diffie-hellman-group14-sha1'] server key:[u'ssh-rsa', u'ssh-dss'] client encrypt:[u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes128-cbc', u'aes192-cbc', u'aes256-cbc', <email address hidden>', u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour', u'arcfour128', u'arcfour256', <email address hidden>', u''] server encrypt:[u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes128-cbc', u'aes192-cbc', u'aes256-cbc', <email address hidden>', u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour', u'arcfour128', u'arcfour256', <email address hidden>', u''] client mac:[u'hmac-sha1', <email address hidden>', <email address hidden>', <email address hidden>', <email address hidden>', <email address hidden>', <email address hidden>', u'hmac-md5', <email address hidden>', <email address hidden>', <email address hidden>', u'hmac-ripemd160', <email address hidden>', u'hmac-sha1-96', u'hmac-md5-96', u''] server mac:[u'hmac-sha1', <email address hidden>', <email address hidden>', <email address hidden>', <email address hidden>', <email address hidden>', <email address hidden>', u'hmac-md5', <email address hidden>', <email address hidden>', <email address hidden>', u'hmac-ripemd160', <email address hidden>', u'hmac-sha1-96', u'hmac-md5-96', u''] client compress:[u'none', <email address hidden>'] server compress:[u'none', <email address hidden>'] client lang:[u''] server lang:[u''] kex follows?False from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.601 DEBUG paramiko.transport [-] Kex agreed: diffie-hellman-group14-sha1 from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.602 DEBUG paramiko.transport [-] Cipher agreed: aes128-ctr from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.602 DEBUG paramiko.transport [-] MAC agreed: hmac-md5 from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.602 DEBUG paramiko.transport [-] Compression agreed: none from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.711 DEBUG paramiko.transport [-] kex engine KexGroup14 specified hash_algo <built-in function openssl_sha1> from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.713 DEBUG paramiko.transport [-] Switch to new keys ... from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.715 DEBUG paramiko.transport [-] Adding ssh-rsa host key for 192.168.3.111: 83b5134d4914e825bd926de75d389d26 from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.718 DEBUG paramiko.transport [-] userauth is OK from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.722 INFO paramiko.transport [-] Authentication (password) successful!
2017-02-16 11:44:52.725 DEBUG paramiko.transport [-] [chan 0] Max packet in: 32768 bytes from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/channel.py:1147
2017-02-16 11:44:52.727 DEBUG paramiko.transport [-] Received global request "<email address hidden>" from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.727 DEBUG paramiko.transport [-] Rejecting "<email address hidden>" global request from server. from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.766 DEBUG paramiko.transport [-] [chan 0] Max packet out: 32768 bytes from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/channel.py:1147
2017-02-16 11:44:52.767 DEBUG paramiko.transport [-] Secsh channel 0 opened. from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/transport.py:1567
2017-02-16 11:44:52.792 DEBUG paramiko.transport [-] [chan 0] Sesch channel 0 request ok from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/channel.py:1147
2017-02-16 11:44:52.795 DEBUG paramiko.transport [-] [chan 0] Sesch channel 0 request ok from (pid=8894) _log /usr/local/lib/python2.7/dist-packages/paramiko/channel.py:1147

[Root cause 1]
In fossw_vxlandriver.py, the group of configuration needs to be defined.
Otherwise, configuration in [fujitsu_fossw] group will not get loaded.
instead of that, configuration in [DEFAULT] group will get loaded and failed, when looking for "ovsdb_port".

[Root cause 2]
When connecting to SSH client, it does not get out of the loop correctly.

Changed in networking-fujitsu:
assignee: nobody → watanabe.isao (watanabe.isao)
status: New → In Progress
description: updated
description: updated
summary: - VXLAN feature caused initialize failer
+ FOSSW driver caused initialize failer
description: updated
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/434599

summary: - FOSSW driver caused initialize failer
+ FOSSW driver caused initialize failure
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-fujitsu (master)

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

commit 8d179fd9c71ce8b7f866b85efdf3b53451eca84f
Author: watanabe.isao <email address hidden>
Date: Thu Feb 16 12:15:47 2017 +0900

    Fix initialization process

    Fix the following two bugs in initialization process for FOSSW driver.
    1. The vxlan_driver did not load VXLAN option from fujitsu_fossw
       group, but from DEFAULT group.
    2. The client module does not break the loop at retry process.

    Change-Id: I3e9c618a9d73b0e951616048ec557bd04b8cba5b
    Closes-bug: #1665199

Changed in networking-fujitsu:
status: In Progress → Fix Released
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/434703

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

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

commit 4bceb7546b20ed2f0d1ab9609004b3e749b7513d
Author: watanabe.isao <email address hidden>
Date: Thu Feb 16 12:15:47 2017 +0900

    Fix initialization process

    Fix the following two bugs in initialization process for FOSSW driver.
    1. The vxlan_driver did not load VXLAN option from fujitsu_fossw
       group, but from DEFAULT group.
    2. The client module does not break the loop at retry process.

    Change-Id: I3e9c618a9d73b0e951616048ec557bd04b8cba5b
    Closes-bug: #1665199
    (cherry picked from commit 8d179fd9c71ce8b7f866b85efdf3b53451eca84f)

tags: added: in-stable-ocata
Revision history for this message
Yushiro FURUKAWA (y-furukawa-2) wrote :

This change is merged into networking-fujitsu 4.0.1

Changed in networking-fujitsu:
importance: Undecided → Critical
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.