Merge lp:~rogpeppe/juju-core/512-maas-bootstrap-bridge-utils into lp:~go-bot/juju-core/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Roger Peppe | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2422 | ||||
Proposed branch: | lp:~rogpeppe/juju-core/512-maas-bootstrap-bridge-utils | ||||
Merge into: | lp:~go-bot/juju-core/trunk | ||||
Diff against target: |
11 lines (+1/-0) 1 file modified
provider/maas/environ.go (+1/-0) |
||||
To merge this branch: | bzr merge lp:~rogpeppe/juju-core/512-maas-bootstrap-bridge-utils | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+209885@code.launchpad.net |
Commit message
provider/maas: apt-get install bridge-utils
Previously we added bridge-utils to the required packages
in environs/cloudinit, but at bootstrap time, those packages
are not installed before the additional commands specified
by a provider are run (we want any failures to
be visible, so we wait until the synchronous part of the
bootstrap process).
To fix this, we explicitly add "apt-get install bridge-utils"
to provider/maas and remove it from environs/cloudinit.
Fixes:
https:/
https:/
Description of the change
provider/maas: apt-get install bridge-utils
Previously we added bridge-utils to the required packages
in environs/cloudinit, but at bootstrap time, those packages
are not installed before the additional commands specified
by a provider are run (we want any failures to
be visible, so we wait until the synchronous part of the
bootstrap process).
To fix this, we explicitly add "apt-get install bridge-utils"
to provider/maas and remove it from environs/cloudinit.
Fixes:
https:/
https:/
Reviewers: mp+209885_ code.launchpad. net,
Message:
Please take a look.
Description:
provider/maas: apt-get install bridge-utils
Previously we added bridge-utils to the required packages
in environs/cloudinit, but at bootstrap time, those packages
are not installed before the additional commands specified
by a provider are run (we want any failures to
be visible, so we wait until the synchronous part of the
bootstrap process).
To fix this, we explicitly add "apt-get install bridge-utils"
to provider/maas and remove it from environs/cloudinit.
Fixes:
https:/ /bugs.launchpad .net/juju- core/+bug/ 1271144 /bugs.launchpad .net/juju- core/+bug/ 1277359
https:/
https:/ /code.launchpad .net/~rogpeppe/ juju-core/ 512-maas- bootstrap- bridge- utils/+ merge/209885
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/72230045/
Affected files (+3, -1 lines): cloudinit/ cloudinit. go maas/environ. go
A [revision details]
M environs/
M provider/
Index: [revision details] 20140307010349- qiohhcs2paafuj1 o
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: environs/ cloudinit/ cloudinit. go cloudinit/ cloudinit. go' cloudinit/ cloudinit. go 2014-03-06 20:35:21 +0000 cloudinit/ cloudinit. go 2014-03-07 10:20:30 +0000 e("git" ) e("cpu- checker" ) "bridge- utils") e("rsyslog- gnutls" )
=== modified file 'environs/
--- environs/
+++ environs/
@@ -238,7 +238,6 @@
// juju requires git for managing charm directories.
c.AddPackag
c.AddPackag
- c.AddPackage(
c.AddPackag
// Write out the apt proxy settings
Index: provider/ maas/environ. go maas/environ. go' maas/environ. go 2014-03-03 10:10:44 +0000 maas/environ. go 2014-03-07 10:20:30 +0000 ComposeUserData ( eNetwork( ), nInterfaces( ),
=== modified file 'provider/
--- provider/
+++ provider/
@@ -268,6 +268,7 @@
userdata, err := environs.
machineConfig,
runCmd,
+ "apt-get install bridge-utils",
createBridg
linkBridgeI
"service networking restart",