Comply with upper-constraints when building images
Bug #1603506 reported by
Peter Stachowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently building an image uses requirements but not upper-constraints. This can cause an issue when libraries change and the image becomes out of sync with the server code (for example when oslo.context changes).
Trove integration should use upper-constraints as well.
Changed in trove: | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
function cmd_build_image() { DATASTORE_ TYPE=${ 1:-'mysql' } PATH_TROVE= ${2:-'\ /opt\/stack\ /trove' } SCP_USERNAME= ${3:-'ubuntu' } USERNAME= ${4:-'ubuntu' }
IMAGE_
ESCAPED_
HOST_
GUEST_
exclaim "Ensuring we have all packages needed to build image."
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS update
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install qemu
sudo -H $HTTP_PROXY pip install --upgrade pip dib-utils
install_ devstack_ code
cmd_ clone_projects do_not_force_update $REDSTACK_ SCRIPTS/ image-projects- list
exclaim "Use tripleo- diskimagebuilde r to actually build the Trove Guest Agent Image." guest_image $IMAGE_ DATASTORE_ TYPE
build_
}
Is here to change? ...