You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully set up and run MirrorManager2 in Vagrant following the instructions in the README.
[edward@fedora mirrormanager2]$ vagrant global-status
id name provider state directory
------------------------------------------------------------------------------------
b634250 ipa libvirt running /home/edward/MirrorManager2/tiny-stage
5f98c6f auth libvirt running /home/edward/MirrorManager2/tiny-stage
19bd367 mirrormanager2 libvirt running /home/edward/MirrorManager2/mirrormanager2
The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date (use "vagrant global-status --prune" to prune invalid
entries). To interact with any of the machines, you can go to that
directory and run Vagrant, or you can use the ID directly with
Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"
PublishTimeout
fedora_messaging.exceptions.PublishTimeout: Publishing timed out after waiting 30 seconds.
Traceback (most recent call last)
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/fedora_messaging/api.py", line 316, in publish
eventual_result.wait(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/crochet/_eventloop.py", line 194, in wait
result = self._result(timeout)
^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/crochet/_eventloop.py", line 173, in _result
raise TimeoutError()
^^^^^^^^^^^^^^^^^^^^
During handling of the above exception, another exception occurred:
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/flask/app.py", line 2213, in __call__
return self.wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/flask/app.py", line 2193, in wsgi_app
response = self.handle_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/vagrant/mirrormanager2/perms.py", line 50, in decorated_function
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/vagrant/mirrormanager2/views.py", line 273, in host_new
fedmsg_publish(topic, message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/vagrant/mirrormanager2/lib/notifications.py", line 49, in fedmsg_publish
safe_publish(msg)
^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "/vagrant/mirrormanager2/lib/notifications.py", line 43, in safe_publish
fm_publish(msg)
^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/mirrormanager2-vs8V2ZPt-py3.11/lib/python3.11/site-packages/fedora_messaging/api.py", line 324, in publish
raise wrapper
^^^^^^^^^^^^^
fedora_messaging.exceptions.PublishTimeout: Publishing timed out after waiting 30 seconds.
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
However, I encounter an error as shown in the attached screenshot. I am not sure why this issue is occurring and would appreciate any guidance on how to resolve it. Thank you in advance for any help you can provide.
The text was updated successfully, but these errors were encountered:
Hi! MirrorManager is trying to publish a Fedora Messaging message, but the rabbitmq server isn't running. Try running the tinystage VM in TinyStage, it contains the rabbitmq server. This should fix the issue, if so we'll update the docs.
Thank you for your response. Unfortunately, after starting the tinystage virtual machine, I encountered the same problem when trying to add a host to the site again.
$ vagrant global-status
id name provider state directory
------------------------------------------------------------------------------------
dc6b384 ipa libvirt running /home/edward/MirrorManager2/tiny-stage
48959de auth libvirt running /home/edward/MirrorManager2/tiny-stage
65bda03 tinystage libvirt running /home/edward/MirrorManager2/tiny-stage
9ab0cf3 mirrormanager2 libvirt running /home/edward/MirrorManager2/mirrormanager2
The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date (use "vagrant global-status --prune" to prune invalid
entries). To interact with any of the machines, you can go to that
directory and run Vagrant, or you can use the ID directly with
Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"
I am a beginner and trying to manage yum repositories using MirrorManager2 on Fedora Workstation 38.
I have successfully set up and run MirrorManager2 in Vagrant following the instructions in the README.
After logining to https://mirrormanager2.tinystage.test/, I am attempting to add a site and set the host information.
However, I encounter an error as shown in the attached screenshot. I am not sure why this issue is occurring and would appreciate any guidance on how to resolve it. Thank you in advance for any help you can provide.
The text was updated successfully, but these errors were encountered: