Merge lp:~thumper/juju-core/bootstrap-state-no-constraints-trunk into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Merged at revision: | 1982 |
Proposed branch: | lp:~thumper/juju-core/bootstrap-state-no-constraints-trunk |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
102 lines (+74/-1) 2 files modified
environs/cloudinit/cloudinit.go (+5/-1) environs/cloudinit/cloudinit_test.go (+69/-0) |
To merge this branch: | bzr merge lp:~thumper/juju-core/bootstrap-state-no-constraints-trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email:
|
Commit message
Don't pass through empty constraints
If there are no constraints to pass through, cloud init has
--constraints ''
It seems that somewhere in the process, the empty param is
getting missed and the following --debug param is getting
parsed as a constraint value.
The test is horrible, and all we really care about is the
jujud bootstrap-state line.
See also: lp:1239508 and lp:1239509
Description of the change
Don't pass through empty constraints
If there are no constraints to pass through, cloud init has
--constraints ''
It seems that somewhere in the process, the empty param is
getting missed and the following --debug param is getting
parsed as a constraint value.
The test is horrible, and all we really care about is the
jujud bootstrap-state line.
Reviewers: mp+190851_ code.launchpad. net,
Message:
Please take a look.
Description:
Don't pass through empty constraints
If there are no constraints to pass through, cloud init has
--constraints ''
It seems that somewhere in the process, the empty param is
getting missed and the following --debug param is getting
parsed as a constraint value.
The test is horrible, and all we really care about is the
jujud bootstrap-state line.
https:/ /code.launchpad .net/~thumper/ juju-core/ bootstrap- state-no- constraints/ +merge/ 190851
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/14494054/
Affected files (+1542, -235 lines): addmachine. go bootstrap. go bootstrap_ test.go cmd_test. go constraints. go help_topics. go main_test. go plugin_ test.go juju-metadata/ metadata. go juju-metadata/ metadataplugin_ test.go juju-metadata/ signmetadata. go juju-metadata/ signmetadata_ test.go juju-metadata/ validateimageme tadata. go juju-metadata/ validateimageme tadata_ test.go juju-metadata/ validatetoolsme tadata. go juju-metadata/ validatetoolsme tadata_ test.go cloudinit/ cloudinit. go cloudinit/ cloudinit_ test.go config/ config. go config/ config_ test.go configstore/ disk.go filestorage/ filestorage. go httpstorage/ backend. go httpstorage/ backend_ test.go imagemetadata/ export_ test.go imagemetadata/ simplestreams. go imagemetadata/ simplestreams_ test.go simplestreams/ decode. go simplestreams/ encode. go simplestreams/ export_ test.go simplestreams/ simplestreams. go simplestreams/ simplestreams_ test.go simplestreams/ testing/ testing. go sshstorage/ storage. go sshstorage/ storage_ test.go sync/sync. go sync/sync_ test.go tools/export_ test.go tools/simplestr eams.go tools/simplestr eams_test. go vars_nix. go maas/instance. go maas/instance_ test.go openstack/ provider. go windows. go fslock. go windows. go addressupdater/ machine_ test.go addressupdater/ updater. go uniter/ jujuc/relation- get.go uniter/ jujuc/relation- get_test. go
A [revision details]
M charm/repo.go
M cmd/juju/
M cmd/juju/addunit.go
M cmd/juju/
M cmd/juju/
M cmd/juju/
M cmd/juju/
M cmd/juju/deploy.go
M cmd/juju/get.go
M cmd/juju/
M cmd/juju/main.go
M cmd/juju/
M cmd/juju/plugin.go
M cmd/juju/
M cmd/output_test.go
M cmd/plugins/
M cmd/plugins/
A cmd/plugins/
A cmd/plugins/
M cmd/plugins/
M cmd/plugins/
M cmd/plugins/
M cmd/plugins/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
A environs/
M environs/
M environs/
M environs/
A environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M juju/osenv/
M provider/
M provider/
M provider/
A utils/file_unix.go
A utils/file_
M utils/fslock/
M utils/trivial.go
A utils/zfile_
M version/version.go
M worker/
M worker/
M worker/
M worker/