Fixed CHEF-2279 - accept list of ephemeral block devices when creating an#2
Fixed CHEF-2279 - accept list of ephemeral block devices when creating an#2kindkid wants to merge 1 commit into
Conversation
|
I'd love to see this fix merged into master, have been waiting for it since May. |
|
I would like to see this fix merged into master. |
|
Never mind. The above fix is not needed. The functionality can be achieved by using --user-data=<file_name> argument to 'knife ec2 server create' and having the block device list mapping contained in this file. |
|
@georgekola how that functionality is supposed to be achieved with --user-data? neither knife or fog don't look for device block mappings in the user-data |
|
I use this. Just add the block mapping to the file and it works. You can check the code for user data, all the file data is passed to fog |
|
Which format should I use to pass this data through the user data? A ruby hash, like: Or GET parameters data like: Or XML format? Could you show a example of the user data file with block device mappings in it? I can't find where fog looks for block device mappings in the user data. Thanks |
|
This pull should be merged into master as soon as possible. In addition, we need to go over knife-ec2 and make it able to do everything you can do with ec2-run-instances (http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-RunInstances.html). There is a lot of functionality missing here. If someone is going to propose a workaround, then they should clearly document what is involved in setting it up to work. Others have mentioned the user-data option to me and I have spent - like others above - literally hours looking at it and trying to figure out how to do it. I am now up against a wall here and I need to get ephemeral storage working on our EBS backed EC2 instances. I am going to have to merge this myself and start running a "non-standard" ec2-knife. |
|
Hi all, Sorry for the long delay on this pull request. I left a comment on the related ticket with an update: http://tickets.opscode.com/browse/KNIFE_EC2-28 If we can get some tests added for this feature I can help move it along our process. We are working to have more frequent releases of these plugins and hopefully delays like this won't happen as often in the future. Cheers, Steven |
|
Hi, I'm a bit busy for the next week or so. If anyone wants to take this and run with it, I'd be grateful. |
fix ephemeral, dont think it works from knife.rb yet
|
Could somebody please merge this ? It's quite painful otherwise to use ephemeral storage with chef/knife. |
|
As mentioned in KNIFE_EC2-28 we are currently waiting on tests for this. Once we get tests, it will get marked for merge. |
|
I created an updated version of this pull request with tests: #80 |
|
Github didn't close this since I did some conflict resolution but this has been merged here: fe8e25d Thanks to everyone who contributed to get this feature in master! |
…customization OC- 11118 color customization
Opscode Cache builder
Fixed CHEF-2279 - accept list of ephemeral block devices when creating an ec2 server.