Openstack cli command unexpectedly rejected - Bad Gateway 502
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Hugo Nicodemos Brito |
Bug Description
Brief Description
-----------------
cli command for openstack server show rejected unexpectedly - Bad Gateway HTTP 502
Severity
--------
Standard
Steps to Reproduce
------------------
***Note: Prior to running the testcase below, a volume (from previous testcase test_cpu_
[2020-09-05 23:58:03,266] 186 ERROR MainThread resource_
Details: ["Failed to delete volume with name or ID 'ded36974-
...
[2020-09-06 01:50:10,065] 436 DEBUG MainThread ssh.expect :: Output:
-------
ID Name Status Size Type Bootable Attached to Properties
-------
ded36974-
-------
In nova regression, the following testcase was executed which does the following:
test_live_
1. Boots the instance
2020-09-06 01:50:10,174] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
> The instance was created
OS-EXT-
OS-EXT-
OS-EXT-
beb82c2f-
2. Creates volume, attach (and mount operations) here:
[2020-09-06 01:50:10,174] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
volume id | cbd3b2dc-
[2020-09-06 01:50:50,504] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
nova compute log reports attaching here
2020-09-
3. The server show command was issued here successfully
[2020-09-06 01:51:50,470] 479 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2020-09-06 01:51:50,471] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-09-06 01:51:52,540] 436 DEBUG MainThread ssh.expect :: Output:
-------
Field Value
-------
OS-DCF:diskConfig MANUAL
OS-EXT-
OS-EXT-
OS-EXT-
OS-EXT-
OS-EXT-
OS-EXT-
OS-EXT-STS:vm_state active
OS-SRV-
OS-SRV-
accessIPv4
accessIPv6
addresses tenant1-
config_drive
created 2020-09-
flavor migration_test (e2891b34-
hostId 824b560a1548fe4
id beb82c2f-
image tis-centos-guest (9b6c4c39-
key_name keypair-tenant1
name tenant1-
progress 0
project_id 1c9fd9588bf943d
properties
security_groups name='default'
name='default'
status ACTIVE
updated 2020-09-
user_id 39cae71c1be94e8
volumes_attached id='cbd3b2dc-
-------
4. The server show command was issued here again
[sysadmin@
[2020-09-06 01:51:52,647] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
Expected Behavior
------------------
Did not expect rejected cli command in step 4
Actual Behavior
----------
d. The server show command issued here was rejected - returns Bad Gateway 502
[sysadmin@
[2020-09-06 01:51:52,645] 205 DEBUG MainThread table_parser.
[2020-09-06 01:51:52,646] 1649 DEBUG MainThread ssh.get_
[2020-09-06 01:51:52,646] 479 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2020-09-06 01:51:52,647] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-09-06 01:51:53,637] 436 DEBUG MainThread ssh.expect :: Output:
Bad Gateway (HTTP 502)
Changed in starlingx: | |
assignee: | nobody → Hugo Nicodemos Brito (hbrito) |
tags: | added: stx.distro.openstack |
Changed in starlingx: | |
status: | In Progress → Fix Released |
Review in progress: https:/ /review. opendev. org/c/starlingx /openstack- armada- app/+/767738