Logical puzzles in tripleo CLI

Bug #1763433 reported by Sergii Golovatiuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Medium
Unassigned

Bug Description

At the moment the workflow is

openstack overcloud container image prepare \
  --output-images-file container_images_13.yaml \
  ...

which prepares a a config which can be used for populating local registry.

Then, the second step is

openstack overcloud container image upload \
  --config-file container_images_13.yaml \
  ...

which consumes the config from step one but has different key name (--config-file)

Then, the third step is

openstack overcloud container image prepare \
  --output-env-file container_env_13.yaml \

though it can be run as

openstack overcloud container image prepare \
  --output-env-file container_env_13.yaml \
  --config-file <name>

which should be prohibited as it puzzles operator, as he will generate config for 'openstack overcloud upgrade prepare' as well as container image file for uploading to local registry. However, the third step should be renamed as

openstack overcloud container env prepare \

which will generate env file for 'openstack overcloud upgrade prepare'

Also all keys should be unified as

openstack overcloud container image prepare \
  --images-file container_images_13.yaml \

openstack overcloud container image upload \
  --images-file container_images_13.yaml

openstack overcloud container env prepare
  --env-file <name>.yaml

openstack overcloud upgrade prepare \
  --env-file <name>.yaml

Tags: ux
Changed in tripleo:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Jiří Stránský (jistr)
milestone: none → rocky-1
tags: added: ux
Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

As a result,

openstack overcloud container env prepare

may be extended to generate config automatically scanning specified registry.

Changed in tripleo:
status: Confirmed → Triaged
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
Changed in tripleo:
assignee: Jiří Stránský (jistr) → nobody
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: wallaby-3 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
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.