steps to work with the OpenStack instance via ssh
$ eval `ssh-agent -s`ssh-add`
nova delete dev-trusty
nova boot dev-trusty --flavor cpu4-ram8-disk50-ephemeral20 --image ddf5bd01-4926-40e3-a4c3-83a73f45554a --key_name kelvin_lcy02
nova add-secgroup dev-trusty custom-ssh
nova show dev-trusty
nova floating-ip-create
nova floating-ip-list
nova floating-ip-associate dev-trusty 162.2xx.x.xxx
Find which version of the app installed on ubunut
apt-cache policy ansible
HOW to debug the juju hook issue
open in one terminal
$ juju debug-hook
in another terminal
juju resolved --retry elasticsearch/0
Share the same ssh identify in different window
- Start the agent from one window
`eval `ssh-agent`
- Start byobu
byobu
ssh-add -l
ssh-add
- After days finished the collaboration, remove the agent
ssh-add -d ~/kelvin/identiy.key
ctrl+A -> D will detach the yobo screen.