Launching an Ironic instance with file injection deploys instance without file injection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
Wishlist
|
MOS Ironic |
Bug Description
Precondition:
- Environment without Ceph
- Ironic
Steps to reproduce:
- on the all compute nodes in /etc/nova/nova.conf set inject_partition=-1
- restart service nova-compute restart
- navigate to the controller node
- as demo user launch Ironic instance with file injection
execute:
touch myfile.txt
echo "# Hi there!!!" >> myfile.txt
nova boot \
--flavor bm_flavor \
--image virtual_
--key-name ironic_demo_key \
--nic net-id=$(awk '{/baremetal/print $2'}) \
--file /home/ubuntu/
Actual result:
There are no file in the /home/ubuntu/ directory on the instance
Expected result:
myfile.txt is in the /home/ubuntu/ directory on the instance
Changed in mos: | |
milestone: | none → 10.0 |
status: | Invalid → New |
importance: | Undecided → Wishlist |
Changed in mos: | |
status: | New → Confirmed |
tags: | added: enhancement |
MOS Ironic, is file injection expected to work with baremetal instances at all?