Brief Description
-----------------
run nova service cmd but not working
Severity
--------
Critical
Steps to Reproduce
------------------
login to system
source to openrc
run nova service cmd
TC-name:
Expected Behavior
------------------
cmd runs out without error
Actual Behavior
----------------
cmd failed
Reproducibility
---------------
Reproducible
System Configuration
--------------------
One node system
Lab-name: SM-2
Branch/Pull Time/Commit
-----------------------
stx master as of 20190616T233000Z
Last Pass
---------
20190612T013000Z
Timestamp/Logs
--------------
controller-0:~$ source /etc/platform/openrc
[wrsroot@controller-0 ~(keystone_admin)]$ system host-list
+----+--------------+-------------+----------------+-------------+--------------+
| id | hostname | personality | administrative | operational | availability |
+----+--------------+-------------+----------------+-------------+--------------+
| 1 | controller-0 | controller | unlocked | enabled | available |
+----+--------------+-------------+----------------+-------------+--------------+
[wrsroot@controller-0 ~(keystone_admin)]$ nova list --a
ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).
command terminated with exit code 1
[wrsroot@controller-0 ~(keystone_admin)]$ openstack keypair list
[wrsroot@controller-0 ~(keystone_admin)]$ nova keypair-lst
ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).
command terminated with exit code 1
[wrsroot@controller-0 ~(keystone_admin)]$ date
Mon Jun 17 15:23:50 UTC 2019
if [ ! -z "${OS_PASSWORD}" ]; then
export PS1='[\u@\h \W(keystone_$OS_USERNAME)]\$ '
else
echo 'Openstack Admin credentials can only be loaded from the active controller.'
export PS1='\h:\w\$ '
fi
Brief Description
-----------------
run nova service cmd but not working
Severity
--------
Critical
Steps to Reproduce
------------------
login to system
source to openrc
run nova service cmd
TC-name:
Expected Behavior
------------------
cmd runs out without error
Actual Behavior
----------------
cmd failed
Reproducibility
---------------
Reproducible
System Configuration ------- ------
-------
One node system
Lab-name: SM-2
Branch/Pull Time/Commit ------- ------- --
-------
stx master as of 20190616T233000Z
Last Pass
---------
20190612T013000Z
Timestamp/Logs openrc controller- 0 ~(keystone_admin)]$ system host-list ------- ------+ ------- ------+ ------- ------- --+---- ------- --+---- ------- ---+ ------- ------+ ------- ------+ ------- ------- --+---- ------- --+---- ------- ---+ ------- ------+ ------- ------+ ------- ------- --+---- ------- --+---- ------- ---+ controller- 0 ~(keystone_admin)]$ nova list --a controller- 0 ~(keystone_admin)]$ openstack keypair list
--------------
controller-0:~$ source /etc/platform/
[wrsroot@
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
+----+-
[wrsroot@
ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).
command terminated with exit code 1
[wrsroot@
[wrsroot@ controller- 0 ~(keystone_admin)]$ nova keypair-lst controller- 0 ~(keystone_admin)]$ date
ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).
command terminated with exit code 1
[wrsroot@
Mon Jun 17 15:23:50 UTC 2019
[wrsroot@ controller- 0 ~(keystone_admin)]$ cat /etc/platform/ openrc
unset OS_SERVICE_TOKEN
export OS_ENDPOINT_ TYPE=internalUR L ENDPOINT_ TYPE=internalUR L
export CINDER_
export OS_USERNAME=admin `TERM=linux /opt/platform/ .keyring/ 19.01/. CREDENTIAL 2>/dev/null` TYPE=password 192.168. 204.2:5000/ v3
export OS_PASSWORD=
export OS_AUTH_
export OS_AUTH_URL=http://
export OS_PROJECT_ NAME=admin DOMAIN_ NAME=Default DOMAIN_ NAME=Default API_VERSION= 3 NAME=RegionOne internal
export OS_USER_
export OS_PROJECT_
export OS_IDENTITY_
export OS_REGION_
export OS_INTERFACE=
if [ ! -z "${OS_PASSWORD}" ]; then $OS_USERNAME) ]\$ '
export PS1='[\u@\h \W(keystone_
else
echo 'Openstack Admin credentials can only be loaded from the active controller.'
export PS1='\h:\w\$ '
fi
Test Activity
-------------
Sanity