Skip to content

VMware policy shows in monitored universe #384

@tbachman

Description

@tbachman

In AIM logs, we see messages like this:
2023-09-07 15:22:11.903 467373 139833467140992 INFO aim.agent.aid.service [-] Start reconciliation cycle.
2023-09-07 15:22:11.992 467373 139833467140992 INFO aim.agent.aid.universes.base_universe [-] Universe differences between AIM_Monitored_Universe and ACI_Monitored_Universe: {'create': [], 'delete': [('vmmProvP|VMware',)]}

That policy is a monitored one:

[root@overcloud-controller-0 heat-admin]# aimctl manager vmm-policy-list
Deprecated: Option "rabbit_use_ssl" from group "oslo_messaging_rabbit" is deprecated. Use option "ssl" from group "oslo_messaging_rabbit".
+-----------+
| type      |
|-----------|
| OpenStack |
| VMware    |
+-----------+
[root@overcloud-controller-0 heat-admin]# aimctl manager vmm-policy-show VMware
Deprecated: Option "rabbit_use_ssl" from group "oslo_messaging_rabbit" is deprecated. Use option "ssl" from group "oslo_messaging_rabbit".
+--------------+-----------------+
| Property     | Value           |
|--------------+-----------------|
| type         | VMware          |
| monitored    | True            |
| display_name |                 |
| epoch        | 1               |
| dn           | uni/vmmp-VMware |
+--------------+-----------------+

Manually deleting the monitored policy from the DB fixes the issue, but this shouldn't be needed:

[root@overcloud-controller-0 heat-admin]# aimctl manager vmm-policy-delete VMware
Deprecated: Option "rabbit_use_ssl" from group "oslo_messaging_rabbit" is deprecated. Use option "ssl" from group "oslo_messaging_rabbit".
[root@overcloud-controller-0 heat-admin]# tail -f /var/log/containers/aim/aim-aid.log
2023-09-07 15:25:22.072 467373 139833467140992 INFO aim.agent.aid.service [-] Start reconciliation cycle.
2023-09-07 15:25:22.159 467373 139833467140992 INFO aim.agent.aid.universes.base_universe [-] Universe differences between AIM_Monitored_Universe and ACI_Monitored_Universe: {'create': [], 'delete': [('vmmProvP|VMware',)]}
2023-09-07 15:25:32.047 467373 139833467140992 INFO aim.agent.aid.service [-] Start serving cycle.
2023-09-07 15:25:32.086 467373 139833467140992 INFO aim.agent.aid.service [-] AID aid-overcloud-controller-0 is currently serving: ['topology', 'vmmp-OpenStack', 'vmmp-VMware']
2023-09-07 15:25:32.087 467373 139833467140992 INFO aim.agent.aid.service [-] Start reconciliation cycle.
2023-09-07 15:25:32.187 467373 139833467140992 INFO aim.agent.aid.universes.base_universe [-] Universe differences between AIM_Monitored_Universe and ACI_Monitored_Universe: {'create': [], 'delete': [('vmmProvP|VMware',)]}
2023-09-07 15:25:42.050 467373 139833467140992 INFO aim.agent.aid.service [-] Start serving cycle.
2023-09-07 15:25:42.097 467373 139833467140992 INFO aim.agent.aid.service [-] AID aid-overcloud-controller-0 is currently serving: ['topology', 'vmmp-OpenStack', 'vmmp-VMware']
2023-09-07 15:25:42.098 467373 139833467140992 INFO aim.agent.aid.service [-] Start reconciliation cycle.
2023-09-07 15:25:42.350 467373 139833467140992 INFO aim.agent.aid.service [-] Congratulations! your multiverse is nice and synced :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions