cval='openstack: '\''resource provider inventory show openstack: VCPU -f value -c total'\'' is not an openstack command. See '\''openstack --help'\''.

Bug #1823178 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grenade
Confirmed
Undecided
Unassigned

Bug Description

Seen here:

http://logs.openstack.org/12/648912/4/check/grenade-py3/19a6549/logs/grenade.sh.txt.gz#_2019-04-03_03_50_29_324

2019-04-03 03:50:29.324 | ++ /opt/stack/new/grenade/projects/60_nova/resources.sh:_get_inventory_value:60 : openstack resource provider inventory show openstack: VCPU -f value -c total
2019-04-03 03:50:30.799 | + /opt/stack/new/grenade/projects/60_nova/resources.sh:verify:182 : cval='openstack: '\''resource provider inventory show openstack: VCPU -f value -c total'\'' is not an openstack command. See '\''openstack --help'\''.

Looks like maybe the issue is python-openstackclient is installed into python 3.6:

2019-04-03 03:30:51.499 | Explicitly using 3.6 version to install python-openstackclient based on ENABLED_PYTHON3_PACKAGES
2019-04-03 03:30:51.967 | + inc/python:pip_install:353 : local install_test_reqs=
2019-04-03 03:30:51.969 | + inc/python:pip_install:354 : local test_req=python-openstackclient/test-requirements.txt
2019-04-03 03:30:51.972 | + inc/python:pip_install:355 : [[ -e python-openstackclient/test-requirements.txt ]]
2019-04-03 03:30:51.974 | + inc/python:pip_install:363 : sudo -H LC_ALL=en_US.UTF-8 http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip3.6 install -c /opt/stack/old/requirements/upper-constraints.txt python-openstackclient

And osc-placement is installed in python 2.7:

2019-04-03 03:29:43.227 | WARNING: Did not find python 3 classifier for remote package osc-placement
2019-04-03 03:29:43.692 | + inc/python:pip_install:353 : local install_test_reqs=
2019-04-03 03:29:43.695 | + inc/python:pip_install:354 : local test_req=osc-placement/test-requirements.txt
2019-04-03 03:29:43.698 | + inc/python:pip_install:355 : [[ -e osc-placement/test-requirements.txt ]]
2019-04-03 03:29:43.700 | + inc/python:pip_install:363 : sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/old/requirements/upper-constraints.txt osc-placement

swift is reinstalling python-openstackclient here: http://logs.openstack.org/12/648912/4/check/grenade-py3/19a6549/logs/grenade.sh.txt.gz#_2019-04-03_03_26_57_820

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22cval%3D'openstack%3A%20'%5C%5C''resource%20provider%20inventory%20show%20openstack%3A%20VCPU%20-f%20value%20-c%20total'%5C%5C''%20is%20not%20an%20openstack%20command.%20See%20'%5C%5C''openstack%20--help'%5C%5C''.%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

Chris Dent fixed a similar bug 1805156 in Stein. This might be a side effect of bug 1820892.

Matt Riedemann (mriedem)
Changed in grenade:
status: New → Confirmed
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.