Fix remove nova-cert during FFU

The change to remove nova-cert service added in [1], but
it fails while trying to disable the service.

This change removes code block where we are disabling
the service.

Also confirmed that the service doesn't show up after
undercloud reboot.

[1] https://review.opendev.org/#/c/690930/

Closes-Bug: #1878743
Change-Id: I9c5772345088717d21d86ddc12c881ce69058180
This commit is contained in:
Rajesh Tailor 2020-05-14 15:01:45 +05:30
parent 17d9a6af5e
commit 86afb2824b
1 changed files with 0 additions and 2 deletions

View File

@ -2097,8 +2097,6 @@ def _migrate_to_convergence(heat):
def _delete_nova_cert_service(nova):
"""Delete nova-cert service."""
try:
undercloud_host = CONF.undercloud_hostname or socket.gethostname()
nova.services.disable(undercloud_host, 'nova-cert')
service_list = nova.services.list()
for service in service_list:
if service.binary == 'nova-cert':