manual provider on trusty/precise syntax error near unexpected token `then'

Bug #1433254 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Eric Snow
1.23
Fix Released
Critical
Eric Snow

Bug Description

The manual provider cannot bootstrap on a ppc64el or amd64 trusty or precise hosts.

Starting new instance for initial state server
2015-03-17 16:18:03 INFO juju.environs.manual init.go:35 Checking if 10.245.67.135 is already provisioned
2015-03-17 16:18:04 ERROR juju.cmd supercommand.go:430 failed to bootstrap environment: failed to check provisioned status: subprocess encountered error code 2 (Warning: Permanently added '10.245.67.135' (ECDSA) to the list of known hosts.
/bin/bash: line 47: syntax error near unexpected token `then'
/bin/bash: line 47: `init_system=$(/tmp/discover_init_system.sh) if [[ $init_system == "systemd" ]]; then /bin/systemctl list-unit-files --no-legend --no-page -t service | grep -o -P '^\w[\S]*(?=\.service)'')

Changed in juju-core:
assignee: nobody → Eric Snow (ericsnowcurrently)
status: Triaged → In Progress
Curtis Hovey (sinzui)
summary: - manual provider on tusty ppc64el syntax error near unexpected token
+ manual provider on trusty/precise syntax error near unexpected token
`then'
description: updated
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: upstart
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.