application apply fails after compute lock and unlock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Won't Fix
|
High
|
Anujeyan Manokeran |
Bug Description
Brief Description
-----------------
After lock and unlock compute-2 application apply failed. Steps are as follows.
system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:22:10,457] 423 DEBUG MainThread ssh.expect :: Output:
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
[2019-07-13 22:22:14,553] 301 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:22:16,179] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| availability | available |
| bm_ip | None |
| bm_type | bmc |
| bm_username | root |
| boot_device | /dev/disk/
| capabilities | {} |
| config_applied | 062a2928-
| config_status | None |
| config_target | 062a2928-
| console | ttyS0,115200n8 |
| created_at | 2019-07-
| hostname | compute-2 |
| id | 4 |
| install_output | text |
| install_state | completed |
| install_state_info | None |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | 192.168.222.27 |
| mgmt_mac | 3c:fd:fe:ac:61:9c |
| operational | enabled |
| personality | worker |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 19.01 |
| task | |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-07-
| uptime | 23816 |
| uuid | b0a796c9-
| vim_progress_status | services-enabled |
+------
[2019-07-13 22:22:16,284] 301 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:22:17,978] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| availability | available |
| bm_ip | None |
| bm_type | bmc |
| bm_username | root |
| boot_device | /dev/disk/
| capabilities | {} |
| config_applied | 062a2928-
| config_status | None |
| config_target | 062a2928-
| console | ttyS0,115200n8 |
| created_at | 2019-07-
| hostname | compute-2 |
| id | 4 |
| install_output | text |
| install_state | completed |
| install_state_info | None |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | 192.168.222.27 |
| mgmt_mac | 3c:fd:fe:ac:61:9c |
| operational | enabled |
| personality | worker |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 19.01 |
| task | Locking |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-07-
| uptime | 23816 |
| uuid | b0a796c9-
| vim_progress_status | services-enabled |
+------
inThread host_helper.
[2019-07-13 22:22:38,042] 1534 DEBUG MainThread ssh.get_
[2019-07-13 22:22:38,042] 466 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2019-07-13 22:22:38,042] 301 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:22:39,793] 423 DEBUG MainThread ssh.expect :: Output:
system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:22:41,356] 423 DEBUG MainThread ssh.expect :: Output:
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
| 2 | compute-0 | worker | unlocked | enabled | available |
| 3 | compute-1 | worker | unlocked | enabled | available |
| 4 | compute-2 | worker | locked | disabled | online |
| 5 | compute-3 | worker | unlocked | enabled | available |
| 6 | compute-4 | worker | unlocked | enabled | available |
| 7 | controller-1 | controller | unlocked | enabled | available |
| 8 | storage-0 | storage | unlocked | enabled | available |
| 9 | storage-1 | storage | unlocked | enabled | available |
+----+-
ystem --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:22:54,342] 423 DEBUG MainThread ssh.expect :: Output:
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
+------
'kubectl get pod -o=wide --all-namespaces --field-
[2019-07-13 22:22:54,694] 423 DEBUG MainThread ssh.expect :: Output:
No resources found.
system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:23:03,263] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | locked |
| availability | online |
| bm_ip | None |
| bm_type | bmc |
| bm_username | root |
| boot_device | /dev/disk/
| capabilities | {} |
| config_applied | 062a2928-
| config_status | None |
| config_target | 062a2928-
| console | ttyS0,115200n8 |
| created_at | 2019-07-
| hostname | compute-2 |
| id | 4 |
| install_output | text |
| install_state | completed |
| install_state_info | None |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | 192.168.222.27 |
| mgmt_mac | 3c:fd:fe:ac:61:9c |
| operational | disabled |
| personality | worker |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 19.01 |
| task | Unlocking |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-07-
| uptime | 24061 |
| uuid | b0a796c9-
| vim_progress_status | services-disabled |
+------
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:29:59,881] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| availability | available |
| bm_ip | None |
| bm_type | bmc |
| bm_username | root |
| boot_device | /dev/disk/
| capabilities | {} |
| config_applied | 062a2928-
| config_status | None |
| config_target | 062a2928-
| console | ttyS0,115200n8 |
| created_at | 2019-07-
| hostname | compute-2 |
| id | 4 |
| install_output | text |
| install_state | completed |
| install_state_info | None |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | 192.168.222.27 |
| mgmt_mac | 3c:fd:fe:ac:61:9c |
| operational | enabled |
| personality | worker |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 19.01 |
| task | |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-07-
| uptime | 159 |
| uuid | b0a796c9-
| vim_progress_status | services-disabled |
+------
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 22:30:01,529] 423 DEBUG MainThread ssh.expect :: Output:
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-13 23:03:31,929] 423 DEBUG MainThread ssh.expect :: Output:
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
+------
7-14 01:16:26.603 1107082 INFO sysinv.
2019-07-14 01:16:26.603 1107082 INFO sysinv.
2019-07-14 01:16:26.609 1107082 INFO sysinv.
2019-07-14 01:16:26.623 1107082 INFO sysinv.
2019-07-14 01:16:26.624 1107082 INFO sysinv.
2019-07-14 01:16:26.639 1107083 INFO sysinv.
2019-07-14 01:16:26.640
Severity
--------
Major
Steps to Reproduce
------------------
1. Precheck application apply and system is good health
2. Lock compute-2
3. Try to modify fake processor p2 in compute-2 as per description failure no processor found.
system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
3. Unlock compute-2
4. Wait for the application to apply never applied.
System Configuration
-------
Storage system
Expected Behavior
------------------
Application apply successful.
Actual Behavior
----------------
As per description never applied.
Reproducibility
---------------
System Configuration
-------
Regular system
Load
----
20190713T013000Z
Last Pass
---------
Last passed on load 20190629T013000Z
Timestamp/Logs
--------------
compute lock 2019-07-
apply failure seen 2019-07-13 23:03:31,929
Test Activity
-------------
Regression test
tags: | added: stx.regression stx.retestneeded |
Changed in starlingx: | |
assignee: | Bob Church (rchurch) → Stefan Dinescu (stefandinescu) |
Changed in starlingx: | |
assignee: | Stefan Dinescu (stefandinescu) → Bob Church (rchurch) |
Changed in starlingx: | |
assignee: | Bob Church (rchurch) → Stefan Dinescu (stefandinescu) |
tags: | removed: stx.retestneeded |
Marking as stx.2.0 - application apply failure after compute lock/unlock which is a basic operation