[openstack-dev] stored userdata

Stephen Gran stephen.gran at theguardian.com
Fri Mar 7 14:14:44 UTC 2014

On 07/03/14 05:05, Hiroyuki Eguchi wrote:
> I'm envisioning a stored userdata feature.
> < https://blueprints.launchpad.net/nova/+spec/stored-userdata >
> Currently, OpenStack allow user to execute script or send configuration file
> when creating a instance by using --user-data /path/to/filename option.
> But,In order to use this option, All users must input userdata every time.
> So we need to store the userdata in database so that users can manage userdata more easily.
> I'm planning to develop these Nova-APIs.
>   - nova userdata-create
>   - nova userdata-update
>   - nova userdata-delete
>   - nova userdata-show
>   - nova userdata-list
> Users can specify a userdata_name managed by Nova DB or /path/to/filename in --user-data option.
>   - nova boot --user-data <userdata_name or /path/to/filename> ...
> If you have any comments or suggestion, please let me know.
> And please let me know if there's any discussion about this.

In general, I think userdata should be WORM.  It certainly is in every 
other cloud setup I am familiar with.  This is the information fed to 
the instance when it boots the first time - having userdata change over 
time means you lose access to the original when you want to go back and 
retrieve it.

I think this would be a regression, and be unexpected behavior.

Stephen Gran
Senior Systems Integrator - theguardian.com
Please consider the environment before printing this email.
Visit theguardian.com   

On your mobile, download the Guardian iPhone app theguardian.com/iphone and our iPad edition theguardian.com/iPad   
Save up to 57% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access.
Visit subscribe.theguardian.com

This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.
Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.
Guardian News & Media Limited
A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
Registered in England Number 908396


More information about the OpenStack-dev mailing list