Hyper-V agent raises UnsupportedRpcVersion: Specified RPC version, 1.1, not supported by this endpoint.

Bug #1353697 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Alessandro Pilotti
Icehouse
Fix Released
High
Alessandro Pilotti

Bug Description

The Hyper-V agent raises:

2014-08-06 10:42:37.096 2052 ERROR neutron.openstack.common.rpc.amqp [req-46340a1a-9143-45c9-b645-2612d41f20a6 None] Exception during message handling
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last):
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\openstack\common\rpc\amqp.py", line 462, in _process_data
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp **args)
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\openstack\common\rpc\dispatcher.py", line 178, in dispatch
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp raise rpc_common.UnsupportedRpcVersion(version=version)
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp UnsupportedRpcVersion: Specified RPC version, 1.1, not supported by this endpoint.
2014-08-06 10:42:37.096 2052 TRACE neutron.openstack.common.rpc.amqp

The issue does not affect functionality, but it creates a lot of noise in the logs since the error is logged at each iteration.

Changed in neutron:
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Could you provide more detail information? Which method was requested when this error occurs?
Let me mark this Incomplete.

If Hyper-V team is already working on it, it is nice.

Changed in neutron:
status: Confirmed → Incomplete
importance: Undecided → Low
Changed in neutron:
status: Incomplete → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Alessandro Pilotti (alexpilotti)
status: Confirmed → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :

debug level log is http://paste.openstack.org/show/97957/

ML2 RPC port_update method causes the error message.
ML2 RPC base version is wrongly bumped to 1.1 and it breaks hyper-v agent with ML2 plugin.
It is not an intended behavior.

Ideally ML2 RPC API base version should be reverted to 1.0, but it affects several agents,
so bumping API version in hyper-v agent sounds reasonable approach.

tags: added: icehouse-backport-potential
Changed in neutron:
importance: Low → High
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/115812
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=771327adbe9e563506f98ca561de9ded4d987698
Submitter: Jenkins
Branch: master

commit 771327adbe9e563506f98ca561de9ded4d987698
Author: Alessandro Pilotti <email address hidden>
Date: Thu Aug 21 01:48:34 2014 +0300

    Fixes Hyper-V issue due to ML2 RPC versioning

    The ML2 RPC version 1.1 breaks the hyper-v agent and
    consequentially the RPC version in the Hyper-V agent needs
    to be set to 1.1 to match the ML2 RPC base API version.

    Change-Id: Idc4ae8d7dcff4331aca148a8f2a7a2b01679b3a8
    Closes-Bug: #1353697

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/116268

Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/116268
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8e99cfd167fe021ec1b821d9d58b1307d505c81f
Submitter: Jenkins
Branch: stable/icehouse

commit 8e99cfd167fe021ec1b821d9d58b1307d505c81f
Author: Alessandro Pilotti <email address hidden>
Date: Thu Aug 21 01:48:34 2014 +0300

    Fixes Hyper-V issue due to ML2 RPC versioning

    The ML2 RPC version 1.1 breaks the hyper-v agent and
    consequentially the RPC version in the Hyper-V agent needs
    to be set to 1.1 to match the ML2 RPC base API version.

    Conflicts:
     neutron/plugins/hyperv/agent/hyperv_neutron_agent.py

    (cherry picked from commit 771327adbe9e563506f98ca561de9ded4d987698)

    Change-Id: Idc4ae8d7dcff4331aca148a8f2a7a2b01679b3a8
    Closes-Bug: #1353697

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
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.