9.0 Image provisioning failing in environment with ironic enabled .
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Alexey Stupnikov | ||
Mitaka |
Invalid
|
High
|
Alexey Stupnikov |
Bug Description
Fuel 9 with Ironic enabled.
regular image got created successfully but ironic image is failing.
fuel-ironic-
[2016-10-20 11:37:50,811] DEBUG fuel_agent.
[2016-10-20 11:37:52,431] DEBUG fuel_agent.
[2016-10-20 11:37:52,445] DEBUG fuel_agent.manager Trying to disable journaling for ext4 in order to speed up the build
[2016-10-20 11:37:52,445] DEBUG fuel_agent.
[2016-10-20 11:37:52,472] DEBUG fuel_agent.manager Mounting target file systems: /tmp/tmpu3RgPr.
[2016-10-20 11:37:52,473] DEBUG fuel_agent.
[2016-10-20 11:37:52,487] INFO fuel_agent.manager Installing BASE operating system into image
[2016-10-20 11:37:52,487] ERROR fuel_agent.manager Failed to build bootstrap image: list index out of range
[2016-10-20 11:37:52,487] INFO fuel_agent.manager Cleanup chroot
[2016-10-20 11:37:52,487] DEBUG fuel_agent.
[2016-10-20 11:37:52,570] DEBUG fuel_agent.
[2016-10-20 11:37:52,570] DEBUG fuel_agent.manager Finally: umounting procfs /tmp/tmpu3RgPr.
[2016-10-20 11:37:52,570] DEBUG fuel_agent.
[2016-10-20 11:37:52,575] WARNING fuel_agent.
Command: mountpoint -q /tmp/tmpu3RgPr.
Exit code: 1
Stdout: ''
Stderr: ''
Steps to reproduce:
1. Update fuel-bootstrap-cli package on master node
2. Create env with ironic,lvm,do os provisioning in one of the node
Expected Result:
Ubuntu Installed
Actual Result:
Provision has failed. Failed to execute hook 'shell' Failed to run command cd / && test -e /var/www/
Reproducability:
tried twice by deleting previous environment,same result ,also tried reset
Changed in fuel: | |
milestone: | none → 11.0 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
This issue is caused by broken fuel_bootstrap_ cli.yaml configuration file. It looks like it was changed after bootstrap images were built, since it breaks bootstrap image build process the same way. I was able to reproduce this bug after updating fuel-bootstrap-cli package (update replaced this file)