glance-api broken on wsme json import change

Bug #1829282 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
wes hayutin

Bug Description

http://logs.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-standalone-master/702194c/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

all master jobs failing to install the undercloud or deploy standalone on this error

2019-05-15 14:00:25 | "++ cat /run_command",
2019-05-15 14:00:25 | "+ CMD='/usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf --config-file /etc/glance/glance-image-import.conf'",
2019-05-15 14:00:25 | "+ ARGS=",
2019-05-15 14:00:25 | "+ [[ ! -n '' ]]",
2019-05-15 14:00:25 | "+ . kolla_extend_start",
2019-05-15 14:00:25 | "++ [[ ! -d /var/log/kolla/glance ]]",
2019-05-15 14:00:25 | "++ mkdir -p /var/log/kolla/glance",
2019-05-15 14:00:25 | "+++ stat -c %a /var/log/kolla/glance",
2019-05-15 14:00:25 | "++ [[ 2755 != \\7\\5\\5 ]]",
2019-05-15 14:00:25 | "++ chmod 755 /var/log/kolla/glance",
2019-05-15 14:00:25 | "++ . /usr/local/bin/kolla_glance_extend_start",
2019-05-15 14:00:25 | "+++ [[ -n 0 ]]",
2019-05-15 14:00:25 | "+++ glance-manage db_sync",
2019-05-15 14:00:25 | "Traceback (most recent call last):",
2019-05-15 14:00:25 | " File \"/usr/bin/glance-manage\", line 6, in <module>",
2019-05-15 14:00:25 | " from glance.cmd.manage import main",
2019-05-15 14:00:25 | " File \"/usr/lib/python2.7/site-packages/glance/cmd/manage.py\", line 53, in <module>",
2019-05-15 14:00:25 | " from glance.db import migration as db_migration",
2019-05-15 14:00:25 | " File \"/usr/lib/python2.7/site-packages/glance/db/__init__.py\", line 22, in <module>",
2019-05-15 14:00:25 | " from wsme.rest import json",
2019-05-15 14:00:25 | "ImportError: cannot import name json",
2019-05-15 14:00:25 | "stdout: '/swift_ringbuilder/etc/swift/acco

Due to change in wsme

https://opendev.org/x/wsme/commit/59d42ef55c1d12a6d203f645afe7ae22d753c2f5

Should be fixed by

https://opendev.org/x/wsme/commit/993d8a06d5c9f6fed13e03c1043c1a9594a88193

Revision history for this message
wes hayutin (weshayutin) wrote :
tags: added: ci
Revision history for this message
wes hayutin (weshayutin) wrote :

The fix has not made it to the consistent repo yet it seems.

[ ] python-wsme-0.9.4-0.20190514172331.59d42ef.el7.src.rpm 2019-05-14 17:24 96K
In https://trunk.rdoproject.org/centos7-master/25/de/25de3d7183420ecd8af8e4d3f73b3f82c2502a3c_8a9dd5a4/

Send the bug to packaging to push it along

tags: added: promotion-blocker
Revision history for this message
Alan Pevec (apevec) wrote :
Revision history for this message
Marios Andreou (marios-b) wrote :
Changed in tripleo:
status: Triaged → Fix Released
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.