microstack.init hangs waiting for 10.20.20.1:5672
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I installed microstack into a fresh Ubuntu 20.04 following the instructions at:
https:/
Install command:
sudo snap install microstack --classic --beta
Then I ran microstack.init:
sudo microstack.init --auto
I got the following output:
2020-05-28 18:55:16,534 - microstack_init - INFO - Configuring networking ...
2020-05-28 18:55:18,421 - microstack_init - INFO - Setting up ipv4 forwarding...
2020-05-28 18:55:19,378 - microstack_init - INFO - Opening horizon dashboard up to *
2020-05-28 18:55:19,978 - microstack_init - INFO - Waiting for RabbitMQ to start ...
Waiting for 10.20.20.1:5672
This hung for 20 minutes and so I hit cntrl-C.
My ips after the failed init are:
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,
link/ether 52:54:00:63:e3:ee brd ff:ff:ff:ff:ff:ff
inet 192.168.122.119/24 brd 192.168.122.255 scope global dynamic noprefixroute enp1s0
valid_lft 2485sec preferred_lft 2485sec
inet6 fe80::654d:
valid_lft forever preferred_lft forever
3: ovs-system: <BROADCAST,
link/ether 0e:27:49:dd:56:c7 brd ff:ff:ff:ff:ff:ff
4: br-ex: <BROADCAST,
link/ether de:89:c6:0a:ce:40 brd ff:ff:ff:ff:ff:ff
summary: |
- microstack.init hangs wiating for 10.20.20.1:5672 + microstack.init hangs waiting for 10.20.20.1:5672 |
description: | updated |
Changed in microstack: | |
status: | Invalid → Confirmed |
I'm hitting this bug as well.
I noticed in syslog: 1.222:4119328) : apparmor="DENIED" operation="open" profile= "snap.microstac k.rabbitmq- server" name="/ proc/516115/ mountinfo" pid=516115 comm="df" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 1.222:4119329) : apparmor="DENIED" operation="open" profile= "snap.microstac k.rabbitmq- server" name="/ proc/516115/ mounts" pid=516115 comm="df" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jul 29 19:11:21 ubuntu-nuc kernel: [794254.328897] audit: type=1400 audit(159604988
Jul 29 19:11:21 ubuntu-nuc kernel: [794254.328905] audit: type=1400 audit(159604988
This error, https:/ /paste. ubuntu. com/p/sKdMKjBdd n/, is repeating in /var/snap/ microstack/ common/ log/rabbitmq/ startup_ log.
I've tried both the edge and candidate snaps:
latest/beta: stein 2020-03-05 (196) 412MB classic
latest/edge: stein 2020-07-09 (206) 389MB -
This is on ubuntu 20.04
I had been running microstack long term and noticed it was unhappy today, trying to recover than encounter this problem.