Bug 1215089
| Summary: | allow injecting data(--file) if instance is booting from volume | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Pratik Pravin Bandarkar <pbandark> |
| Component: | RFEs | Assignee: | RHOS Maint <rhos-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 (Juno) | CC: | dasmith, jraju, lyarwood, markmc, mburns, srevivo |
| Target Milestone: | --- | Keywords: | FutureFeature, ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-05 16:41:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
1. Proposed title of this feature request allow injecting data(--file) if instance is booting from volume 3. What is the nature and description of the request? Currently its not possible to inject data(--file) if the instance is booting from volume. --file <dst-path=src-path> Store arbitrary files from <src-path> locally to <dst- path> on the new server. You may store up to 5 files. <snip> nova boot --block-device source=image,id=d5bf59bd-e22e-4782-a419-ac714315e2be,dest=volume,size=20,shutdown=preserve,bootindex=0 --flavor 2 --availability-zone nova-compute:abc.example.com --nic port-id=22666c21-eb12-427d-8a52-644faf5644cb --key-name new_laptop --file /etc/sysconfig/network-scripts/ifcfg-eth0=/root/ifcfg-eth0 mytest_vm from compute logs: 2015-04-24 19:36:17.797 24058 INFO nova.virt.libvirt.driver [req-ae6dbce5-9a28-47d4-88d4-30b252e6d144 f5bbaa4c14e64edcac86409c8b6531da 9961ef2b17754148b9737d9cdf6c4c78] [instance: 9d2b93f7-99c4-4ac1-b3b0-7f15923e58a4] Creating image 2015-04-24 19:36:17.797 24058 WARNING nova.virt.libvirt.driver [req-ae6dbce5-9a28-47d4-88d4-30b252e6d144 f5bbaa4c14e64edcac86409c8b6531da 9961ef2b17754148b9737d9cdf6c4c78] [instance: 9d2b93f7-99c4-4ac1-b3b0-7f15923e58a4] File injection into a boot from volume instance is not supported <== </snip> Booting from image works fine without any issue. So, add support if instance is booting from volume.