microstack.init hangs waiting for 10.20.20.1:5672

Bug #1881163 reported by Saul Hazledine
22
This bug affects 5 people
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://microstack.run/docs/

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,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    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:5ed0:9bc8:683f/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0e:27:49:dd:56:c7 brd ff:ff:ff:ff:ff:ff
4: br-ex: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether de:89:c6:0a:ce:40 brd ff:ff:ff:ff:ff:ff

Saul Hazledine (shazled)
summary: - microstack.init hangs wiating for 10.20.20.1:5672
+ microstack.init hangs waiting for 10.20.20.1:5672
description: updated
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

I'm hitting this bug as well.

I noticed in syslog:
Jul 29 19:11:21 ubuntu-nuc kernel: [794254.328897] audit: type=1400 audit(1596049881.222:4119328): apparmor="DENIED" operation="open" profile="snap.microstack.rabbitmq-server" name="/proc/516115/mountinfo" pid=516115 comm="df" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jul 29 19:11:21 ubuntu-nuc kernel: [794254.328905] audit: type=1400 audit(1596049881.222:4119329): apparmor="DENIED" operation="open" profile="snap.microstack.rabbitmq-server" name="/proc/516115/mounts" pid=516115 comm="df" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

This error, https://paste.ubuntu.com/p/sKdMKjBddn/, 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.

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

Correction, I tried with the edge snap and classic confinement. With demoed and the edge snap, I was able to init.

sudo snap install microstack --edge --dev

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

The instructions got updated at https://microstack.run/ after a significant rework of MicroStack - please follow the new ones.

Note that so far the microstack-support snapd interface work required for strict confinement has not been merged so --devmode is required on install and refresh.

Changed in microstack:
status: New → Opinion
status: Opinion → Invalid
Revision history for this message
Justin Lamp (modzilla) wrote :

Problem still occurs on my (vmx enabled) VM. kvm-ok returns working hw accelerated kvm. Installed with sudo snap install microstack --devmode --beta && sudo microstack init --auto --control.

Revision history for this message
Justin Lamp (modzilla) wrote :

I'm running 20.04.2 with all updates. But it's the cloud image if that makes a difference.

Revision history for this message
Billy Olsen (billy-olsen) wrote :

Justin, can you help provide some additional information? The rabbit logs might be a good start - they're in /var/snap/microstack/common/log/rabbitmq

Ahmed Jadani (0xpacman)
Changed in microstack:
status: Invalid → Confirmed
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.