Containers based Overcloud Deployment in tripleo-quickstart "unrecognized arguments: --output-env-file"

Bug #1733562 reported by Pradipta Kumar Sahoo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Medium
Unassigned

Bug Description

Description
===========
Referring to document [1], I noticed the argument (--output-env-file) is not working, it is working with the parameter "--env-file". Kindly update update the document with correct syntax.

[1] https://docs.openstack.org/tripleo-docs/latest/install/containers_deployment/overcloud.html

Steps to reproduce
==================
openstack overcloud container image prepare --namespace tripleoupstream --prefix centos-binary --tag pike --output-env-file /home/stack/docker_registry.yaml
usage: openstack overcloud container image prepare [-h]
                                                   [--template-file <yaml template file>]
                                                   [--pull-source <location>]
                                                   [--push-destination <location>]
                                                   [--tag <tag>]
                                                   [--namespace <namespace>]
                                                   [--prefix <prefix>]
                                                   [--suffix <suffix>]
                                                   [--set <variable=value>]
                                                   [--exclude <regex>]
                                                   [--images-file <file path>]
                                                   [--service-environment-file <file path>]
                                                   [--env-file <file path>]
                                                   [--roles-file ROLES_FILE]
openstack overcloud container image prepare: error: unrecognized arguments: --output-env-file /home/stack/docker_registry.yaml

Expected result
===============

openstack overcloud container image prepare --namespace tripleoupstream --prefix centos-binary --tag pike --env-file /home/stack/docker_registry.yaml

Environment
===========
Tripleo Quickstart

Changed in tripleo:
milestone: none → queens-3
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
yatin (yatinkarel) wrote :

Looks like you have older version of tripleoclient and referring the latests docs,
Can you check what's the tripleoclient version you had, as now --env-file is deprecated: https://github.com/openstack/python-tripleoclient/commit/d2cc4c548978b94ef7a78cd6479d191c38ee1736

Changed in tripleo:
status: Triaged → Incomplete
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
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:
status: Incomplete → Invalid
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.