<div dir="ltr"><div>Dear all,</div><div><br></div><div>I want to use system host-lock and then system host-unlock to reboot.</div><div><br></div><div>But is cause task always locking.</div><div><br></div><div>It also shows that  "vim_progress_status | services-disable-failed."     </div><div><br></div><div><br></div><div>Log:</div><div><br></div><div>[sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0<br>+---------------------+--------------------------------------------+<br>| Property            | Value                                      |<br>+---------------------+--------------------------------------------+<br>| action              | none                                       |<br>| administrative      | unlocked                                   |<br>| availability        | available                                  |<br>| bm_ip               | None                                       |<br>| bm_type             | None                                       |<br>| bm_username         | None                                       |<br>| boot_device         | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| capabilities        | {u'stor_function': u'monitor'}             |<br>| config_applied      | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| config_status       | None                                       |<br>| config_target       | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| console             | tty0                                       |<br>| created_at          | 2019-09-10T10:15:49.779617+00:00           |<br>| hostname            | controller-0                               |<br>| id                  | 1                                          |<br>| install_output      | text                                       |<br>| install_state       | None                                       |<br>| install_state_info  | None                                       |<br>| inv_state           | inventoried                                |<br>| invprovision        | provisioned                                |<br>| location            | {}                                         |<br>| mgmt_ip             | 192.168.204.3                              |<br>| mgmt_mac            | 00:00:00:00:00:00                          |<br>| operational         | enabled                                    |<br>| personality         | controller                                 |<br>| reserved            | False                                      |<br>| rootfs_device       | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| serialid            | None                                       |<br>| software_load       | 19.08                                      |<br>| subfunction_avail   | available                                  |<br>| subfunction_oper    | enabled                                    |<br>| subfunctions        | controller,worker                          |<br>| task                | Locking                                    |<br>| tboot               | false                                      |<br>| ttys_dcd            | None                                       |<br>| updated_at          | 2019-09-19T06:32:21.003163+00:00           |<br>| uptime              | 372                                        |<br>| uuid                | 86ccb737-a20b-4cea-86ae-50032383cde8       |<br>| vim_progress_status | services-disabled                          |<br>+---------------------+--------------------------------------------+<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0<br>Avoiding 'unlock' action on already 'unlocked' host controller-0<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0<br>Avoiding 'unlock' action on already 'unlocked' host controller-0<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0<br>+---------------------+--------------------------------------------+<br>| Property            | Value                                      |<br>+---------------------+--------------------------------------------+<br>| action              | none                                       |<br>| administrative      | unlocked                                   |<br>| availability        | available                                  |<br>| bm_ip               | None                                       |<br>| bm_type             | None                                       |<br>| bm_username         | None                                       |<br>| boot_device         | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| capabilities        | {u'stor_function': u'monitor'}             |<br>| config_applied      | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| config_status       | None                                       |<br>| config_target       | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| console             | tty0                                       |<br>| created_at          | 2019-09-10T10:15:49.779617+00:00           |<br>| hostname            | controller-0                               |<br>| id                  | 1                                          |<br>| install_output      | text                                       |<br>| install_state       | None                                       |<br>| install_state_info  | None                                       |<br>| inv_state           | inventoried                                |<br>| invprovision        | provisioned                                |<br>| location            | {}                                         |<br>| mgmt_ip             | 192.168.204.3                              |<br>| mgmt_mac            | 00:00:00:00:00:00                          |<br>| operational         | enabled                                    |<br>| personality         | controller                                 |<br>| reserved            | False                                      |<br>| rootfs_device       | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| serialid            | None                                       |<br>| software_load       | 19.08                                      |<br>| subfunction_avail   | available                                  |<br>| subfunction_oper    | enabled                                    |<br>| subfunctions        | controller,worker                          |<br>| task                | Locking                                    |<br>| tboot               | false                                      |<br>| ttys_dcd            | None                                       |<br>| updated_at          | 2019-09-19T06:33:29.533163+00:00           |<br>| uptime              | 442                                        |<br>| uuid                | 86ccb737-a20b-4cea-86ae-50032383cde8       |<br>| vim_progress_status | services-disabled                          |<br>+---------------------+--------------------------------------------+<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0<br>Avoiding 'unlock' action on already 'unlocked' host controller-0<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0<br>+---------------------+--------------------------------------------+<br>| Property            | Value                                      |<br>+---------------------+--------------------------------------------+<br>| action              | none                                       |<br>| administrative      | unlocked                                   |<br>| availability        | available                                  |<br>| bm_ip               | None                                       |<br>| bm_type             | None                                       |<br>| bm_username         | None                                       |<br>| boot_device         | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| capabilities        | {u'stor_function': u'monitor'}             |<br>| config_applied      | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| config_status       | None                                       |<br>| config_target       | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| console             | tty0                                       |<br>| created_at          | 2019-09-10T10:15:49.779617+00:00           |<br>| hostname            | controller-0                               |<br>| id                  | 1                                          |<br>| install_output      | text                                       |<br>| install_state       | None                                       |<br>| install_state_info  | None                                       |<br>| inv_state           | inventoried                                |<br>| invprovision        | provisioned                                |<br>| location            | {}                                         |<br>| mgmt_ip             | 192.168.204.3                              |<br>| mgmt_mac            | 00:00:00:00:00:00                          |<br>| operational         | enabled                                    |<br>| personality         | controller                                 |<br>| reserved            | False                                      |<br>| rootfs_device       | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| serialid            | None                                       |<br>| software_load       | 19.08                                      |<br>| subfunction_avail   | available                                  |<br>| subfunction_oper    | enabled                                    |<br>| subfunctions        | controller,worker                          |<br>| task                | Locking                                    |<br>| tboot               | false                                      |<br>| ttys_dcd            | None                                       |<br>| updated_at          | 2019-09-19T06:33:37.166469+00:00           |<br>| uptime              | 442                                        |<br>| uuid                | 86ccb737-a20b-4cea-86ae-50032383cde8       |<br>| vim_progress_status | services-disabled                          |<br>+---------------------+--------------------------------------------+<br>[sysadmin@controller-0 ~(keystone_admin)]$<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-show controller-0<br>+---------------------+----------------------------------------------------------------------+<br>| Property            | Value                                                                |<br>+---------------------+----------------------------------------------------------------------+<br>| action              | none                                                                 |<br>| administrative      | unlocked                                                             |<br>| availability        | available                                                            |<br>| bm_ip               | None                                                                 |<br>| bm_type             | None                                                                 |<br>| bm_username         | None                                                                 |<br>| boot_device         | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0                           |<br>| capabilities        | {u'stor_function': u'monitor', u'Personality': u'Controller-Active'} |<br>| config_applied      | 1a574443-db19-4338-86c6-d0b3c2afd3ce                                 |<br>| config_status       | None                                                                 |<br>| config_target       | 1a574443-db19-4338-86c6-d0b3c2afd3ce                                 |<br>| console             | tty0                                                                 |<br>| created_at          | 2019-09-10T10:15:49.779617+00:00                                     |<br>| hostname            | controller-0                                                         |<br>| id                  | 1                                                                    |<br>| install_output      | text                                                                 |<br>| install_state       | None                                                                 |<br>| install_state_info  | None                                                                 |<br>| inv_state           | inventoried                                                          |<br>| invprovision        | provisioned                                                          |<br>| location            | {}                                                                   |<br>| mgmt_ip             | 192.168.204.3                                                        |<br>| mgmt_mac            | 00:00:00:00:00:00                                                    |<br>| operational         | enabled                                                              |<br>| personality         | controller                                                           |<br>| reserved            | False                                                                |<br>| rootfs_device       | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0                           |<br>| serialid            | None                                                                 |<br>| software_load       | 19.08                                                                |<br>| subfunction_avail   | available                                                            |<br>| subfunction_oper    | enabled                                                              |<br>| subfunctions        | controller,worker                                                    |<br>| task                |                                                                      |<br>| tboot               | false                                                                |<br>| ttys_dcd            | None                                                                 |<br>| updated_at          | 2019-09-19T06:34:33.201421+00:00                                     |<br>| uptime              | 507                                                                  |<br>| uuid                | 86ccb737-a20b-4cea-86ae-50032383cde8                                 |<br>| vim_progress_status | services-disable-failed..                                            |<br>+---------------------+----------------------------------------------------------------------+<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0<br>+---------------------+--------------------------------------------+<br>| Property            | Value                                      |<br>+---------------------+--------------------------------------------+<br>| action              | none                                       |<br>| administrative      | unlocked                                   |<br>| availability        | available                                  |<br>| bm_ip               | None                                       |<br>| bm_type             | None                                       |<br>| bm_username         | None                                       |<br>| boot_device         | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| capabilities        | {u'stor_function': u'monitor'}             |<br>| config_applied      | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| config_status       | None                                       |<br>| config_target       | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| console             | tty0                                       |<br>| created_at          | 2019-09-10T10:15:49.779617+00:00           |<br>| hostname            | controller-0                               |<br>| id                  | 1                                          |<br>| install_output      | text                                       |<br>| install_state       | None                                       |<br>| install_state_info  | None                                       |<br>| inv_state           | inventoried                                |<br>| invprovision        | provisioned                                |<br>| location            | {}                                         |<br>| mgmt_ip             | 192.168.204.3                              |<br>| mgmt_mac            | 00:00:00:00:00:00                          |<br>| operational         | enabled                                    |<br>| personality         | controller                                 |<br>| reserved            | False                                      |<br>| rootfs_device       | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| serialid            | None                                       |<br>| software_load       | 19.08                                      |<br>| subfunction_avail   | available                                  |<br>| subfunction_oper    | enabled                                    |<br>| subfunctions        | controller,worker                          |<br>| task                | Locking                                    |<br>| tboot               | false                                      |<br>| ttys_dcd            | None                                       |<br>| updated_at          | 2019-09-19T06:35:21.167957+00:00           |<br>| uptime              | 507                                        |<br>| uuid                | 86ccb737-a20b-4cea-86ae-50032383cde8       |<br>| vim_progress_status |                                            |<br>+---------------------+--------------------------------------------+<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0<br>Avoiding 'unlock' action on already 'unlocked' host controller-0<br>[sysadmin@controller-0 ~(keystone_admin)]$ system host-lock controller-0<br>+---------------------+--------------------------------------------+<br>| Property            | Value                                      |<br>+---------------------+--------------------------------------------+<br>| action              | none                                       |<br>| administrative      | unlocked                                   |<br>| availability        | available                                  |<br>| bm_ip               | None                                       |<br>| bm_type             | None                                       |<br>| bm_username         | None                                       |<br>| boot_device         | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| capabilities        | {u'stor_function': u'monitor'}             |<br>| config_applied      | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| config_status       | None                                       |<br>| config_target       | 1a574443-db19-4338-86c6-d0b3c2afd3ce       |<br>| console             | tty0                                       |<br>| created_at          | 2019-09-10T10:15:49.779617+00:00           |<br>| hostname            | controller-0                               |<br>| id                  | 1                                          |<br>| install_output      | text                                       |<br>| install_state       | None                                       |<br>| install_state_info  | None                                       |<br>| inv_state           | inventoried                                |<br>| invprovision        | provisioned                                |<br>| location            | {}                                         |<br>| mgmt_ip             | 192.168.204.3                              |<br>| mgmt_mac            | 00:00:00:00:00:00                          |<br>| operational         | enabled                                    |<br>| personality         | controller                                 |<br>| reserved            | False                                      |<br>| rootfs_device       | /dev/disk/by-path/pci-0000:00:11.5-ata-3.0 |<br>| serialid            | None                                       |<br>| software_load       | 19.08                                      |<br>| subfunction_avail   | available                                  |<br>| subfunction_oper    | enabled                                    |<br>| subfunctions        | controller,worker                          |<br>| task                | Locking                                    |<br>| tboot               | false                                      |<br>| ttys_dcd            | None                                       |<br>| updated_at          | 2019-09-19T06:36:15.197604+00:00           |<br>| uptime              | 572                                        |<br>| uuid                | 86ccb737-a20b-4cea-86ae-50032383cde8       |<br>| vim_progress_status | services-disable-failed..                  |<br>+---------------------+--------------------------------------------+<br>[sysadmin@controller-0 ~(keystone_admin)]$<br></div><div><br></div></div>