Enable tripleo-repos ffu step fails while running "cmd": ["tripleo-repos", "-", "b", "o", "c", "a", "t", "a", "c", "u", "r", "r", "e", "n", "t"]

Bug #1750643 reported by Marius Cornea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Sofer Athlan-Guyot

Bug Description

Running ansible-playbook --module-path /usr/share/ansible-modules/ -i /usr/bin/tripleo-ansible-inventory -b tripleo-aARWBa-config/fast_forward_upgrade_playbook.yaml

fails with:

TASK [Enable tripleo-repos] ************************************************************************************************************************************************************************************
fatal: [192.168.24.7]: FAILED! => {"changed": true, "cmd": ["tripleo-repos", "-", "b", "o", "c", "a", "t", "a", "c", "u", "r", "r", "e", "n", "t"], "delta": "0:00:00.086074", "end": "2018-02-20 19:32:53.995756", "msg": "non-zero return code", "rc": 2, "start": "2018-02-20 19:32:53.909682", "stderr": "usage: tripleo-repos [-h] [-d DISTRO] [-b BRANCH] [-o OUTPUT_PATH]\n [--centos-mirror CENTOS_MIRROR] [--rdo-mirror RDO_MIRROR]\n REPO [REPO ...]\ntripleo-repos: error: argument REPO: invalid choice: '-' (choose from 'current', 'deps', 'current-tripleo', 'current-tripleo-dev', 'ceph', 'opstools')", "stderr_lines": ["usage: tripleo-repos [-h] [-d DISTRO] [-b BRANCH] [-o OUTPUT_PATH]", " [--centos-mirror CENTOS_MIRROR] [--rdo-mirror RDO_MIRROR]", " REPO [REPO ...]", "tripleo-repos: error: argument REPO: invalid choice: '-' (choose from 'current', 'deps', 'current-tripleo', 'current-tripleo-dev', 'ceph', 'opstools')"], "stdout": "", "stdout_lines": []}
 to retry, use: --limit @/home/stack/tripleo-aARWBa-config/fast_forward_upgrade_playbook.retry

PLAY RECAP *****************************************************************************************************************************************************************************************************
192.168.24.16 : ok=43 changed=24 unreachable=0 failed=1
192.168.24.7 : ok=26 changed=11 unreachable=0 failed=1

Tags: upgrade
Changed in tripleo:
assignee: nobody → Sofer Athlan-Guyot (sofer-athlan-guyot)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/546568
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=06afcee786e784c3ded6f850facfd4a31e2794bd
Submitter: Zuul
Branch: master

commit 06afcee786e784c3ded6f850facfd4a31e2794bd
Author: Sofer Athlan-Guyot <email address hidden>
Date: Wed Feb 21 11:59:53 2018 +0100

    FFU: repo section string manipulation error.

    A nit was introduced during the refactor of the repo selection. This
    should fix it.

    Closes-Bug: #1750643

    Change-Id: If8a0feed236d7f4d7eaf679c93461816efd7b628

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0rc1 release candidate.

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.