2. Ssh to controller after deployment and create key pair
nova keypair-add instancekey
chmod 400 root/.ssh/instancekey_rsa
3. Create instance with keypair
nova boot myins --image 8ae0a8a0-f6c5-40b1-8131-9466fc3955e6 --flavor 1 --nic net-id=7d7da90b-0d44-439e-88e5-9cede5ccbd49 --key-name instancekey
4. Try to ssh to instance and check connectivity from controller using generated key
ip netns exec qdhcp-7d7da90b-0d44-439e-88e5-9cede5ccbd49 ssh -i /root/.ssh/instancekey_rsa -o 'StrictHostKeyChecking no' cirros@10.109.19.4 "ping -c 1 8.8.8.8"
Expected - password isn't required
Actual - password was asked
Steps:
1. Deploy next cluster - neutron vxlan, 3 controller, 2 compute, 1 cinder
2. Ssh to controller after deployment and create key pair instancekey_ rsa
nova keypair-add instancekey
chmod 400 root/.ssh/
3. Create instance with keypair f6c5-40b1- 8131-9466fc3955 e6 --flavor 1 --nic net-id= 7d7da90b- 0d44-439e- 88e5-9cede5ccbd 49 --key-name instancekey
nova boot myins --image 8ae0a8a0-
4. Try to ssh to instance and check connectivity from controller using generated key 0d44-439e- 88e5-9cede5ccbd 49 ssh -i /root/. ssh/instancekey _rsa -o 'StrictHostKeyC hecking no' cirros@10.109.19.4 "ping -c 1 8.8.8.8"
ip netns exec qdhcp-7d7da90b-
Expected - password isn't required
Actual - password was asked
nova console-log - http:// paste.openstack .org/show/ 494419/ : 169.254. 169.254/ 2009-04- 04/user- data
failed to get http://
warning: no ec2 metadata for user-data
mkdir: can't create directory '.ssh': No space left on device
so ssh key wasn't added on instance
it also might be a problem with cirros image that has been changed a lot recently