1.23.1: bootstrap failure, vivid, local provider

Bug #1447446 reported by David Britton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Eric Snow
1.23
Fix Released
Critical
Eric Snow

Bug Description

2015-04-23 04:38:09 INFO juju.cmd supercommand.go:37 running juju [1.23.1-vivid-amd64 gc]
2015-04-23 04:38:10 INFO juju.provider.local environprovider.go:254 checking state port
2015-04-23 04:38:10 INFO juju.provider.local environprovider.go:254 checking API port
2015-04-23 04:38:10 INFO juju.provider.local environprovider.go:42 opening environment "local"
2015-04-23 04:38:10 DEBUG juju.provider.local environ.go:322 found "10.0.1.13" as address for "br0"
2015-04-23 04:38:10 DEBUG juju.environs.configstore disk.go:342 writing jenv file to /home/dpb/.juju/environments/local.jenv
2015-04-23 04:38:10 INFO juju.network network.go:194 setting prefer-ipv6 to false
2015-04-23 04:38:10 INFO juju.cmd cmd.go:113 Bootstrapping environment "local"
2015-04-23 04:38:10 DEBUG juju.environs.bootstrap bootstrap.go:97 environment "local" supports service/machine networks: false
2015-04-23 04:38:10 DEBUG juju.environs.bootstrap bootstrap.go:99 network management by juju enabled: true
2015-04-23 04:38:10 DEBUG juju.provider.local environ.go:322 found "10.0.1.13" as address for "br0"
2015-04-23 04:38:10 INFO juju.cmd cmd.go:113 Starting new instance for initial state server
2015-04-23 04:38:11 INFO juju.environs.bootstrap bootstrap.go:180 newest version: 1.23.1.1
2015-04-23 04:38:11 INFO juju.environs.bootstrap bootstrap.go:208 picked bootstrap tools version: 1.23.1.1
2015-04-23 04:38:11 INFO juju.cmd cmd.go:113 Building tools to upload (1.23.1.1-vivid-amd64)
2015-04-23 04:38:11 DEBUG juju.environs.sync sync.go:304 Building tools
2015-04-23 04:38:11 DEBUG juju.environs.tools build.go:122 looking for: juju
2015-04-23 04:38:11 DEBUG juju.environs.tools build.go:161 checking: /usr/bin/jujud
2015-04-23 04:38:11 INFO juju.environs.tools build.go:167 found existing jujud
2015-04-23 04:38:11 INFO juju.environs.tools build.go:177 target: /tmp/juju-tools287749754/jujud
2015-04-23 04:38:11 DEBUG juju.environs.tools build.go:232 forcing version to 1.23.1.1
2015-04-23 04:38:11 DEBUG juju.environs.tools build.go:38 adding entry: &tar.Header{Name:"FORCE-VERSION", Mode:436, Uid:0, Gid:0, Size:8, ModTime:time.Time{sec:63565360691, nsec:0x16adc8a7, loc:(*time.Location)(0x1b181c0)}, Typeflag:0x30, Linkname:"", Uname:"ubuntu", Gname:"ubuntu", Devmajor:0, Devminor:0, AccessTime:time.Time{sec:63565360691, nsec:0x16adc8a7, loc:(*time.Location)(0x1b181c0)}, ChangeTime:time.Time{sec:63565360691, nsec:0x16adc8a7, loc:(*time.Location)(0x1b181c0)}, Xattrs:map[string]string(nil)}
2015-04-23 04:38:11 DEBUG juju.environs.tools build.go:38 adding entry: &tar.Header{Name:"jujud", Mode:493, Uid:0, Gid:0, Size:42945384, ModTime:time.Time{sec:63565360691, nsec:0x16adc8a7, loc:(*time.Location)(0x1b181c0)}, Typeflag:0x30, Linkname:"", Uname:"ubuntu", Gname:"ubuntu", Devmajor:0, Devminor:0, AccessTime:time.Time{sec:63565360691, nsec:0x16adc8a7, loc:(*time.Location)(0x1b181c0)}, ChangeTime:time.Time{sec:63565360691, nsec:0x16adc8a7, loc:(*time.Location)(0x1b181c0)}, Xattrs:map[string]string(nil)}
2015-04-23 04:38:18 INFO juju.environs.sync sync.go:323 built tools 1.23.1.1-vivid-amd64 (9696kB)
2015-04-23 04:38:18 INFO juju.cmd cmd.go:113 Installing Juju agent on bootstrap instance
2015-04-23 04:38:18 DEBUG juju.environs cloudinit.go:171 Setting numa ctl preference to false
2015-04-23 04:38:19 INFO juju.provider.local environ.go:156 local provider; disabling refreshing OS updates.
2015-04-23 04:38:19 INFO juju.provider.local environ.go:162 local provider; disabling OS upgrades.
2015-04-23 04:38:19 DEBUG juju.service discovery.go:64 discovered init system "systemd" from juju version info (version.Binary{Number:version.Number{Major:1, Minor:23, Tag:"", Patch:1, Build:1}, Series:"vivid", Arch:"amd64", OS:1})
2015-04-23 04:38:19 DEBUG juju.environs.cloudinit cloudinit.go:286 using init system "systemd" for machine agent script
Logging to /home/dpb/var/juju-local/cloud-init-output.log on remote host
Bootstrapping Juju machine agent
ee7b20512e9f9a42a333d1ddd829c5c63fd52246bdc28e4af7c935a7963b889c /home/dpb/var/juju-local/tools/1.23.1.1-vivid-amd64/tools.tar.gz
2015-04-23 04:38:27 INFO juju.cmd supercommand.go:37 running jujud [1.23.1.1-vivid-amd64 gc]
2015-04-23 04:38:27 DEBUG juju.agent agent.go:418 read agent config, format "1.18"
2015-04-23 04:38:27 INFO juju.network network.go:194 setting prefer-ipv6 to false
2015-04-23 04:38:27 INFO juju.provider.local environprovider.go:42 opening environment "local"
2015-04-23 04:38:29 INFO juju.agent identity.go:22 writing system identity file
2015-04-23 04:38:29 DEBUG juju.cmd.jujud bootstrap.go:246 starting mongo
2015-04-23 04:38:29 DEBUG juju.cmd.jujud bootstrap.go:271 calling ensureMongoServer
2015-04-23 04:38:29 INFO juju.mongo mongo.go:172 Ensuring mongo server is running; data directory /home/dpb/var/juju-local; port 37017
2015-04-23 04:38:29 INFO juju.mongo mongo.go:306 installing juju-mongodb
2015-04-23 04:38:29 INFO juju.utils.apt apt.go:143 Running: [apt-get --option=Dpkg::Options::=--force-confold --option=Dpkg::options::=--force-unsafe-io --assume-yes --quiet install juju-mongodb]
2015-04-23 04:38:30 DEBUG juju.mongo mongo.go:289 using mongod: /usr/lib/juju/bin/mongod --version: "db version v2.4.10\nWed Apr 22 22:38:30.705 git version: nogitversion\n"
2015-04-23 04:38:30 DEBUG juju.service.upstart upstart.go:37 exec "/sbin/initctl" failed: &exec.ExitError{ProcessState:(*os.ProcessState)(0xc2081d22c0)}
2015-04-23 04:38:30 ERROR juju.cmd supercommand.go:430 exit status 1
2015-04-23 04:38:30 ERROR juju.cmd supercommand.go:430 failed to bootstrap environment: exit status 1

