Ref T1755
Details
Details
- Reviewers
- DorianWinty 
- Maniphest Tasks
- T1755: Deploy Notifications Center test environnement
- Commits
- rOPScdf3a22342eb: Provision orange-rabbit for integration Notifications Center
Fire a notification to notifications.integration.nasqueron.org
Diff Detail
Diff Detail
- Repository
- rOPS Nasqueron Operations
- Lint
- Lint Passed 
- Unit
- No Test Coverage 
- Branch
- orange-rabbit
- Build Status
- Buildable 4693 - Build 4973: arc lint + arc unit 
Event Timeline
Comment Actions
All provisioned correctly, but RabbitMQ management plugin now returns a 500 when we visit the exchange notifications.
The web interface also shows the 500.
The exchange and the queue all-notifications are correctly bound.
----------
          ID: rabbitmq_cluster_orange-rabbit_vhost_dev_exchange_notifications
    Function: rabbitmq.exchange_present
        Name: notifications
      Result: False
     Comment: An exception occurred in this state: Traceback (most recent call last):
                File "/usr/local/lib/python3.9/site-packages/salt/state.py", line 2276, in call
                  ret = self.states[cdata["full"]](
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 149, in __call__
                  return self.loader.run(run_func, *args, **kwargs)
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1228, in run
                  return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1243, in _run_as
                  return _func_or_method(*args, **kwargs)
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1276, in wrapper
                  return f(*args, **kwargs)
                File "/var/cache/salt/minion/extmods/states/rabbitmq.py", line 248, in exchange_present
                  exchange = __salt__["rabbitmq_api.get_exchange"](cluster, vhost, name)
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 149, in __call__
                  return self.loader.run(run_func, *args, **kwargs)
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1228, in run
                  return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
                File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1243, in _run_as
                  return _func_or_method(*args, **kwargs)
                File "/var/cache/salt/minion/extmods/modules/rabbitmq_api.py", line 157, in get_exchange
                  return _request(cluster, "GET", f"exchanges/{vhost}/{exchange}")
                File "/var/cache/salt/minion/extmods/modules/rabbitmq_api.py", line 59, in _request
                  raise RuntimeError(f"Status code is {r.status_code}")
              RuntimeError: Status code is 500
     Started: 23:19:14.505096
    Duration: 47.809 ms
     Changes: