tripleo image prepare command can't run certain for the overcloud

Bug #1805977 reported by Juan Antonio Osorio Robles on 2018-11-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

This happens in the Stein (master) release when doing an overcloud deploy and using the container-image-prepare role.

Following the documentation [1], I tried to use the modify_role for a certain container, as stated in the documentation. However, when trying it out, ansible fails with the following error:

"AnsibleFileNotFound: Could not find or access '/home/stack/nova-custom/Dockerfile'"

This error message can be found in the /var/lib/mistral/overcloud directory.

I checked the file's permissions and they're not an issue (made it world-readable just to make sure).

Given that the overcloud deploy is triggered from mistral, which runs inside a container. I think the issue is that the file is not available from within the container (given it has another file hierarchy).

In order to make this work, we would need to provide a directory that folks can use to introduce such changes.

This isn't a problem in the standalone job, nor the undercloud, because there, the main ansible playbook is not triggered from within a container, but on the host itself.


Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers