Comment 0 for bug 1842913

Revision history for this message
Benjamin (tumbl3w33d) wrote :

I have a recently created multinode setup with 1 pure controller node and 1 controller+compute node. Now I wanted to enable support for provider networks (enable_neutron_provider_networks) and ran 'kolla-ansible -i multinode deploy' once more to get this deployed.

For my pure controller node the playbook completes (probably because it needs no libvirt), however, for my compute node it doesn't. There is one VM running on this compute node.

Something in the handler's bool chain goes wrong:
RUNNING HANDLER [nova : Restart nova-libvirt container] ***********************************************************************************************************************************************************
Thursday 05 September 2019 12:34:50 +0200 (0:00:00.180) 0:05:11.410 ****
fatal: [redacted]: FAILED! => {
    "msg": "The conditional check 'config_json.changed | bool or nova_libvirt_confs.changed | bool or nova_libvirt_container.changed | bool or ( ceph_conf is not none and ceph_conf.changed | bool ) or ( nova_ceph_keyring is defined and nova_ceph_keyring.changed | bool ) or ( libvirt_secrets_xml is defined and libvirt_secrets_xml.changed | bool ) or ( libvirt_secrets_key is defined and libvirt_secrets_key.changed | bool )' failed. The error was: error while evaluating conditional (config_json.changed | bool or nova_libvirt_confs.changed | bool or nova_libvirt_container.changed | bool or ( ceph_conf is not none and ceph_conf.changed | bool ) or ( nova_ceph_keyring is defined and nova_ceph_keyring.changed | bool ) or ( libvirt_secrets_xml is defined and libvirt_secrets_xml.changed | bool ) or ( libvirt_secrets_key is defined and libvirt_secrets_key.changed | bool )): 'str object' has no attribute 'changed'\n\nThe error appears to be in '/home/redacted/projects/kolla/venv/share/kolla-ansible/ansible/roles/nova/handlers/main.yml': line 52, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Restart nova-libvirt container\n ^ here\n"
}

Hard to figure out which of these is the culprit. Any hints how to further troubleshoot/workaround this?