DescriptionFix RunServerOpts Userdata
The UserData attribute of RunServerOpts was []byte, but it needs to be string to make juju bootstrap work.
All the current nova tests simply ignore this attribute - they pass in nil. I tried writing a test to set up
a cloud init config with a simple script command and introduced a deliberate error but the nova create server
operation succeeded nonetheless. Yet the huge cloud init script used by juju bootstrap fails. So I'm not sure
how to set up a small, self contained test in goose for the userData attribute. The code in this merge proposal
makes juju happy though, apart from that fact that Canonistack sometimes gives a "Resource limit exeeded" error
when bootstrapping a juju instance.
https://code.launchpad.net/~wallyworld/goose/RunServer-userData-fix/+merge/145539
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 5
|