allow additional user-defined userdata/cloud-config

Bug #809634 reported by Adam Gandelman
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
pyjuju
Confirmed
Wishlist
Unassigned

Bug Description

On ec2 (and, in the future, openstack), there are various tasks I like completed via userdata and/or cloud-init on all instances I launch. I should be able to do the same when launching via ensemble. It would be great if the various ensemble commands that launch instances took an argument (similar to euca-run-instances) to specify user data to include in addition to what ensemble already generates. Additionally, a configuration option in environment.yaml to point to a file to be included in all launches would great as well. It might be necessary to do some sanity checking to ensure there are no conflicts with what ensemble requires for bootstrapping, but AFAIK cloud-init is already flexible enough.

Changed in juju:
importance: Undecided → Wishlist
summary: - Ensemble should allow additional user-defined userdata/cloud-config
+ allow additional user-defined userdata/cloud-config
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Marking Confirmed as this affects more than 1 person.

Changed in juju:
status: New → Confirmed
Revision history for this message
Jorge (correajl) wrote :

A simple scenario is a private cloud (openstack) accessing Internet through a proxy. When we run "juju bootstrap" using a common ubuntu cloud image, the instances try to install some packages using APT. At this moment, my bootstrap instances are not able to install these packages and juju doesn't work because keeps itself unable to access the instance (when I run "juju status" for example).

So, it is very important to be able to send parameters to instances created with juju, as we can do with --user-data-file parameter in euca-run-instances tool. Maybe a entry in ~/.juju/environments.yaml.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.