Fedora: Can't find microstack.rabbitmqctl
Bug #1852669 reported by
Pen Gale
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
Triaged
|
Medium
|
Unassigned |
Bug Description
The MicroStack snap can be installed on Fedora, but the .init fails with an error message that seems to indicate that microstack is not in the path in the snap environment.
To reproduce, spin up a Fedora machine (I used the Fedora 31 Server cloud image, and spinning it up using MicroStack), and do:
sudo dnf install kernel-modules -y
sudo dnf install snapd -y
sudo ln -s /var/lib/snapd/snap /snap
sudo microstack.init -- auto
I'll post the full error in the comments below.
Changed in microstack: | |
importance: | Undecided → Medium |
assignee: | nobody → Pete Vander Giessen (petevg) |
assignee: | Pete Vander Giessen (petevg) → nobody |
status: | New → Triaged |
tags: | added: fedora |
To post a comment you must log in.
The error:
2019-11-15 02:24:12,804 - microstack_init - INFO - Configuring RabbitMQ ... microstack/ 182/bin/ microstack_ init", line 11, in <module> entry_point( 'microstack- init==0. 0.1', 'console_scripts', 'microstack_ init')( ) microstack/ 182/lib/ python3. 6/site- packages/ init/main. py", line 122, in main microstack/ 182/lib/ python3. 6/site- packages/ init/questions/ question. py", line 210, in ask microstack/ 182/lib/ python3. 6/site- packages/ init/questions/ __init_ _.py", line 304, in yes _configure( ) microstack/ 182/lib/ python3. 6/site- packages/ init/questions/ __init_ _.py", line 295, in _configure 'microstack. rabbitmqctl' , 'add_user', 'openstack', 'rabbitmq') microstack/ 182/lib/ python3. 6/site- packages/ init/shell. py", line 93, in call microstack/ 182/lib/ python3. 6/site- packages/ init/shell. py", line 51, in _popen newlines= True, encoding='utf-8') microstack/ 182/usr/ lib/python3. 6/subprocess. py", line 729, in __init__ signals, start_new_session) microstack/ 182/usr/ lib/python3. 6/subprocess. py", line 1364, in _execute_child _type(errno_ num, err_msg, err_filename) rabbitmqctl' : 'microstack. rabbitmqctl'
Traceback (most recent call last):
File "/snap/
load_
File "/snap/
question.ask()
File "/snap/
self.yes(awr)
File "/snap/
self.
File "/snap/
call(
File "/snap/
proc = _popen(*args, env=env)
File "/snap/
universal_
File "/snap/
restore_
File "/snap/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'microstack.
[fedora@fedora ~]$ exit
logout
Connection to 10.20.20.48 closed.