Re: Setting user data removes SSH public key data on a running VM

2013-10-18 Thread Stanislav Petrov
Hi again, Did you stop start the vm after updating the Userdata (after step 4).Even after stop and start if same behavior exists then this is an issue. - Yes, I did restart the VM and the behavior is the same (available user data, removed SSH public key). The public key being removed from the VR

Setting user data removes SSH public key data on a running VM

2013-10-11 Thread Stanislav Petrov
Hi all, My Environment is: CS 4.1.1, KVM hypervisor Here is the use case steps: 1. Create SSH keypair keypairname through the REST API. 2. Deploy VM with the created keypair from step 1. 3. On the VM, the url http://dhcpserverip/latest/public-keys returns the public key. 4. Update the running VM

Re: Setting user data removes SSH public key data on a running VM

2013-10-11 Thread Travis Graham
The public key being removed from the VR is the correct behavior. The VR has a cache that stores the ssh key when you make the API call and once it has been requested is removed from the cache. Travis On Oct 11, 2013, at 4:31 AM, Stanislav Petrov devilfighter1...@gmail.com wrote: Hi all,