Validation runs through mistral are breaking

Bug #1789886 reported by Florian Fuchs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Florian Fuchs

Bug Description

This is a follow up to https://bugs.launchpad.net/tripleo/+bug/1786772 . The fix that has been committed solves the validation listing, but running validation causes errors. The state of debugging I've done so far:

- the ssh_keys environment is missing:
  this can be temporarily solved by running the `tripleo.validations.get_pubkey` action
  manually which creates the keys
- with the keys in place, running a validation results in a chown error:
  `chown: invalid spec: 'validations:'`
  this looks like the validations user is misisng in the container.

Dougal Matthews (d0ugal)
tags: added: workflows
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
assignee: nobody → Florian Fuchs (flo-fuchs)
status: Triaged → In Progress
tags: added: rocky-backport-potential
Changed in tripleo:
milestone: rocky-rc2 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/598958
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=ec26073d1445701d04c8ece375b9268b67008ddb
Submitter: Zuul
Branch: master

commit ec26073d1445701d04c8ece375b9268b67008ddb
Author: Florian Fuchs <email address hidden>
Date: Fri Aug 31 15:43:17 2018 +0200

    Fix validation runs in a containerized environment

    This fix addresses the following issues:
    - No validations user present in the mistral-executor container
    - The ssh_keys environment isn't initially created

    Change-Id: I53078723b0995d6cd9590f119b28a7ca2b95dafd
    Closes-Bug: #1789886

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/600102
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=105da3b22f908a2c6f4257ab9a6eff478eeef350
Submitter: Zuul
Branch: master

commit 105da3b22f908a2c6f4257ab9a6eff478eeef350
Author: Florian Fuchs <email address hidden>
Date: Wed Sep 5 15:34:23 2018 +0200

    Add validations pkg to mistral-executor image

    This adds the openstack-tripleo-validations package to the mistral executor
    image.

    Change-Id: I1fd70d4f854977510fcce7a673b96e1f99e703ed
    Partial-Bug: #1789886

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/603002

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/603031

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/rocky)

Reviewed: https://review.openstack.org/603002
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=51aef5856364c55383298cbe2a959e11bd0565d4
Submitter: Zuul
Branch: stable/rocky

commit 51aef5856364c55383298cbe2a959e11bd0565d4
Author: Florian Fuchs <email address hidden>
Date: Wed Sep 5 15:34:23 2018 +0200

    Add validations pkg to mistral-executor image

    This adds the openstack-tripleo-validations package to the mistral executor
    image.

    Change-Id: I1fd70d4f854977510fcce7a673b96e1f99e703ed
    Partial-Bug: #1789886
    (cherry picked from commit 105da3b22f908a2c6f4257ab9a6eff478eeef350)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (stable/rocky)

Change abandoned by Alex Schultz (<email address hidden>) on branch: stable/rocky
Review: https://review.openstack.org/603031
Reason: http://lists.openstack.org/pipermail/openstack-dev/2018-September/135224.html

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Juan Antonio Osorio Robles (<email address hidden>) on branch: stable/rocky
Review: https://review.openstack.org/603031
Reason: Having issues at the gate, abandoning temporarily

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/rocky)

Reviewed: https://review.openstack.org/603031
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=15484a005cd602253e323f81c35323f43ada58cf
Submitter: Zuul
Branch: stable/rocky

commit 15484a005cd602253e323f81c35323f43ada58cf
Author: Florian Fuchs <email address hidden>
Date: Fri Aug 31 15:43:17 2018 +0200

    Fix validation runs in a containerized environment

    This fix addresses the following issues:
    - No validations user present in the mistral-executor container
    - The ssh_keys environment isn't initially created

    Change-Id: I53078723b0995d6cd9590f119b28a7ca2b95dafd
    Closes-Bug: #1789886
    (cherry picked from commit ec26073d1445701d04c8ece375b9268b67008ddb)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 10.0.0

This issue was fixed in the openstack/tripleo-common 10.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.5.0

This issue was fixed in the openstack/tripleo-common 9.5.0 release.

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.