Launching an Ironic instance with file injection deploys instance without file injection

Bug #1536574 reported by Sergii Turivnyi
6
This bug affects 1 person
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_ubuntu_trasty_ext4_demo \
        --key-name ironic_demo_key \
        --nic net-id=$(awk '{/baremetal/print $2'}) \
        --file /home/ubuntu/myfile.txt=myfile.txt \
        vm_test_img_01

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

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

MOS Ironic, is file injection expected to work with baremetal instances at all?

tags: added: area-ironic
removed: ironic
Changed in mos:
assignee: nobody → Sergii Turivnyi (sturivnyi)
status: New → Incomplete
assignee: Sergii Turivnyi (sturivnyi) → MOS Ironic (mos-ironic)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Closing the bug as Invalid after a month without feedback.

Sergii, feel free to re-open it, if you believe file injection must be supported by ironic virt driver in nova.

Changed in mos:
status: Incomplete → Invalid
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

If it is not supported, then we will mark issue as wishlist for further improvement of Ironic in MOS.

Changed in mos:
milestone: none → 10.0
status: Invalid → New
importance: Undecided → Wishlist
Changed in mos:
status: New → Confirmed
tags: added: enhancement
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.