Subprocess CalledProcessError During "microstack init" Procedure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
New
|
Undecided
|
Unassigned |
Bug Description
I am currently trying to install microstack on an Ubuntu 20.04 server instance behind a corporate proxy (w/ root user). The procedure from here was followed: https:/
1. snap install microstack --devmode --beta
2. microstack init --auto --control
After running the init command, it proceeds through a few stages but fails on "openstack project create --domain default --description "Service Project" service"
Logs:
2021-12-11 15:10:43,607 - microstack_init - INFO - Configuring clustering ...
2021-12-11 15:10:44,174 - microstack_init - INFO - Setting up as a control node.
2021-12-11 15:10:50,385 - microstack_init - INFO - Generating TLS Certificate and Key
2021-12-11 15:10:53,090 - microstack_init - INFO - Configuring networking ...
2021-12-11 15:11:10,816 - microstack_init - INFO - Opening horizon dashboard up to *
2021-12-11 15:11:12,805 - microstack_init - INFO - Waiting for RabbitMQ to start ...
Waiting for 10.243.23.132:5672
2021-12-11 15:11:25,237 - microstack_init - INFO - RabbitMQ started!
2021-12-11 15:11:25,237 - microstack_init - INFO - Configuring RabbitMQ ...
2021-12-11 15:11:27,265 - microstack_init - INFO - RabbitMQ Configured!
2021-12-11 15:11:27,388 - microstack_init - INFO - Waiting for MySQL server to start ...
Waiting for 10.243.23.132:3306
2021-12-11 15:13:03,128 - microstack_init - INFO - Mysql server started! Creating databases ...
2021-12-11 15:13:11,919 - microstack_init - INFO - Configuring Keystone Fernet Keys ...
2021-12-11 15:17:34,978 - microstack_init - INFO - Bootstrapping Keystone ...
2021-12-11 15:19:46,919 - microstack_init - INFO - Creating service project ...
Traceback (most recent call last):
File "/snap/
load_
File "/snap/
cmd()
File "/snap/
return func(*args, **kwargs)
File "/snap/
question.ask()
File "/snap/
self.yes(awr)
File "/snap/
check(
File "/snap/
raise subprocess.
subprocess.
I have a strange feeling that this could be due to the proxy that I run behind, is there any extra config required for this scenario. Apart from that, I'm unsure as to what's causing the initialization issue. If you require any further debugging data, I'm more than happy to provide it!
Were you able to resolve this? I am facing the same issue. No clue how to resolve it.