Rohit, Do note I have not removed my VM. The issue is the userdata will be served every time it is requested, indefinitely. I expected it to be gone once I request it once. Or perhaps this is a feature to be handled client-side? i.e. create some sort of lock files if the userdata init script has already run and done his job?
Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Rohit Yadav" <rohit.ya...@shapeblue.com> > To: dev@cloudstack.apache.org > Cc: "Loic Lambiel" <loic.lamb...@exoscale.ch> > Sent: Monday, 22 December, 2014 11:51:41 > Subject: Re: Question about the userdata availability > Hi Lucian, > > I think it’s a bug like other issues where passwords, host-ip mappings and > other > information don’t get removed when VMs are removed (for example > https://issues.apache.org/jira/browse/CLOUDSTACK-8060). > > I’ve a fair idea how VR works and how we should fix this issue but it would be > great if Jayapal or Sheng can comment on this, I aim to fix them soon among my > other pending issues that I need to fix. > >> On 22-Dec-2014, at 3:34 pm, sebgoa <run...@gmail.com> wrote: >> >> Pinging Loic on this, he most likely has first hand experience with this… >> >> >> On Dec 20, 2014, at 11:58 AM, Nux! <n...@li.nux.ro> wrote: >> >>> Hello, >>> >>> I notice that when a VM is deployed with userdata, this userdata is then >>> available at http://VR/latest/user-data indefinitely, subsequent reboots of >>> the >>> VM will get the userdata again and again. >>> >>> When the userdata is retrieved is there a way to let the VR know it has been >>> retrieved and can be deleted/deactivated? >>> Like there is the case with the root password script which send a >>> "DomU_Request: >>> saved_password" header to confirm it. >>> >>> Lucian >>> >>> >>> >>> -- >>> Sent from the Delta quadrant using Borg technology! >>> >>> Nux! >>> www.nux.ro >> > > Regards, > Rohit Yadav > Software Architect, ShapeBlue > M. +91 88 262 30892 | rohit.ya...@shapeblue.com > Blog: bhaisaab.org | Twitter: @_bhaisaab > > > > Find out more about ShapeBlue and our range of CloudStack related services > > IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> > CloudStack Software > Engineering<http://shapeblue.com/cloudstack-software-engineering/> > CloudStack Infrastructure > Support<http://shapeblue.com/cloudstack-infrastructure-support/> > CloudStack Bootcamp Training > Courses<http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely > for the use of the individual to whom it is addressed. Any views or opinions > expressed are solely those of the author and do not necessarily represent > those > of Shape Blue Ltd or related companies. If you are not the intended recipient > of this email, you must neither take any action based upon its contents, nor > copy or show it to anyone. Please contact the sender if you believe you have > received this email in error. Shape Blue Ltd is a company incorporated in > England & Wales. ShapeBlue Services India LLP is a company incorporated in > India and is operated under license from Shape Blue Ltd. Shape Blue Brasil > Consultoria Ltda is a company incorporated in Brasil and is operated under > license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by > The Republic of South Africa and is traded under license from Shape Blue Ltd. > ShapeBlue is a registered trademark.