Ezpeer, The services-disable-failed indicates that the VIM was not able to safely disable the services on controller-0 (i.e. nova, neutron, kubernetes). There should be more information in /var/log/nfv-vim.log at the time when the lock was done. Bart From: Ezpeer Chen [mailto:ezpeerchen@gmail.com] Sent: September 19, 2019 2:51 AM To: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] system lock fail and then can't unlock Dear all, I want to use system host-lock and then system host-unlock to reboot. But is cause task always locking. It also shows that "vim_progress_status | services-disable-failed." Log: [sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0 +---------------------+--------------------------------------------+ | Property | Value | +---------------------+--------------------------------------------+ | action | none | | administrative | unlocked | | availability | available | | bm_ip | None | | bm_type | None | | bm_username | None | | boot_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | capabilities | {u'stor_function': u'monitor'} | | config_applied | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | config_status | None | | config_target | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | console | tty0 | | created_at | 2019-09-10T10:15:49.779617+00:00 | | 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 | enabled | | personality | controller | | reserved | False | | rootfs_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | serialid | None | | software_load | 19.08 | | subfunction_avail | available | | subfunction_oper | enabled | | subfunctions | controller,worker | | task | Locking | | tboot | false | | ttys_dcd | None | | updated_at | 2019-09-19T06:32:21.003163+00:00 | | uptime | 372 | | uuid | 86ccb737-a20b-4cea-86ae-50032383cde8 | | vim_progress_status | services-disabled | +---------------------+--------------------------------------------+ [sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0 Avoiding 'unlock' action on already 'unlocked' host controller-0 [sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0 Avoiding 'unlock' action on already 'unlocked' host controller-0 [sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0 +---------------------+--------------------------------------------+ | Property | Value | +---------------------+--------------------------------------------+ | action | none | | administrative | unlocked | | availability | available | | bm_ip | None | | bm_type | None | | bm_username | None | | boot_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | capabilities | {u'stor_function': u'monitor'} | | config_applied | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | config_status | None | | config_target | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | console | tty0 | | created_at | 2019-09-10T10:15:49.779617+00:00 | | 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 | enabled | | personality | controller | | reserved | False | | rootfs_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | serialid | None | | software_load | 19.08 | | subfunction_avail | available | | subfunction_oper | enabled | | subfunctions | controller,worker | | task | Locking | | tboot | false | | ttys_dcd | None | | updated_at | 2019-09-19T06:33:29.533163+00:00 | | uptime | 442 | | uuid | 86ccb737-a20b-4cea-86ae-50032383cde8 | | vim_progress_status | services-disabled | +---------------------+--------------------------------------------+ [sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0 Avoiding 'unlock' action on already 'unlocked' host controller-0 [sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0 +---------------------+--------------------------------------------+ | Property | Value | +---------------------+--------------------------------------------+ | action | none | | administrative | unlocked | | availability | available | | bm_ip | None | | bm_type | None | | bm_username | None | | boot_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | capabilities | {u'stor_function': u'monitor'} | | config_applied | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | config_status | None | | config_target | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | console | tty0 | | created_at | 2019-09-10T10:15:49.779617+00:00 | | 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 | enabled | | personality | controller | | reserved | False | | rootfs_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | serialid | None | | software_load | 19.08 | | subfunction_avail | available | | subfunction_oper | enabled | | subfunctions | controller,worker | | task | Locking | | tboot | false | | ttys_dcd | None | | updated_at | 2019-09-19T06:33:37.166469+00:00 | | uptime | 442 | | uuid | 86ccb737-a20b-4cea-86ae-50032383cde8 | | vim_progress_status | services-disabled | +---------------------+--------------------------------------------+ [sysadmin@controller-0 ~(keystone_admin)]$ [sysadmin@controller-0 ~(keystone_admin)]$ system host-show controller-0 +---------------------+----------------------------------------------------------------------+ | Property | Value | +---------------------+----------------------------------------------------------------------+ | action | none | | administrative | unlocked | | availability | available | | bm_ip | None | | bm_type | None | | bm_username | None | | boot_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | capabilities | {u'stor_function': u'monitor', u'Personality': u'Controller-Active'} | | config_applied | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | config_status | None | | config_target | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | console | tty0 | | created_at | 2019-09-10T10:15:49.779617+00:00 | | 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 | enabled | | personality | controller | | reserved | False | | rootfs_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | serialid | None | | software_load | 19.08 | | subfunction_avail | available | | subfunction_oper | enabled | | subfunctions | controller,worker | | task | | | tboot | false | | ttys_dcd | None | | updated_at | 2019-09-19T06:34:33.201421+00:00 | | uptime | 507 | | uuid | 86ccb737-a20b-4cea-86ae-50032383cde8 | | vim_progress_status | services-disable-failed.. | +---------------------+----------------------------------------------------------------------+ [sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0 +---------------------+--------------------------------------------+ | Property | Value | +---------------------+--------------------------------------------+ | action | none | | administrative | unlocked | | availability | available | | bm_ip | None | | bm_type | None | | bm_username | None | | boot_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | capabilities | {u'stor_function': u'monitor'} | | config_applied | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | config_status | None | | config_target | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | console | tty0 | | created_at | 2019-09-10T10:15:49.779617+00:00 | | 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 | enabled | | personality | controller | | reserved | False | | rootfs_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | serialid | None | | software_load | 19.08 | | subfunction_avail | available | | subfunction_oper | enabled | | subfunctions | controller,worker | | task | Locking | | tboot | false | | ttys_dcd | None | | updated_at | 2019-09-19T06:35:21.167957+00:00 | | uptime | 507 | | uuid | 86ccb737-a20b-4cea-86ae-50032383cde8 | | vim_progress_status | | +---------------------+--------------------------------------------+ [sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0 Avoiding 'unlock' action on already 'unlocked' host controller-0 [sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0 +---------------------+--------------------------------------------+ | Property | Value | +---------------------+--------------------------------------------+ | action | none | | administrative | unlocked | | availability | available | | bm_ip | None | | bm_type | None | | bm_username | None | | boot_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | capabilities | {u'stor_function': u'monitor'} | | config_applied | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | config_status | None | | config_target | 1a574443-db19-4338-86c6-d0b3c2afd3ce | | console | tty0 | | created_at | 2019-09-10T10:15:49.779617+00:00 | | 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 | enabled | | personality | controller | | reserved | False | | rootfs_device | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 | | serialid | None | | software_load | 19.08 | | subfunction_avail | available | | subfunction_oper | enabled | | subfunctions | controller,worker | | task | Locking | | tboot | false | | ttys_dcd | None | | updated_at | 2019-09-19T06:36:15.197604+00:00 | | uptime | 572 | | uuid | 86ccb737-a20b-4cea-86ae-50032383cde8 | | vim_progress_status | services-disable-failed.. | +---------------------+--------------------------------------------+ [sysadmin@controller-0 ~(keystone_admin)]$