yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58338
[Bug 1638961] [NEW] evacuating an instance loses files specified via "--file" on the cli
Public bug reported:
I booted up an instance as follows in my stable/mitaka devstack
environment:
$ echo "this is a test" > /tmp/my_user_data.txt
$ echo "blah1" > /tmp/file1
$ echo "blah2" > /tmp/file2
$ nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64-uec --config-drive true --user-data /tmp/my_user_data.txt --file /root/file1=/tmp/file1 --file /tmp/file2=/tmp/file2 testing
This booted up an instance, and within the guest I ran the following:
$ mkdir mnt
$ mount /dev/sr0 mnt
$ cat mnt/openstack/latest/user_data
this is a test
$ umount mnt
$ cat /root/file1
blah1
$ cat /tmp/file2
blah2
Then I killed the compute node and ran "nova evacuate testing".
The evacuated instance had a config drive at /dev/sr0, but it did not
have the /root/file1 or /tmp/file2 files. This is arguably incorrect.
** Affects: nova
Importance: Undecided
Status: New
** Tags: compute
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1638961
Title:
evacuating an instance loses files specified via "--file" on the cli
Status in OpenStack Compute (nova):
New
Bug description:
I booted up an instance as follows in my stable/mitaka devstack
environment:
$ echo "this is a test" > /tmp/my_user_data.txt
$ echo "blah1" > /tmp/file1
$ echo "blah2" > /tmp/file2
$ nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64-uec --config-drive true --user-data /tmp/my_user_data.txt --file /root/file1=/tmp/file1 --file /tmp/file2=/tmp/file2 testing
This booted up an instance, and within the guest I ran the following:
$ mkdir mnt
$ mount /dev/sr0 mnt
$ cat mnt/openstack/latest/user_data
this is a test
$ umount mnt
$ cat /root/file1
blah1
$ cat /tmp/file2
blah2
Then I killed the compute node and ran "nova evacuate testing".
The evacuated instance had a config drive at /dev/sr0, but it did not
have the /root/file1 or /tmp/file2 files. This is arguably incorrect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1638961/+subscriptions
Follow ups