Freezer all-in-one deployment fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
New
|
Undecided
|
Unassigned | ||
kolla-ansible |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I am trying to deploy an all-in-one Openstack with Freezer, but kolla-ansible deploy fail.
** How to reproduce it **
follow https:/
set enable_freezer: "yes" in globals.yml
use all-in-one inventory
** Environment **
Ubuntu 20.04.3 LTS (Focal Fossa)
kolla-ansible@
TASK [freezer : Copying over freezer confs] *******
task path: /home/ubuntu/
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ubuntu
<localhost> EXEC /bin/sh -c 'echo ~ubuntu && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/ubuntu/
Using module file /home/ubuntu/
Pipelining is enabled.
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
Using module file /home/ubuntu/
Pipelining is enabled.
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
<localhost> EXEC /bin/sh -c 'rm -f -r /home/ubuntu/
ok: [localhost] => (item={'key': 'freezer-api', 'value': {'container_name': 'freezer_api', 'group': 'freezer-api', 'enabled': True, 'image': 'quay.io/
"ansible_
"changed": false,
"checksum": "50bce79fc14d4d
"dest": "/etc/kolla/
"diff": {
"after": {
"path": "/etc/kolla/
},
"before": {
"path": "/etc/kolla/
}
},
"gid": 0,
"group": "root",
"invocation": {
"dest": "/etc/kolla/
"mode": "0660",
"path": "/etc/kolla/
"src": null,
}
},
"item": {
"key": "freezer-api",
"value": {
},
}
},
""
]
}
},
"mode": "0660",
"owner": "root",
"path": "/etc/kolla/
"size": 884,
"state": "file",
"uid": 0
}
<localhost> EXEC /bin/sh -c 'echo ~ubuntu && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/ubuntu/
<localhost> EXEC /bin/sh -c 'rm -f -r /home/ubuntu/
fatal: [localhost]: FAILED! => {
"msg": "'dict object' has no attribute 'domain_name'"
}
PLAY RECAP *******
localhost : ok=240 changed=11 unreachable=0 failed=1 skipped=125 rescued=0 ignored=0
Command failed ansible-playbook -e @/etc/kolla/
Thanks
summary: |
- Freezer deployment failed + Freezer all-in-one deployment fail |
The issue come from this:
os_project_ domain_ name = {{ openstack_ auth.domain_ name }} in https:/ /github. com/openstack/ kolla-ansible/ blob/master/ ansible/ roles/freezer/ templates/ freezer. conf.j2# L19
There is no domain_name attribute but I don't know the value that should be used there.