Revision history for this message
David Britton (dpb) wrote :

Probably easier to read: http://paste.ubuntu.com/10869571/

Revision history for this message
Martin Packman (gz) wrote :

Okay, so if infer correctly, your testing setup on vivid has upstart installed, but is using systemd as the init system. That regressed in 1.23.0 with the fix for bug 1443440 for cases where upstart was not installed at all.

Changed in juju-core:
milestone: none → 1.24-alpha1
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
David Britton (dpb) wrote :

Hi Martin -- As discussed in IRC, I think upstart is still installed, yes.

This was a clean install of vivid beta 2, but of course I have a lot of packages for various things past the base ubuntu.

Anyway, the 'upstart' package appears to be a dep still of 'ubuntu-desktop', even though my init system is systemd. Hope that helps.

Changed in juju-core:
assignee: nobody → Eric Snow (ericsnowcurrently)
status: Triaged → In Progress
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: bootstrap
Changed in juju-core:
milestone: 1.24-alpha1 → 1.25.0
status: Fix Committed → In Progress
Changed in juju-core:
milestone: 1.25.0 → 1.24-alpha1
status: In Progress → Fix Released
no longer affects: juju-core/1.24
tags: added: systemd upstart vivid
Revision history for this message
Chris Glass (tribaal) wrote :

For anybody else wondering, you need to add ppa:juju/stable to vivid to benefit from the fix.

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.