-
Notifications
You must be signed in to change notification settings - Fork 15
Microstack initialization problem #91
Comments
@dominiktopyla this happens because charmed OSM (its ingress pointing to OSM NBI) uses the same port as As a mitigation: |
@chris-asl, I changed OSM version to 10 devops and run suggested command before microstack init but i have heroors during configuration networking. sudo microstack.init --auto --control |
I don't know how you did the cleanup for the previous MicroStack instance, but there might be some installation leftovers. Other than this, you can ask a more specific question here https://discourse.charmhub.io/ |
Same problem : eric@tpeg-int1:~$ snap list microstack eric@tpeg-int1:~$ sudo microstack init --auto --control looking in logs : eric@tpeg-int1:~$ journalctl -xe in use ports : eric@tpeg-int1:~$ sudo netstat -lp --inet |
Summary
I have installed osm charmed and try to set K8s cluster (https://osm.etsi.org/docs/user-guide/15-k8s-installation.html#installation-method-2-local-development-environment ) and I need microstack, connect openstack.
I followed tutorial: https://microstack.run/docs/single-node
and faced errors during initailization
Process
sudo snap install microstack --devmode --beta
sudo microstack init --auto --control
Current and expected result
I expected successful initialization.
Screenshot
**dominik@dominik:
$ sudo snap install microstack --devmode --beta$ snap list microstack[sudo] password for dominik:
microstack (beta) ussuri from Canonical?? installed
dominik@dominik:
Name Version Rev Tracking Publisher Notes
microstack ussuri 241 latest/beta canonical?? devmode
dominik@dominik:~$ sudo microstack init --auto --control
2021-11-09 22:49:28,819 - microstack_init - INFO - Configuring clustering ...
2021-11-09 22:49:29,105 - microstack_init - INFO - Setting up as a control node.
2021-11-09 22:49:34,510 - microstack_init - INFO - Generating TLS Certificate and Key
2021-11-09 22:49:36,329 - microstack_init - INFO - Configuring networking ...
2021-11-09 22:49:50,817 - microstack_init - INFO - Opening horizon dashboard up to *
2021-11-09 22:49:52,382 - microstack_init - INFO - Waiting for RabbitMQ to start ...
Waiting for 10.140.0.133:5672
2021-11-09 22:50:02,680 - microstack_init - INFO - RabbitMQ started!
2021-11-09 22:50:02,680 - microstack_init - INFO - Configuring RabbitMQ ...
2021-11-09 22:50:04,368 - microstack_init - INFO - RabbitMQ Configured!
2021-11-09 22:50:04,405 - microstack_init - INFO - Waiting for MySQL server to start ...
Waiting for 10.140.0.133:3306
2021-11-09 22:50:12,559 - microstack_init - INFO - Mysql server started! Creating databases ...
Traceback (most recent call last):
File "/snap/microstack/241/bin/microstack", line 11, in
load_entry_point('microstack==0.0.1', 'console_scripts', 'microstack')()
File "/snap/microstack/241/lib/python3.8/site-packages/microstack/main.py", line 44, in main
cmd()
File "/snap/microstack/241/lib/python3.8/site-packages/init/main.py", line 60, in wrapper
return func(*args, kwargs)
File "/snap/microstack/241/lib/python3.8/site-packages/init/main.py", line 228, in init
question.ask()
File "/snap/microstack/241/lib/python3.8/site-packages/init/questions/question.py", line 210, in ask
self.yes(awr)
File "/snap/microstack/241/lib/python3.8/site-packages/init/questions/init.py", line 476, in yes
enable('nginx')
File "/snap/microstack/241/lib/python3.8/site-packages/init/shell.py", line 162, in enable
check('snapctl', 'start', 'microstack.{}'.format(service), '--enable')
File "/snap/microstack/241/lib/python3.8/site-packages/init/shell.py", line 69, in check
raise subprocess.CalledProcessError(proc.returncode, " ".join(args))
subprocess.CalledProcessError: Command 'snapctl start microstack.nginx --enable' returned non-zero exit status 1.
Browser details
[Optionally - if you can, copy the report generated by mybrowser.fyi - this might help us debug certain types of issues.]
The text was updated successfully, but these errors were encountered: