Host swact failed. Active controller host did not change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Bin Qian |
Bug Description
Brief Description
-----------------
Connect system with floating IP, Run host-swact on active controller. After active controller disconnected and reconnected, the active controller is not changed.
Severity
--------
Major
Steps to Reproduce
------------------
host-swact
Expected Behaviour
------------------
active controller is changed
Actual Behaviour
----------------
no change
Reproducibility
---------------
Reproducible
4/10
System Configuration
-------
Dedicated storage
Branch/Pull Time/Commit
-------
Master of 2019-01-15_20-18-00
Timestamp/Logs
--------------
[2019-01-16 09:09:22,480] 263 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-01-16 09:09:25,818] 388 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| availability | available |
| bm_ip | None |
| bm_type | None |
| bm_username | |
| boot_device | /dev/disk/
| capabilities | {u'stor_function': u'monitor'} |
| config_applied | 145bdb65-
| config_status | None |
| config_target | 145bdb65-
| console | ttyS0,115200 |
| created_at | 2019-01-
| hostname | controller-1 |
| id | 2 |
| install_output | text |
| install_state | completed |
| install_state_info | None |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | 192.168.204.4 |
| mgmt_mac | 90:e2:ba:a3:9c:38 |
| operational | enabled |
| personality | controller |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 19.01 |
| task | Swacting |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-01-
| uptime | 1688 |
| uuid | 0344ba4a-
| vim_progress_status | services-enabled |
+------
controller-1:~$
[2019-01-16 09:09:25,819] 263 DEBUG MainThread ssh.send :: Send 'echo $?'
[2019-01-16 09:09:25,922] 388 DEBUG MainThread ssh.expect :: Output:
0
controller-1:~$
[2019-01-16 09:09:25,922] 1337 DEBUG MainThread ssh.get_
[2019-01-16 09:09:25,922] 263 DEBUG MainThread ssh.send :: Send ''
[2019-01-16 09:09:26,025] 388 DEBUG MainThread ssh.expect :: Output:
controller-1:~$
[2019-01-16 09:09:31,030] 263 DEBUG MainThread ssh.send :: Send ''
[2019-01-16 09:09:31,133] 388 DEBUG MainThread ssh.expect :: Output:
controller-1:~$
[2019-01-16 09:09:36,138] 263 DEBUG MainThread ssh.send :: Send ''
[2019-01-16 09:09:39,243] 1331 INFO MainThread host_helper.
[2019-01-16 09:10:09,265] 134 INFO MainThread ssh.connect :: Attempt to connect to host - 128.224.150.73
[2019-01-16 09:10:25,794] 263 DEBUG MainThread ssh.send :: Send ''
[2019-01-16 09:10:25,896] 388 DEBUG MainThread ssh.expect :: Output:
controller-1:~$
[2019-01-16 09:10:25,897] 162 INFO MainThread ssh.connect :: Login successful!
[2019-01-16 09:10:25,897] 263 DEBUG MainThread ssh.send :: Send ''
[2019-01-16 09:10:25,998] 388 DEBUG MainThread ssh.expect :: Output:
[Kcontroller-1:~$
[2019-01-16 09:10:25,999] 388 DEBUG MainThread ssh.expect :: Output:
[2019-01-16 09:10:45,610] 263 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-01-16 09:10:47,937] 388 DEBUG MainThread ssh.expect :: Output:
+------
| uuid | service_group_name | hostname | state |
+------
| b3f31ab2-
| 8422fcb0-
| a3fd2f7a-
| b1b225eb-
Changed in starlingx: | |
assignee: | nobody → Bin Qian (bqian20) |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Marking as release gating until further investigation.