juju-deployer/deploy.py FIXME: no proper output if check_output raises an exception

Bug #1302503 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Confirmed
Medium
Unassigned

Bug Description

def bootstrap():
    """Bootstrap juju."""

    args = ['juju', 'bootstrap', '--constraints=mem=1024M']
    try:
        subprocess.check_output(args)
    except subprocess.CalledProcessError as e:
        # FIXME: if check_output raise an exception, we don't get a proper
        # output to check for the text below -- vila 2014-02-07
        if 'environment is already bootstrapped' not in e.output:
            raise

Vincent Ladeuil (vila)
summary: - tests/run.py FIXME: no proper output if check_output raises an exception
+ juju-deployer/deploy.py FIXME: no proper output if check_output raises
+ an exception
Changed in uci-engine:
status: New → Confirmed
importance: Undecided → Medium
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.