master promotion: Failed to call refresh: glance-manage db_sync

Bug #1747690 reported by Rafael Folco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Critical
Shilpa Devharakar
tripleo
Invalid
Critical
Unassigned

Bug Description

periodic-tripleo-centos-7-master-containers-build

undercloud install fails on glance_manage db_sync:

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-centos-7-master-containers-build/e7c61cd/undercloud/home/jenkins/undercloud_install.log.txt.gz#_2018-02-06_14_23_33

2018-02-06 14:23:33 | 2018-02-06 14:23:33,117 INFO: Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]: Failed to call refresh: glance-manage db_sync returned 1 instead of one of [0]
2018-02-06 14:23:33 | 2018-02-06 14:23:33,118 INFO: Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]: glance-manage db_sync returned 1 instead of one of [0]

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-centos-7-master-containers-build/e7c61cd/undercloud/var/log/extra/errors.txt.gz

tags: added: alert
Changed in tripleo:
assignee: Sagi (Sergey) Shnaidman (sshnaidm) → nobody
Revision history for this message
Alan Pevec (apevec) wrote :

message before the Error is
2018-02-06 14:23:33 | 2018-02-06 14:23:33,116 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: Database is up to date. No migrations needed.

Last commit added that message and changed the exit value:
https://review.openstack.org/#/c/433934/15/glance/cmd/manage.py@116

affects: tripleo → glance
Changed in glance:
milestone: queens-rc1 → none
assignee: nobody → Shilpa Devharakar (shilpasd)
Changed in glance:
milestone: none → queens-rc1
affects: glance → tripleo
Changed in tripleo:
milestone: queens-rc1 → none
Changed in glance:
assignee: nobody → Shilpa Devharakar (shilpasd)
Changed in tripleo:
assignee: Shilpa Devharakar (shilpasd) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/541601

Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/541601
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=8682876a8b5d18cd678be061ad8bb64aaeb3dcff
Submitter: Zuul
Branch: master

commit 8682876a8b5d18cd678be061ad8bb64aaeb3dcff
Author: shilpa.devharakar <email address hidden>
Date: Wed Feb 7 12:00:22 2018 +0530

    Exiting with user friendly message and SystemExit()

    If you return anything as string to sys.exit method, the system exit
    status is one (i.e. failure).
    Added user friendly print message and returned without any exit code.

    Closes-Bug: #1747690

    Change-Id: I107cc1ad4b8d6d0ebee1127fc1e57db55c7cd839

Changed in glance:
status: In Progress → Fix Released
Alan Pevec (apevec)
Changed in tripleo:
status: Triaged → Invalid
Changed in tripleo:
status: Invalid → Won't Fix
status: Won't Fix → Invalid
Changed in glance:
milestone: none → queens-rc1
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 16.0.0.0rc1

This issue was fixed in the openstack/glance 16.0.0.0rc1 release candidate.

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.