simplex subsequent unlock failed (traceback KubeAppApplyFailure)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Medium
|
Daniel Badea |
Bug Description
Brief Description
-----------------
After clean install of simplex system (no HT enabled) an attempt to unlock the remote-
Severity
--------
Major
Steps to Reproduce
------------------
1. clean install of AIO-SX system
controller-0 is running (unlocked) and stx-openstack has been applied successfully
$ system host-list
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
+----+-
[sysadmin@
Thu Aug 15 17:47:37 UTC 2019
[sysadmin@
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
| | versioned | | yaml | | |
| | | | | | |
+------
[sysadmin@
Thu Aug 15 17:47:46 UTC 2019
2. add the remote-storage label after locking the controller
$ system host-lock controller-0
$ system host-label-assign controller-0 remote-
+------
| Property | Value |
+------
| uuid | 93648095-
| host_uuid | 49b05709-
| label_key | remote-storage |
| label_value | enabled |
+------
[sysadmin@
Thu Aug 15 17:50:48 UTC 2019
3. Attempt to unlock the controller
$ system host-unlock controller-0
+------
| Property | Value |
+------
| action | none |
| administrative | locked |
| availability | online |
| bm_ip | None |
| bm_type | None |
| bm_username | None |
| boot_device | /dev/disk/
| capabilities | {u'stor_function': u'monitor'} |
| config_applied | 32b6cc3a-
| config_status | None |
| config_target | 32b6cc3a-
| console | ttyS0,115200n8 |
| created_at | 2019-08-
| hostname | controller-0 |
| id | 1 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| inv_state | inventoried |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | 192.168.204.3 |
| mgmt_mac | 00:00:00:00:00:00 |
| operational | disabled |
| personality | controller |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 19.01 |
| subfunction_avail | online |
| subfunction_oper | disabled |
| subfunctions | controller,worker |
| task | Unlocking |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-08-
| uptime | 4903 |
| uuid | 49b05709-
| vim_progress_status | services-disabled |
+------
Expected Behavior
------------------
Expect successful unlock of the controller after adding the remote label
Actual Behavior
----------------
$ system host-list
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | locked | disabled | online |
+----+-
[sysadmin@
Thu Aug 15 17:51:56 UTC 2019
$ system application-list
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-17-
| | versioned | | yaml | | for detail |
| | | | | | |
+------
[sysadmin@
Thu Aug 15 17:52:23 UTC 2019
$ kubectl get pods -n openstack
NAME READY STATUS RESTARTS AGE
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
cinder-
glance-
glance-
glance-
glance-
glance-
glance-
glance-
glance-
heat-api-
heat-bootstrap-
heat-cfn-
heat-db-init-tx9fs 0/1 Completed 0 37m
heat-db-sync-6tmsz 0/1 Completed 0 37m
heat-domain-
heat-engine-
heat-engine-
heat-engine-
heat-engine-
heat-ks-
heat-ks-
heat-ks-user-dbsh4 0/1 Completed 0 37m
heat-rabbit-
heat-trustee-
heat-trusts-qvdqf 0/1 Completed 0 37m
horizon-
horizon-
horizon-
ingress-
ingress-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
libvirt-
mariadb-
mariadb-
mariadb-server-0 1/1 Running 0 53m
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
nova-api-
nova-api-
nova-api-
nova-bootstrap-
nova-cell-
nova-compute-
nova-conductor-
nova-consoleaut
nova-db-init-bfddb 0/3 Completed 0 45m
nova-db-sync-kpjst 0/1 Completed 0 45m
nova-ks-
nova-ks-
nova-ks-user-tmhgn 0/1 Completed 0 45m
nova-novncproxy
nova-rabbit-
nova-scheduler-
nova-storage-
osh-openstack-
osh-openstack-
osh-openstack-
placement-
placement-
placement-
placement-
placement-
placement-
2019-08-15 17:51:19.302 102439 INFO sysinv.
2019-08-15 17:51:19.315 102439 INFO sysinv.
2019-08-15 17:51:19.348 102439 INFO sysinv.
2019-08-15 17:51:19.350 102439 INFO sysinv.
"ttys_dcd": null, "subfunctions": "controller,
"uuid": "49b05709-
"monitor"}, "install_output": "text", "location": {}, "availability": "online", "invprovision": "provisioned", "peer_id": null, "administrative": "locked", "personality": "controller", "recordtype": "standard", "bm_mac": null, "inv_state": "inventoried",
"mtce_info": null, "isystem_uuid": "96d164ae-
"vsc_controllers": null, "operational": "disabled", "subfunction_
2019-08-15 17:51:19.364 102439 INFO sysinv.
2019-08-15 17:51:19.551 102439 INFO sysinv.
2019-08-15 17:51:19.601 101429 INFO sysinv.
2019-08-15 17:51:19.622 102439 INFO sysinv.
2019-08-15 17:51:19.729 101429 INFO sysinv.
2019-08-15 17:51:20.694 102439 INFO sysinv.
2019-08-15 17:51:21.988 101429 INFO sysinv.
2019-08-15 17:51:25.149 101429 INFO sysinv.helm.neutron [req-f3f53d34-
2019-08-15 17:51:30.979 101429 ERROR sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:30.979 101429 TRACE sysinv.
2019-08-15 17:51:31.184 101429 ERROR sysinv.
2019-08-15 17:51:31.185 101429 INFO sysinv.
2019-08-15 17:51:31.186 101429 ERROR sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
2019-08-15 17:51:31.186 101429 TRACE sysinv.
'--values', '/tmp/tmpmk_v2W', '/tmp/tmpve5P2o']' returned non-zero exit status 1
2019-08-15 17:51:31.186 101429 TRACE sysinv.
Reproducibility
---------------
Reproducible
System Configuration
-------
One node system
Branch/Pull Time/Commit
-------
2019-08-12_20-59-00
Last Pass
---------
Timestamp/Logs
--------------
see inline
~17:51:31 in the logs
alarm events from horizon as follows:
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
2019-08-
Test Activity
-------------
retest of other launchpad
summary: |
- simplex unlock failed (traceback KubeAppApplyFailure)) + simplex subsequent unlock failed (traceback KubeAppApplyFailure) |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
assignee: | Bob Church (rchurch) → Daniel Badea (daniel.badea) |
Issue was reproduced on SM-3 sanity run.
Lab: SM_3
Load: 2019-08-15_20-59-00
Job: StarlingX_2.0_build
[2019-08-16 13:55:44,483] 301 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http:// 192.168. 204.2:5000/ v3 --os-user- domain- name Default --os-project- domain- name Default --os-endpoint-type internalURL --os-region-name RegionOne host-unlock controller-0' ------- ------- -+----- ------- ------- ------- ------- ------- ----+ ------- ------- -+----- ------- ------- ------- ------- ------- ----+
[2019-08-16 13:55:56,247] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | locked |
| availability | online |
[2019-08-16 14:03:29,941] 280 WARNING MainThread ssh.wait_ for_disconnect: : Did not disconnect to 128.224.150.81 within 300s
[2019-08-16 14:19:19,632] 301 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http:// 192.168. 204.2:5000/ v3 --os-user- domain- name Default --os-project- domain- name Default --os-endpoint-type internalURL --os-region-name RegionOne host-show controller-0' ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+
[2019-08-16 14:19:23,872] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | locked |