'relative path in ExecStart not valid' vivid local deploy failure
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Critical
|
Eric Snow | ||
| | 1.23 |
Critical
|
Eric Snow | ||
Bug Description
The ci local deploy job on vivid fails on boostrap with:
<http://
Bootstrapping environment "local-
Starting new instance for initial state server
2015-02-28 03:08:04 INFO juju.environs.
2015-02-28 03:08:05 INFO juju.environs.
Building tools to upload (1.23-alpha1.
2015-02-28 03:08:05 INFO juju.environs.tools build.go:167 found existing jujud
2015-02-28 03:08:05 INFO juju.environs.tools build.go:177 target: /tmp/juju-
2015-02-28 03:08:18 INFO juju.environs.sync sync.go:323 built tools 1.23-alpha1.
Installing Juju agent on bootstrap instance
2015-02-28 03:08:18 INFO juju.provider.local environ.go:156 local provider; disabling refreshing OS updates.
2015-02-28 03:08:18 INFO juju.provider.local environ.go:162 local provider; disabling OS upgrades.
Bootstrap failed, destroying environment
2015-02-28 03:08:19 ERROR juju.cmd supercommand.go:430 failed to bootstrap environment: relative path in ExecStart not valid
| Changed in juju-core: | |
| assignee: | nobody → Eric Snow (ericsnowcurrently) |
| Eric Snow (ericsnowcurrently) wrote : | #2 |
The patch to add systemd support to juju did not take into account that executable paths may be quoted. The fix is trivial.
| Eric Snow (ericsnowcurrently) wrote : | #3 |
| Changed in juju-core: | |
| status: | Triaged → In Progress |
| Changed in juju-core: | |
| status: | In Progress → Fix Committed |
| Eric Snow (ericsnowcurrently) wrote : | #4 |
Also, the issue with failing unit tests appears to be addressed by bug #1427149.
| Changed in juju-core: | |
| milestone: | none → 1.23 |
| Eric Snow (ericsnowcurrently) wrote : | #5 |
The tests are still failing due to lack of support for logfiles in Conf.Output.
| Changed in juju-core: | |
| status: | Fix Committed → In Progress |
| Changed in juju-core: | |
| status: | In Progress → Fix Committed |
| Eric Snow (ericsnowcurrently) wrote : | #7 |
That appears to have resolve the issue: http://
However, that log demonstrates something else is afoot.
| Eric Snow (ericsnowcurrently) wrote : | #8 |
| Changed in juju-core: | |
| status: | Fix Committed → In Progress |
| Changed in juju-core: | |
| status: | In Progress → Fix Committed |
| Martin Packman (gz) wrote : | #9 |
Still failing with the latest change, current error is:
2015-03-03 03:11:04 ERROR juju.cmd supercommand.go:430 No such method 'LinkUnitFiles'
| Changed in juju-core: | |
| status: | Fix Committed → In Progress |
| Changed in juju-core: | |
| status: | In Progress → Fix Released |
| Changed in juju-core: | |
| milestone: | 1.23 → 1.23-beta1 |
| tags: | added: systemd vivid |


We also see new failures in the vivd unit tests data.vapour. ws/juju- ci/products/ version- 2400/run- unit-tests- vivid-amd64/ build-133/ consoleText
http://
VIa Eric Snow:
Looks like my systemd patch broke the vivid tests:
"relative path in ExecStart not valid" [1]
This message from systemd means we are using a relative path somewhere
along the line. I'm guessing that it is the juju datadir. It should
be a simple matter to fix the path (either in juju or in CI).
The problem is likely in the cloudinit script we use during bootstrap.
Is that kept around somewhere? If not, what about the systemd unit
file (in /etc/systemd/)?