[Upgrades] Could not find the requested service openstack-glance-registry

Bug #1793557 reported by Jose Luis Franco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Jose Luis Franco

Bug Description

When openstack-glance-registry service is enabled in service parameters an error is obtained during upgrades:

2018-09-14 21:14:09 | 2018-09-14 21:14:09.412 55847 WARNING tripleoclient.v1.tripleo_upgrade.Upgrade [-] fatal: [centos-7-rax-dfw-0002027837]: FAILED! => {"changed": false, "msg": "Could not find the requested service openstack-glance-registry: host"}

LOGS: http://logs.openstack.org/16/602416/3/check/tripleo-ci-centos-7-standalone/2f37c31/logs/undercloud/home/zuul/standalone_upgrade.log.txt.gz#_2018-09-14_21_14_09

This happens because we're stopping the service directly without checking previously if it was enabled or not.

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: rocky-rc2 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/603581
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6ea85bc5bb620a078958f19ec5308ada1f0d0562
Submitter: Zuul
Branch: master

commit 6ea85bc5bb620a078958f19ec5308ada1f0d0562
Author: Jose Luis Franco Arza <email address hidden>
Date: Wed Sep 19 09:53:26 2018 +0200

    Check if openstack-glance-registry is enabled before stopping it.

    If glance-registry is defined in the service
    parameters, then during upgrade, it will try
    to stop it. However, as the service is not
    enabled the service stop task will fail.
    This patch checks if the service is enabled
    before stopping it. And covers the case in
    which the service might be disabled but still
    running.

    Closes-Bug: #1793557
    Change-Id: I21d17c05f555b25f709f314f6a19a011a3d10a8d

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.0.0

This issue was fixed in the openstack/tripleo-heat-templates 10.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.