Is it possible to inject data(--file) if instance is booting from volume ?
Issue
- Is it possible to inject data(--file) if instance is booting from volume ?
[root@juno1 ~(keystone_admin)]# nova boot --flavor 1 --block-device source=image,id=cb351600-caf9-482f-aec5-b5d9dba3b65f,dest=volume,size=1,shutdown=shutdown,bootindex=0 --nic net-id=aaec3bfb-3813-4ffa-90c4-e0697217a0a5 --file /tmp/pratik_instance.txt=/root/pratik.txt pbandark-123
- Unable to insert data(--file) while booting instance from volume.
compute.log:
[...]
2015-12-29 11:52:23.058 14333 WARNING nova.virt.libvirt.driver [-] [instance: ff521441-dc63-42c0-a4de-73e86f1c2912] File injection into a boot from volume instance is not supported <==
[...]
Environment
- Red Hat Open Stack
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
