UnsupportedServiceVersion: Service placement has no discoverable version. The resulting Proxy object will only have direct passthrough REST capabilities.

Bug #1838807 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Takashi Natsume

Bug Description

I'm seeing this all over the nova tox functional job console logs since the placement client code in nova was changed to use the openstacksdk:

https://logs.opendev.org/61/673961/1/gate/nova-tox-functional-py36/a4cb2af/job-output.txt.gz#_2019-08-01_17_51_24_070487

2019-08-01 17:51:24.070487 | ubuntu-bionic | b'/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/openstack/service_description.py:224: UnsupportedServiceVersion: Service placement has no discoverable version. The resulting Proxy object will only have direct passthrough REST capabilities.'

I don't know if this is a nova problem, or an sdk problem, or a placement problem, but it's chewing up the functional job logs so if it's external to nova we should add a warnings filter in our tests to only log this once.

Changed in nova:
assignee: nobody → Takashi NATSUME (natsume-takashi)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/674515

Revision history for this message
Chris Dent (cdent) wrote :

see also:

* https://review.opendev.org/#/c/674543/
* https://bugs.launchpad.net/tripleo/+bug/1838633

It's a combination of the switch to use the sdk and Placement being not quite flexible enough.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/674515
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=32c7c239d4dd66ab3e4515b265114d77422a49c9
Submitter: Zuul
Branch: master

commit 32c7c239d4dd66ab3e4515b265114d77422a49c9
Author: Takashi NATSUME <email address hidden>
Date: Mon Aug 5 08:38:14 2019 +0900

    Filter UnsupportedServiceVersion warning

    Add the following warning emitted in functional tests
    to the filterwarnings.

      UnsupportedServiceVersion: Service placement has no discoverable
      version. The resulting Proxy object will only have direct passthrough
      REST capabilities.

    The warning is emitted because there is not a service description
    (pairs of a suppoerted version and a proxy class) for placement service
    in openstacksdk.
    So set the filter until the service description for placement service
    is added in openstacksdk.

    Change-Id: Ie3d4a122ccfe1a1022e7aa7604585a727489c5be
    Closes-Bug: #1838807

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 20.0.0.0rc1

This issue was fixed in the openstack/nova 20.0.0.0rc1 release candidate.

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.