"container image prepare" generates empty list if a tripleo env file is used

Bug #1727665 reported by Jan Provaznik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Unassigned

Bug Description

If ~/.tripleo/environments directory exists, then the command to prepare docker_registry.yaml file returns an empty list of images.

Reproducer:
mkdir ~/puppet-modules
upload-puppet-modules -d ~/puppet-modules
openstack overcloud container image prepare --namespace trunk.registry.rdoproject.org/master --tag tripleo-ci-testing --env-file ~/docker_registry.yaml

Removing ~/.tripleo "solves" the issue and list of images is then generated.

I guess the problem will be in tripleoclient/v1/container_image.py where build_service_filter method takes into account only user's ~/.tripleo/ env files when getting enabled services.

This issue is painful for user experience as it generates an empty list w/o any warning so users may be completely lost what is happening.

Tags: containers
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → queens-2
tags: added: containers
Changed in tripleo:
milestone: queens-2 → queens-3
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.