1.25.0 and 1.24.6 cannot bootstrap local environment on wily host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
High
|
Unassigned |
Bug Description
Version 1.25.0 (update: and 1.24.6) is having problems creating VMs on wily.
First noticed with the openstack-
The bootstrap came up, but the VMs were forever stuck waiting for agent initialization.
Then I tried to reproduce outside of the installer and bootstrap fails by itself.
Details below:
- [X] sudo apt-add-repository ppa:juju/stable
- [X] sudo apt install juju-core
got 1.25.0-wily-amd64
- [X] juju init
- [X] edit env file
*************** contents of new env file:
NOTE: this env file works with juju 1.24
default: local
environments:
local:
admin-secret: ubuntu
apt-
apt-
authorize
container: kvm
default-
lxc-clone: true
network-
no-proxy: localhost
type: local
- [X] sudo apt install juju-local uvtool-libvirt uvtool
- [X] juju bootstrap
*************** output
ubuntu@
Bootstrapping environment "local"
Starting new instance for initial state server
Building tools to upload (1.25.0.
Installing Juju agent on bootstrap instance
Logging to /home/ubuntu/
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Bootstrapping Juju machine agent
Starting Juju machine agent (juju-agent-
Bootstrap agent installed
ERROR failed getting all instances: exit status 1
ERROR saving bootstrap endpoint address: exit status 1
*************** ps | grep juju output after it died includes:
15366 ? Ssl 0:11 /usr/lib/
15670 ? Ss 0:00 bash /var/lib/
15674 ? Sl 0:04 \_ /home/ubuntu/
Changed in juju-core: | |
importance: | Undecided → High |
milestone: | none → 1.25.1 |
tags: | added: bug-squad |
Here's an additional attempt with 'juju bootstrap --debug' for extra info
- [X] sudo apt-add-repository ppa:juju/stable
- [X] sudo apt install juju-core
got 1.25.0-wily-amd64
- [X] juju init
- [X] edit env file
*************** contents of new env file:
NOTE: this env file works with juju 1.24
#+BEGIN_SRC yaml http-proxy: http:// 172.16. 0.62:3142 https-proxy: http:// 172.16. 0.62:3142 d-keys- path: ~/.ssh/id_rsa.pub series: trusty bridge: lxcbr0 knotty- temper: ~⟫ juju bootstrap 1-wily- amd64) .juju/local/ cloud-init- output. log on remote host ubuntu- local)
default: local
environments:
local:
admin-secret: ubuntu
apt-
apt-
authorize
container: kvm
default-
lxc-clone: true
network-
no-proxy: localhost
type: local
#+END_SRC
*************** END
- [X] sudo apt install juju-local uvtool-libvirt uvtool
- [X] juju bootstrap
*************** output
ubuntu@
Bootstrapping environment "local"
Starting new instance for initial state server
Building tools to upload (1.25.0.
Installing Juju agent on bootstrap instance
Logging to /home/ubuntu/
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Bootstrapping Juju machine agent
Starting Juju machine agent (juju-agent-
Bootstrap agent installed
ERROR failed getting all instances: exit status 1
ERROR saving bootstrap endpoint address: exit status 1
*************** END
*************** ps | grep juju output after it died includes: juju/bin/ mongod --auth --dbpath /home/ubuntu/ .juju/local/ db --sslOnNormalPorts --sslPEMKeyFile /home/ubuntu/ .juju/local/ server. pem --sslPEMKeyPassword xxxxxxx --port 37017 --noprealloc --syslog --smallfiles --journal --keyFile /home/ubuntu/ .juju/local/ shared- secret --replSet juju --ipv6 --oplogSize 1 juju/init/ juju-agent- ubuntu- local/exec- start.sh .juju/local/ tools/machine- 0/jujud machine --data-dir /home/ubuntu/ .juju/local --machine-id 0 --debug
15366 ? Ssl 0:11 /usr/lib/
15670 ? Ss 0:00 bash /var/lib/
15674 ? Sl 0:04 \_ /home/ubuntu/
*************** END
- [ ] try again clean with juju --debug bootstrap
see [[*Attempt 2 : add --debug][Attempt 2 : add --debug]]
- [ ] juju add machine with constraints and see if it comes up
*** Attempt 2 : add --debug
- [X] reimage a wily host
- [X] sudo apt-add-repository ppa:juju/stable
- [X] sudo apt update
- [X] sudo apt install juju-core juju-local uvtool-libvirt uvtool emacs24-nox
got juju-core 1.25.0
- [X] juju init
- [X] edit env file
*************** contents of new env file:
NOTE: this env file works with juju 1.24
#+BEGIN_SRC yaml http-proxy: http:// 172.16. 0.62:3142 https-proxy: http:// 172.16. 0.62:3142 d-keys- path: ~/.ssh/id_rsa.pub series: trusty bridge: lxcbr0
default: local
environments:
local:
admin-secret: ubuntu
apt-
apt-
authorize
container: kvm
default-
lxc-clone: true
network-
no-proxy: localhost
type: local
#+END_SRC
*************** END
- [X] juju --debug bootstrap knotty- temper: ~⟫ juju ...
*************** output
ubuntu@