Comment 14 for bug 1779304

Revision history for this message
Ilya Shakhat (shakhat) wrote :

Hi Nahian,

> It worked fine now,
> I guess it started working after I created a new VM with my key and attached it with the shaker network.

That's good!
Though it's strange why manual boot of VM helps. I would suggest to look more precisely on difference between booting VMs via HOT and the manual one. It may be that Heat operates too quickly and some resources are not created properly (e.g. network services start too late and VMs boots before metadata agent -- if this is the case than the less VMs are in HOT the less chances to get them work).

Regarding HOT, you can take https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/l2.hot as starting point. Key should be a property of Server (key_name: <name of Key resource>). HOT file is referenced from scenario file, so the latter needs to be updated too.