A hard reboot operation fails if force_disk_config is switch to True after spawning the instance without a config drive.
Steps to recreate would be:
1. Spawn an instance without a config drive
2. Change force_config_drive to True in your nova.conf
3. Restart nova-compute
4. Attempt to reboot the instance
An error similar to the following message will be displayed in the nova compute logs:
2013-10-18 15:26:42.268 ERROR nova.compute.manager [req-ae365347-f863-4bf3-9fc1-f2e13a8aeb6a 8d656ddf92e24f88a91a51a2c4dd5252 951ae3eceeff40db97fa6aca540a6738] [instance: 2e685095-9b7b-4711-aba6-2a7794fdafd5] Cannot reboot instance: [Errno 2] No such file or directory: '/var/lib/nova/instances/2e685095-9b7b-4711-aba6-2a7794fdafd5/disk.config'
A hard reboot operation fails if force_disk_config is switch to True after spawning the instance without a config drive.
Steps to recreate would be:
1. Spawn an instance without a config drive
2. Change force_config_drive to True in your nova.conf
3. Restart nova-compute
4. Attempt to reboot the instance
An error similar to the following message will be displayed in the nova compute logs:
2013-10-18 15:26:42.268 ERROR nova.compute. manager [req-ae365347- f863-4bf3- 9fc1-f2e13a8aeb 6a 8d656ddf92e24f8 8a91a51a2c4dd52 52 951ae3eceeff40d b97fa6aca540a67 38] [instance: 2e685095- 9b7b-4711- aba6-2a7794fdaf d5] Cannot reboot instance: [Errno 2] No such file or directory: '/var/lib/ nova/instances/ 2e685095- 9b7b-4711- aba6-2a7794fdaf d5/disk. config'