Can't bootstrap a bionic bootstrap node: juju-mongodb3.2 package missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Unassigned |
Bug Description
When bootstrapping a Bionic node, the following error comes along:
Attempt 1 to download agent binaries from https:/
agent binaries from https:/
d2f393dafdc1095
892e4b979b0bcee
Installing Juju machine agent
2018-04-13 09:52:18 INFO juju.cmd supercommand.go:56 running jujud [2.3.5 gc go1.10]
2018-04-13 09:52:20 INFO juju.agent identity.go:22 writing system identity file
2018-04-13 09:52:20 INFO juju.mongo mongo.go:461 Ensuring mongo server is running; data directory /var/lib/juju; port 37017
2018-04-13 09:52:20 INFO juju.mongo mongo.go:662 installing [juju-mongodb3.2 juju-mongo-
2018-04-13 09:52:20 INFO juju.utils.
2018-04-13 09:52:20 ERROR juju.utils.
Building dependency tree...
Reading state information...
E: Unable to locate package juju-mongodb3.2
E: Couldn't find any package by glob 'juju-mongodb3.2'
E: Couldn't find any package by regex 'juju-mongodb3.2'
2018-04-13 09:52:20 ERROR juju.mongo mongo.go:485 cannot install/upgrade mongod (will proceed anyway): packaging command failed: encountered fatal error: unable to locate package
2018-04-13 09:52:20 INFO juju.mongo mongo.go:335 could not find /usr/lib/
ERROR failed to start mongo: exec: "mongod": executable file not found in $PATH
ERROR failed to bootstrap model: subprocess encountered error code 1
ERROR No controllers registered.
Please either create a new controller using "juju bootstrap" or connect to
another controller that you have been given access to using "juju register".
Bionic has changed the system libraries that will be available. We're
enabling Bionic support in 2.4 and have some limited support coming in Juju
2.3.6
John
=:->
On Fri, Apr 13, 2018, 14:30 Imran Khakoo <email address hidden> wrote:
> Public bug reported: /streams. canonical. com/juju/ tools/agent/ 2.3.5/juju- 2.3.5-ubuntu- amd64.tgz. /streams. canonical. com/juju/ tools/agent/ 2.3.5/juju- 2.3.5-ubuntu- amd64.tgz cf4e8a4cc077e9c 918484bff416c91 054749a21f89ef4 f118 juju/tools/ 2.3.5-bionic- amd64/tools. tar.gz 634a928c40f0564 1928af433baed8e 381935becf95cb6 651b juju/gui/ gui.tar. bz2 tools3. 2] packaging. manager utils.go:57 Running: Dpkg::Options: :=--force- confold Dpkg::options: :=--force- unsafe- io --assume-yes --quiet install packaging. manager utils.go:102 Dpkg::Options: :=--force- confold Dpkg::options: :=--force- unsafe- io --assume-yes --quiet install juju/bin/ mongod or mongod in $PATH /bugs.launchpad .net/bugs/ 1763654 /bugs.launchpad .net/juju/ +bug/176...
>
> When bootstrapping a Bionic node, the following error comes along:
>
> Attempt 1 to download agent binaries from
> https:/
> ..
> agent binaries from
> https:/
> downloaded: HTTP 200; time 24.000261s; size 29262301 bytes; speed
> 1219262.000 bytes/s Agent binaries downloaded successfully.
> d2f393dafdc1095
> /var/lib/
> 892e4b979b0bcee
> /var/lib/
> Installing Juju machine agent
> 2018-04-13 09:52:18 INFO juju.cmd supercommand.go:56 running jujud [2.3.5
> gc go1.10]
> 2018-04-13 09:52:20 INFO juju.agent identity.go:22 writing system identity
> file
> 2018-04-13 09:52:20 INFO juju.mongo mongo.go:461 Ensuring mongo server is
> running; data directory /var/lib/juju; port 37017
> 2018-04-13 09:52:20 INFO juju.mongo mongo.go:662 installing
> [juju-mongodb3.2 juju-mongo-
> 2018-04-13 09:52:20 INFO juju.utils.
> apt-get --option=
> --option=
> juju-mongodb3.2
> 2018-04-13 09:52:20 ERROR juju.utils.
> packaging command failed: encountered fatal error: unable to locate
> package; cmd: "apt-get --option=
> --option=
> juju-mongodb3.2"; output: Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to locate package juju-mongodb3.2
> E: Couldn't find any package by glob 'juju-mongodb3.2'
> E: Couldn't find any package by regex 'juju-mongodb3.2'
>
> 2018-04-13 09:52:20 ERROR juju.mongo mongo.go:485 cannot install/upgrade
> mongod (will proceed anyway): packaging command failed: encountered fatal
> error: unable to locate package
> 2018-04-13 09:52:20 INFO juju.mongo mongo.go:335 could not find
> /usr/lib/
> ERROR failed to start mongo: exec: "mongod": executable file not found in
> $PATH
> ERROR failed to bootstrap model: subprocess encountered error code 1
> ERROR No controllers registered.
>
> Please either create a new controller using "juju bootstrap" or connect to
> another controller that you have been given access to using "juju
> register".
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> Can't bootstrap a bionic bootstrap node: juju-mongodb3.2 package
> missing
>
> To manage notifications about this bug go to:
> https:/