[Bug 1817850] Re: juju bootstrap fails with error from mongodb
Raghavendra
raghav40_it at yahoo.co.in
Thu Feb 28 08:47:57 UTC 2019
** Package changed: software-properties (Ubuntu) => juju (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1817850
Title:
juju bootstrap fails with error from mongodb
Status in juju package in Ubuntu:
New
Bug description:
i installed juju from snap
ubuntu version-> 18.04.02
groupadd --system lxd
snap install juju --classic
juju version => 2.5.1
but when executed juju bootstrap. i got below error
juju bootstrap --bootstrap-series=trusty localhost devlocal
Error:-
ERROR juju.mongo mongo.go:567 could not set the value of "/proc/sys/net/core/somaxconn" to "16384" because of: "/proc/sys/net/core/somaxconn" does not exist, will not set "16384"
ERROR juju.mongo mongo.go:567 could not set the value of "/proc/sys/net/core/netdev_max_backlog" to "1000" because of: "/proc/sys/net/core/netdev_max_backlog" does not exist, will not set "1000"
ERROR juju.mongo mongo.go:567 could not set the value of "/sys/kernel/mm/transparent_hugepage/enabled" to "never" because of: open /sys/kernel/mm/transparent_hugepage/enabled: permission denied
ERROR juju.mongo mongo.go:567 could not set the value of "/sys/kernel/mm/transparent_hugepage/defrag" to "never" because of: open /sys/kernel/mm/transparent_hugepage/defrag: permission denied
INFO juju.mongo mongo.go:439 Ensuring mongo server is running; data directory /var/lib/juju; port 37017
INFO juju.mongo mongo.go:640 installing [juju-mongodb]
INFO juju.packaging.manager utils.go:64 Running: apt-get --option=Dpkg::Options::=--force-confold --option=Dpkg::options::=--force-unsafe-io --assume-yes --quiet install juju-mongodb
7 INFO juju.service service.go:214 Installing and starting service &{Service:{Name:juju-db Conf:{Desc:juju state database Transient:false AfterStopped: Env:map[] Limit:map[fsize:unlimited cpu:unlimited as:unlimited memlock:unlimited nofile:64000 nproc:64000] Timeout:300 ExecStart:/usr/lib/juju/bin/mongod --dbpath '/var/lib/juju/db' --sslPEMKeyFile '/var/lib/juju/server.pem' --sslPEMKeyPassword=ignored --port 37017 --syslog --journal --replSet juju --quiet --oplogSize 1024 --ipv6 --auth --keyFile '/var/lib/juju/shared-secret' --sslOnNormalPorts --noprealloc --smallfiles ExecStopPost: Logfile: ExtraScript: ServiceBinary: ServiceArgs:[]}}}
ERROR juju.service service.go:224 retrying start request (exec ["start" "--system" "juju-db"]: exit status 1 (start: Job failed to start))
ERROR juju.service service.go:224 retrying start request (exec ["start" "--system" "juju-db"]: exit status 1 (start: Job failed to start))
ERROR juju.service service.go:224 retrying start request (exec ["start" "--system" "juju-db"]: exit status 1 (start: Job failed to start))
ERROR failed to start mongo: exec ["start" "--system" "juju-db"]: exit status 1 (start: Job failed to start)
ERROR failed to bootstrap model: subprocess encountered error code 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju/+bug/1817850/+subscriptions
More information about the foundations-bugs
mailing list