DescriptionGaël Chamoulaud
2021-07-30 13:11:49 UTC
tls-everywhere-pre-deployment and tls-everywhere-post-deployment validations are failing with this error for both validations:
1- tls-everywhere-post-deployment
"validation_output": [
{
"task": {
"hosts": {
"compute-0": {
"_ansible_no_log": false,
"action": "set_fact",
"failed": true,
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n"
}
},
"name": "Set facts for ok firewall settings",
"status": "FAILED"
}
},
{
"task": {
"hosts": {
"compute-1": {
"_ansible_no_log": false,
"action": "set_fact",
"failed": true,
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n"
}
},
"name": "Set facts for ok firewall settings",
"status": "FAILED"
}
},
{
"task": {
"hosts": {
"controller-0": {
"_ansible_no_log": false,
"action": "set_fact",
"failed": true,
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n"
}
},
"name": "Set facts for ok firewall settings",
"status": "FAILED"
}
},
{
"task": {
"hosts": {
"controller-1": {
"_ansible_no_log": false,
"action": "set_fact",
"failed": true,
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n"
}
},
"name": "Set facts for ok firewall settings",
"status": "FAILED"
}
},
{
"task": {
"hosts": {
"controller-2": {
"_ansible_no_log": false,
"action": "set_fact",
"failed": true,
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n"
}
},
"name": "Set facts for ok firewall settings",
"status": "FAILED"
}
}
]
2- tls-everywhere-pre-deployment
"validation_output": [
{
"task": {
"hosts": {
"undercloud": {
"_ansible_no_log": false,
"action": "set_fact",
"failed": true,
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n"
}
},
"name": "Set facts for ok firewall settings",
"status": "FAILED"
}
}
]
(In reply to Grzegorz Grasza from comment #3)
> Is this blocking validations for OSP 16.2 GA?
Hi Grzegorz,
No as I said to Ade and Harry on IRC, this is constrained to your validations.
Gaël
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:4793
Comment 18Red Hat Bugzilla
2023-09-15 01:35:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days
tls-everywhere-pre-deployment and tls-everywhere-post-deployment validations are failing with this error for both validations: 1- tls-everywhere-post-deployment "validation_output": [ { "task": { "hosts": { "compute-0": { "_ansible_no_log": false, "action": "set_fact", "failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n" } }, "name": "Set facts for ok firewall settings", "status": "FAILED" } }, { "task": { "hosts": { "compute-1": { "_ansible_no_log": false, "action": "set_fact", "failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n" } }, "name": "Set facts for ok firewall settings", "status": "FAILED" } }, { "task": { "hosts": { "controller-0": { "_ansible_no_log": false, "action": "set_fact", "failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n" } }, "name": "Set facts for ok firewall settings", "status": "FAILED" } }, { "task": { "hosts": { "controller-1": { "_ansible_no_log": false, "action": "set_fact", "failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n" } }, "name": "Set facts for ok firewall settings", "status": "FAILED" } }, { "task": { "hosts": { "controller-2": { "_ansible_no_log": false, "action": "set_fact", "failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n" } }, "name": "Set facts for ok firewall settings", "status": "FAILED" } } ] 2- tls-everywhere-pre-deployment "validation_output": [ { "task": { "hosts": { "undercloud": { "_ansible_no_log": false, "action": "set_fact", "failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'ansible_hostname' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tls_everywhere/tasks/common.yaml': line 62, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set facts for ok firewall settings\n ^ here\n" } }, "name": "Set facts for ok firewall settings", "status": "FAILED" } } ]