no such option oslo_messaging_metrics in group [DEFAULT]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I used to use olso.messaging to target some RPC calls on some neutron agents.
It does not work with oslo.messaging >12.8.0
12.8.0 is OK
12.9.0 is KO
Involved commit is: https:/
Raises:
oslo_config.
Some example code:
```python
#!/opt/
from oslo_config import cfg
from oslo_messaging.rpc import transport
from oslo_messaging.
from oslo_messaging.
conf = cfg.ConfigOpts()
conf([], default_
ts = transport.
target = Target(
client = RPCClient(ts, target, retry=None, timeout=10)
client.call({}, 'oslo_rpc_
```
```bash
$ pip freeze | grep oslo
oslo.cache==1.33.3
oslo.concurrenc
oslo.config==8.8.0
oslo.context=
oslo.db==4.45.0
oslo.i18n==3.23.1
oslo.log==3.42.3
oslo.messaging=
oslo.metrics==0.4.0
oslo.middleware
oslo.policy==2.1.1
oslo.privsep=
oslo.reports=
oslo.rootwrap=
oslo.serializat
oslo.service=
oslo.upgradeche
oslo.utils==4.1.0
oslo.versionedo
```
I was able to mitigate this by using conffixture:
from oslo_messaging. conffixture import ConfFixture
...
ConfFixture(conf)
but that seems overkill to me