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

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 wrote: > Hi all, > > My Environment is: CS 4

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

2013-10-11 Thread Harikrishna Patnala
Hi, Did you stop start the vm after updating the Userdata (after step 4). API doc says we need to stop start the vm to take effect. http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updateVirtualMachine.html Even after stop and start if same behavior exists then this is an issue. Than