Permalink
Switch branches/tags
Commits on Aug 10, 2015
  1. Merge pull request #2954 from cherylj/no_proxy_lxc_123

    jujubot committed Aug 10, 2015
    Don't use proxy for lxc images from state server
    
    Modified the wget command to include --no-proxy
    so it doesn't attempt to go through the proxy
    when contacting the state server to download
    the image.
    
    Fix for bug: https://bugs.launchpad.net/juju-core/+bug/1478660
    Previously reviewed for 1.25: http://reviews.vapour.ws/r/2267/
    1.24: http://reviews.vapour.ws/r/2293/)
    1.22: http://reviews.vapour.ws/r/2320/
    
    (Review request: http://reviews.vapour.ws/r/2334/)
  2. Merge pull request #2956 from cherylj/env_users_123

    jujubot committed Aug 10, 2015
    Fix 1467037 - Remove camel case username envusers
    
    RemoveEnvironmentUser should convert the username
    to lower case when creating the ID for the op.
    
    Previously reviewed here: http://reviews.vapour.ws/r/2268/
    
    (Review request: http://reviews.vapour.ws/r/2336/)
  3. Fix 1467037 - Remove camel case username envusers

    Cheryl Jennings committed Jun 21, 2015
    RemoveEnvironmentUser should convert the username
    to lower case when creating the ID for the op.
  4. Fix cherry-pick merge.

    Cheryl Jennings committed Aug 10, 2015
  5. Address review comments.

    Cheryl Jennings committed Jul 29, 2015
  6. Add clarifying comment to noproxy test.

    Cheryl Jennings committed Jul 29, 2015
  7. Don't use proxy for lxc images from state server

    Cheryl Jennings committed Jul 28, 2015
    Modified the wget command to include --no-proxy
    so it doesn't attempt to go through the proxy
    when contacting the state server to download
    the image.
    
    Conflicts:
    	container/lxc/export_test.go
    	container/lxc/lxc.go
    	container/lxc/lxc_test.go
    
    Conflicts:
    	container/lxc/export_test.go
Commits on Jun 5, 2015
  1. Merge pull request #2498 from mjs/1432652-TestLoginsDuringUpgrade-fix…

    jujubot committed Jun 5, 2015
    …-1.23
    
    cmd/jujud/agent: fix occasional TestLoginsDuringUpgrade failures
    
    Retry restricted API attempts because there's a small gap between the post-upgrade version being written to the agent's config and the end of "upgrade mode".
    
    Fixes LP #1432652.
    
    (Review request: http://reviews.vapour.ws/r/1865/)
  2. cmd/jujud/agent: fix occasional TestLoginsDuringUpgrade failures

    mjs committed Mar 17, 2015
    Retry restricted API attempts because there's a small gap between the
    post-upgrade version being written to the agent's config and the end
    of "upgrade mode".
    
    Fixes LP #1432652.
Commits on Jun 1, 2015
  1. Merge pull request #2461 from wallyworld/container-harvest-mode-1.23

    jujubot committed Jun 1, 2015
    Merge pull request #2460 from wallyworld/container-harvest-mode
    
    Container provisioner now supports configured harvest mode
    
    Fixes: https://bugs.launchpad.net/juju-core/+bug/1459885
    
    The container provisioner was hard coded to use harvest mode HarvestDestroyed.
    This branch copies a bunch of code from the environment provisioner to allow the container provisioner to instead use the mode configured in environment config.
    
    (Review request: http://reviews.vapour.ws/r/1825/)
  2. Merge pull request #2460 from wallyworld/container-harvest-mode

    jujubot committed with wallyworld Jun 1, 2015
    Container provisioner now supports configured harvest mode
    
    Fixes: https://bugs.launchpad.net/juju-core/+bug/1459885
    
    The container provisioner was hard coded to use harvest mode HarvestDestroyed.
    This branch copies a bunch of code from the environment provisioner to allow the container provisioner to instead use the mode configured in environment config.
Commits on May 27, 2015
  1. Merge pull request #2432 from wallyworld/leadership-err-fix-1.23

    jujubot committed May 27, 2015
    Merge pull request #2424 from wallyworld/leadership-err-fix
    
    Fix lease txn structure; do not ignore errors; worker exists on error
    
    Various leadership issues are fixes, as highlighted by WIlliam.
    
    1. The lease persister has been refactored to use the (Juju) standard txnrunner.run() mechanism. This takes a buildTxn function which can be used to ensure that all txn ops are conditional.
    
    2. Based on 1, transaction ops are no longer unconditional.
    
    3. Errors persisting leases are not ignored. The callers receive the error and the worker now exists. This allows it to restart and reload its lease cache to ensure the cache is not corrupted.
    
    4. Unit tests enhanced to check worker exit on error etc.
    
    5. Feature tests enhanced to actually confirm that the lease records are persisted/updated when a lease is claimed / released.
    
    (Review request: http://reviews.vapour.ws/r/1787/)
    Conflicts:
    	featuretests/leadership_test.go
    
    (Review request: http://reviews.vapour.ws/r/1796/)
  2. Merge pull request #2424 from wallyworld/leadership-err-fix

    jujubot committed with wallyworld May 27, 2015
    Fix lease txn structure; do not ignore errors; worker exists on error
    
    Various leadership issues are fixes, as highlighted by WIlliam.
    
    1. The lease persister has been refactored to use the (Juju) standard txnrunner.run() mechanism. This takes a buildTxn function which can be used to ensure that all txn ops are conditional.
    
    2. Based on 1, transaction ops are no longer unconditional.
    
    3. Errors persisting leases are not ignored. The callers receive the error and the worker now exists. This allows it to restart and reload its lease cache to ensure the cache is not corrupted.
    
    4. Unit tests enhanced to check worker exit on error etc.
    
    5. Feature tests enhanced to actually confirm that the lease records are persisted/updated when a lease is claimed / released.
    
    (Review request: http://reviews.vapour.ws/r/1787/)
    Conflicts:
    	featuretests/leadership_test.go
Commits on May 25, 2015
  1. Merge pull request #2409 from cherylj/file_handle_123

    jujubot committed May 25, 2015
    Forward port of fix for bug 1454697
    
    
    
    (Review request: http://reviews.vapour.ws/r/1770/)
  2. Merge pull request #2385 from mjs/1453785-txn-pruning-1.23

    jujubot committed May 25, 2015
    Prune completed transactions
    
    This set of changes integrates the new txn pruning functionality in juju/txn into Juju. A new txnpruner worker for the master machine agent is introduced to call MaybePruneTransactions periodically. Transactions will be pruned if the transaction count has doubled since the last prune.
    
    Fixes LP #1453785.
    
    
    (Review request: http://reviews.vapour.ws/r/1746/)
Commits on May 24, 2015
  1. Address review comments

    Cheryl Jennings committed May 21, 2015
    Added closure of the channel.
  2. Address review comments.

    Cheryl Jennings committed May 21, 2015
    Used a channel instead of a boolean for the patched reportClosedAPI
    function.  Also changed the report* functions to take an io.Closer
    rather than an interface{}.
    
    Conflicts:
    	cmd/jujud/unit_test.go
  3. Fix bug 1454697

    Cheryl Jennings committed May 20, 2015
    Agents which use a close worker need to close the API they open
    if their start functions fail.  This patch fixes the machine
    and unit agents and mocks out the api state upgrader to simulate
    the failure and test that the close occurs.
Commits on May 22, 2015
  1. worker/txnpruner: new simple worker to prune completed txn data

    mjs committed May 18, 2015
    Periodically calls PruneTransactions to keep the txns collection in
    check.
  2. state: exposed txn pruning functionality

    mjs committed May 14, 2015
    github.com/juju/txn.Runner now has a MaybePruneTransactions
    method. This change exposes that on multiEnvRunner and as a method on
    State.
  3. Bumped the juju/txn dependency to get new txn pruning functionality

    mjs committed May 18, 2015
    Runner.MaybePruneTransactions
  4. Merge pull request #2398 from ericsnowcurrently/revert-1.23

    jujubot committed May 22, 2015
    Revert 2 broken commits in the init service code.
    
    (fixes https://bugs.launchpad.net/juju-core/+bug/1457031)
    
    (Review request: http://reviews.vapour.ws/r/1759/)
Commits on May 21, 2015
  1. Revert "Merge pull request #2235 from ericsnowcurrently/fix-1450092-c…

    ericsnowcurrently committed May 21, 2015
    …loudinit-init-system-detection"
    
    This reverts commit ba9267f, reversing
    changes made to 5ed292b.
  2. Revert "Merge pull request #2377 from ericsnowcurrently/fix-1457011-b…

    ericsnowcurrently committed May 21, 2015
    …ashisms-1.23"
    
    This reverts commit 3bc3244, reversing
    changes made to 5096ca1.
  3. Merge pull request #2377 from ericsnowcurrently/fix-1457011-bashisms-…

    jujubot committed May 21, 2015
    …1.23
    
    Drop bashisms from the discovery script.
    
    (fixes https://bugs.launchpad.net/juju-core/+bug/1457011)
    
    (Review request: http://reviews.vapour.ws/r/1737/)
Commits on May 20, 2015
  1. Merge pull request #2370 from wallyworld/port-firewaller-fix-1.23

    jujubot committed May 20, 2015
    Merge pull request #2319 from perrito666/fix_1.22_1454599
    
    Added control for expected errors in firwaller (FIX 1454599)
    
    Firewaller should not fail when a machine is not yet provisioned, if such is the case we should just log the occurence.
    
    (Review request: http://reviews.vapour.ws/r/1680/)
    
    (Review request: http://reviews.vapour.ws/r/1730/)
  2. Merge pull request #2319 from perrito666/fix_1.22_1454599

    jujubot committed with wallyworld May 13, 2015
    Added control for expected errors in firwaller (FIX 1454599)
    
    Firewaller should not fail when a machine is not yet provisioned, if such is the case we should just log the occurence.
    
    (Review request: http://reviews.vapour.ws/r/1680/)
Commits on May 19, 2015
  1. Merge pull request #2365 from dimitern/lp-1442257-lxc-default-mtu

    jujubot committed May 19, 2015
    Fixed lp:1442257 - lxc-default-mtu environ setting added
    
    Removed the existing behavior implemented some time ago - the NICs of
    LXC containers created by Juju inherit the MTU setting of their host's
    primary NIC. Instead, Juju won't do anything specific for the MTU values
    of LXC NICs, except when the new "lxc-default-mtu" environment setting
    is explicitly specified as a positive integer value. Then it will be
    used for all created LXC (but not KVM) instances and all their network
    interfaces.
    
    See bug http://pad.lv/1442257 for more info.
    
    A few drive-by fixes to some of the tests done as well.
    
    Live tested on MAAS with/without address-allocation feature flag.
    
    (Review request: http://reviews.vapour.ws/r/1725/)
  2. S few tweaks around tests

    Dimiter Naydenov committed May 19, 2015
  3. Fixed lp:1442257 - lxc-default-mtu environ setting added

    Dimiter Naydenov committed May 19, 2015
  4. Merge pull request #2362 from wallyworld/1.20-client-compatible-1.23

    jujubot committed May 19, 2015
    Merge pull request #2360 from wallyworld/1.20-client-compatible
    
    Add 'anything' to valid certificate server addresses for 1.20 client compatibility.
    
    Fixes: https://bugs.launchpad.net/juju-core/+bug/1454829
    
    Juju 1.20 clients use "anything" as the server name in their TLS config when making secure connections to the Juju state server. The certificate generation from 1.22 onwards needs to account for this.
    
    (Review request: http://reviews.vapour.ws/r/1719/)
    
    (Review request: http://reviews.vapour.ws/r/1721/)
  5. Merge pull request #2360 from wallyworld/1.20-client-compatible

    jujubot committed with wallyworld May 19, 2015
    Add 'anything' to valid certificate server addresses for 1.20 client compatibility.
    
    Fixes: https://bugs.launchpad.net/juju-core/+bug/1454829
    
    Juju 1.20 clients use "anything" as the server name in their TLS config when making secure connections to the Juju state server. The certificate generation from 1.22 onwards needs to account for this.
    
    (Review request: http://reviews.vapour.ws/r/1719/)