Can't reproduce more than one stack using reproducer-quickstart.

Bug #1775826 reported by Sofer Athlan-Guyot on 2018-06-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Sofer Athlan-Guyot

Bug Description

Hi,

When a reproducer-quickstart stack has been created, it becomes impossible to create another one:

< TASK [multinodes : Fail if stack failed to create] >
 ----------------------------------------------------
        \ ^__^
         \ (oo)\_______
            (__)\ )\/\
                ||----w |
                || ||

fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to create multinode stack m_climultinode_stack, check log: /home/user/Work/reproducer/cli-with-group/m_cliprovision_multinode_stac
k.log"}

In the log file we have:

 stack_status_reason | Resource CREATE failed: StackValidationFailed: resources.subnodes.resources[1].resources.subnode_floating_ip: Property error: subnode_floating_ip.Properties.port_id: Multiple port match
es found for name '', use an ID to be more specific.

Removing the existing stack "solves" the issue. (this is on rdo-cloud).

Matt Young (halcyondude) wrote :

(triage) we did not test this use case, likely a gap in our testing.

tags: added: quickstart
Changed in tripleo:
status: New → Triaged
status: Triaged → Incomplete
Matt Young (halcyondude) wrote :

Could you please put the invocation and steps to reproduce in the LP?

Thanks, we would like to ensure we understand how you are using the reproducer script to better understand your scenario / details.

Changed in tripleo:
assignee: nobody → Sofer Athlan-Guyot (sofer-athlan-guyot)

Well, take two quickstart-reproducer.sh scripts and put them in two different directories.

 mkdir one two

 cd one && curl -O https://logs.rdoproject.org/56/573856/2/openstack-check/gate-tripleo-ci-centos-7-multinode-1ctlr-featureset036-oc-ffu-queens-nv/Z8c5d6d1f7cee44a0adbf2868885908a3/reproducer-quickstart.sh

  cd ../two && curl -O http://logs.openstack.org/17/573717/2/check/tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades/f0e67a3/logs/reproducer-quickstart.sh

  cd ../one
  bash ./reproducer-quickstart.sh -w $(pwd) -v true -p one_

This should go fine.

Then:

  cd ../two
  bash ./reproducer-quickstart.sh -w $(pwd) -v true -p two_

Then:

< TASK [multinodes : Fail if stack failed to create] >
 ----------------------------------------------------
        \ ^__^
         \ (oo)\_______
            (__)\ )\/\
                ||----w |
                || ||

fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to create multinode stack two_multinode_stack, check log: /home/user/Work/reproducer/two/two_provision_multinode_stack.log"}

The floating ip port seems to miss a name:

   StackValidationFailed: resources.subnode_floating_ip: Property error: subnode_floating_ip.Properties.port_id: Multiple port matches found for name '', use an ID to be more specific.

which prevent the stack to be created.

Hope that answer the question.

wes hayutin (weshayutin) wrote :

Thanks Sofer, I'm reaching out to Sagi to see if he can assist

Changed in tripleo:
status: Incomplete → Triaged
importance: Medium → High
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1

Confirming the bug, will look into it

Fix proposed to branch: master
Review: https://review.openstack.org/612979

Changed in tripleo:
status: Triaged → In Progress

Workaround is to add:

  PREFIX=test01-
  -p ${PREFIX} -e private_net_name=${PREFIX}private_net

to the reproducer command line.

Changed in tripleo:
milestone: stein-1 → stein-2

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/612979
Reason: Clearing the gate. Do not retore this until being given the all clear. See http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000368.html

Changed in tripleo:
milestone: stein-2 → stein-3

Reviewed: https://review.openstack.org/612979
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=bc2ddcb156ec7276d2718ff4f26e1a3f8e0233d5
Submitter: Zuul
Branch: master

commit bc2ddcb156ec7276d2718ff4f26e1a3f8e0233d5
Author: Sofer Athlan-Guyot <email address hidden>
Date: Wed Oct 24 11:17:56 2018 +0200

    Add the possibility to create more than one stack with reproducer.

    By making sure we prefix the private net name, we ensure that we can
    create multiple reproducer stack on the same cloud provider.

    Change-Id: I2fec9abe139481cb1e10bb72aac88b651214269f
    Closes-Bug: #1775826

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers