Created by Andrew Wilkins on 2014-04-22 and last modified on 2014-04-22
Get this branch:
bzr branch lp:~axwalk/juju-core/lp1303195-manual-ubuntuuser-bash
Only Andrew Wilkins can upload to this branch. If you are Andrew Wilkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Andrew Wilkins

Recent revisions

2662. By Andrew Wilkins on 2014-04-22

environs/manual: SHELL=/bin/bash for new user

The ubuntu user should have its shell set to bash.

Fixes lp:1303195

2661. By José Antonio Rey on 2014-04-22

[r=wallyworld],[bug=1309805] Added comment to boilerplate environments.yaml stating that the default-series option needs to be uncommented and set to the desired series.

2660. By Ian Booth on 2014-04-22

[r=wallyworld] Use instance-type constraint

This branch now uses the instance-type constraint
when searching for images.


2659. By Ian Booth on 2014-04-22

[r=wallyworld] Add constraints validation to providers

Each provider has a constraints validator which
is used when setting constraints on a machine or
service, as well as when constraints are merged.
The validation step allows conflicting constraints
like instance-type and mem to be rejected, and also
unsupported constraints to be logged with a warning.
The merge step allows things like instance-type to
mask other incompatible constraints like mem or arch,
and visa versa.


2658. By Ian Booth on 2014-04-21

[r=wallyworld] New constraints validation and merge

A new constraints Validator implementation
is introduced, which provides validation
and merging support for constraints. It
allows for conflicting attributes and
unsupported attributes to be registered,
and does the right thing with these.
To illustrate the point, a new constraints
attribute instance-type is also added, which
will be used in a followup branch.


2657. By Vladislav Klyachin on 2014-04-21

[r=klyachin] maas: improved tests with new gomaasapi

Improved provider/maas testing using new gomaasapi test server features.

1, New tests:

- TestGetNetworkMACs - getNetworkMACs function should read connected MACs to the

- TestGetInstanceNetworkInterfaces - getInstanceNetworkInterfaces should read
list of network interfaces together with their MACs using data from
commissioning stage

- TestSetupNetworks - setupNetworks function should get []NetworkInfo data
combining the data from getNetworkMacs and getInstanceNetworkInterfaces

- TestSupportNetworks - verify that gomaasapi supports network operations

2. gomaasapi was advanced to new revision in dependencies.tsv



2656. By William Reade on 2014-04-21

[r=fwereade],[bug=1232304] uniter: hook up manifest deployer

New unit agents use a manifest deployer from the start. Pre-existing ones
use their git deployer only for long enough to recover from charm conflicts,
and use a manifest deployer for all subsequent upgrades.

The .git directory in the charm dir will persist until the next charm
upgrade completes, but can be safely removed at any time after the deployer
is changed.


2655. By Dimiter Naydenov on 2014-04-18

[r=dimitern],[bug=1307513] various: Support multiple NICs with the same MAC

Fixes bug #1307513, allowing more than one network
interface with the same MAC address, and introduces
the concept of virtual and physical NIC.
This is needed because you can have more than one
network interface with the same MAC address on the
same machine (but it has to be on different networks):
one physical and multiple virtual NICs. Changes were
needed mostly in state to use a different primary
key for networkinterfaces collection. Also added a
unique index on "interfacename" and "networkname",
improved tests.

Fixed the MAAS provider to configure networks properly,
so that you can have more than one VLAN virtual NIC
on the same physical NIC.

Introduced environs/network package and defined an
Id type to make it apparent that network ids are
provider-specific (like instance.Id). Also moved
environs.NetworkInfo to network.Info.

In a follow-up, machine addresses and networks will
be integrated, so we can link a network interface's
name and MAC address to its network (IP) address.
Finally, networks and machine interfaces will be
visible in juju status.



2654. By Andrew Wilkins on 2014-04-18

[r=axwalk] HA: upgrade upstart and initiate replset

The machine agent will now upgrade the
Mongo upstart script and initiate the
replicaset when upgrading from a version
prior to 1.19.0.

Tested upgrading 1.18.1 to 1.19.1 with and
without HA enabled; tested straight bootstrap
to 1.19.1 with and without HA enabled.

(Supersedes https://codereview.appspot.com/88350043/)


2653. By Roger Peppe on 2014-04-17

[r=natefinch] change status to show voting status

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.