SC10 standalone master jobs failing with Configure octavia on overcloud

Bug #1929402 reported by Pooja Jadhav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Rabi Mishra

Bug Description

SC10 standalone master jobs failing with below traceback :

["\u001b[KeyJ1dWlkIjogImYxYjE2NDBjLTY4OWUtNDJmZi1hOTg1LTFjMTU5YzdkZTA5NyJ9\u001b[64D\u001b[K", "PLAY [Undercloud[0]] ***********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImJmNGNlNTZiLTYzYWEtNGU0YS05ZDJlLWQ0Y2U1NjBhOGViMiJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjczMzZlMmVlLTg2YzgtNDdkMi05MjkyLTBlYWQwZTM3N2E5OSJ9\u001b[64D\u001b[K", "PLAY [octavia_nodes] ***********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjIwZjAwM2ViLWJhZjYtNGU2My1iYWNlLTg5Y2Y0NTFkNjEwNSJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u0012021-05-24 10:14:10.302294 | fa163efa-cf3c-480c-a8a4-0000000000f2 | FATAL | Configure octavia on overcloud | undercloud | error={"changed": true, "cmd": "ANSIBLE_CONFIG=\"/home/zuul/standalone-ansible-k2ytweq3/ansible.cfg\" ansible-playbook -i \"/home/zuul/standalone-ansible-k2ytweq3/octavia-ansible/inventory.yaml\" --extra-vars @/home/zuul/standalone-ansible-k2ytweq3/octavia-ansible/group_vars/octavia_vars.yaml /usr/share/ansible/tripleo-playbooks/octavia-files.yaml", "delta": "0:00:01.669879", "end": "2021-05-24 10:14:10.280211", "msg": "non-zero return code", "rc": 10, "start": "2021-05-24 10:14:08.610332", "stderr": "[WARNING]: * Failed to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-\nansible/inventory.yaml with auto plugin: We were unable to read either as JSON\nnor YAML, these are the errors we got from each: JSON: Expecting value: line 1\ncolumn 1 (char 0) Syntax Error while loading YAML. mapping values are not\nallowed in this context The error appears to be in '/home/zuul/standalone-\nansible-k2ytweq3/octavia-ansible/inventory.yaml': line 2, column 23, but may be\nelsewhere in the file depending on the exact syntax problem. The offending\nline appears to be: octavia_nodes: hosts: standalone:\n^ here\n[WARNING]: * Failed to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-\nansible/inventory.yaml with yaml plugin: We were unable to read either as JSON\nnor YAML, these are the errors we got from each: JSON: Expecting value: line 1\ncolumn 1 (char 0) Syntax Error while loading YAML. mapping values are not\nallowed in this context The error appears to be in '/home/zuul/standalone-\nansible-k2ytweq3/octavia-ansible/inventory.yaml': line 2, column 23, but may be\nelsewhere in the file depending on the exact syntax problem. The offending\nline appears to be: octavia_nodes: hosts: standalone:\n^ here\n[WARNING]: * Failed to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-\nansible/inventory.yaml with ini plugin: Invalid host pattern 'octavia_nodes:'\nsupplied, ending in ':' is not allowed, this character is reserved to provide a\nport.\n[WARNING]: Unable to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-\nansible/inventory.yaml as an inventory source\n[WARNING]: No inventory was parsed, only implicit localhost is available\n[WARNING]: provided hosts list is empty, only localhost is available. Note that\nthe implicit localhost does not match 'all'\n\u001b[KeyJ1dWlkIjogImNjZGVjMWEyLTBjOWEtNDFjZC1iOTUwLTZmZjljNTVmYWQ0MyJ9\u001b[64D\u001b[K[WARNING]: Could not match supplied host pattern, ignoring: Undercloud\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImYxODdlZTMyLTlkMzEtNDAzYi1hZjJhLWU1NjM4OWE5MGFlMSJ9\u001b[64D\u001b[K[WARNING]: Could not match supplied host pattern, ignoring: octavia_nodes\n\u001b[Ke30=\u001b[4D\u001b[K", "stderr_lines": ["[WARNING]: * Failed to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-", "ansible/inventory.yaml with auto plugin: We were unable to read either as JSON", "nor YAML, these are the errors we got from each: JSON: Expecting value: line 1", "column 1 (char 0) Syntax Error while loading YAML. mapping values are not", "allowed in this context The error appears to be in '/home/zuul/standalone-", "ansible-k2ytweq3/octavia-ansible/inventory.yaml': line 2, column 23, but may be", "elsewhere in the file depending on the exact syntax problem. The offending", "line appears to be: octavia_nodes: hosts: standalone:", "^ here", "[WARNING]: * Failed to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-", "ansible/inventory.yaml with yaml plugin: We were unable to read either as JSON", "nor YAML, these are the errors we got from each: JSON: Expecting value: line 1", "column 1 (char 0) Syntax Error while loading YAML. mapping values are not", "allowed in this context The error appears to be in '/home/zuul/standalone-", "ansible-k2ytweq3/octavia-ansible/inventory.yaml': line 2, column 23, but may be", "elsewhere in the file depending on the exact syntax problem. The offending", "line appears to be: octavia_nodes: hosts: standalone:", "^ here", "[WARNING]: * Failed to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-", "ansible/inventory.yaml with ini plugin: Invalid host pattern 'octavia_nodes:'", "supplied, ending in ':' is not allowed, this character is reserved to provide a", "port.", "[WARNING]: Unable to parse /home/zuul/standalone-ansible-k2ytweq3/octavia-", "ansible/inventory.yaml as an inventory source", "[WARNING]: No inventory was parsed, only implicit localhost is available", "[WARNING]: provided hosts list is empty, only localhost is available. Note that", "the implicit localhost does not match 'all'", "\u001b[KeyJ1dWlkIjogImNjZGVjMWEyLTBjOWEtNDFjZC1iOTUwLTZmZjljNTVmYWQ0MyJ9\u001b[64D\u001b[K[WARNING]: Could not match supplied host pattern, ignoring: Undercloud", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImYxODdlZTMyLTlkMzEtNDAzYi1hZjJhLWU1NjM4OWE5MGFlMSJ9\u001b[64D\u001b[K[WARNING]: Could not match supplied host pattern, ignoring: octavia_nodes", "\u001b[Ke30=\u001b[4D\u001b[K"], "stdout": "\u001b[KeyJ1dWlkIjogImYxYjE2NDBjLTY4OWUtNDJmZi1hOTg1LTFjMTU5YzdkZTA5NyJ9\u001b[64D\u001b[K\nPLAY [Undercloud[0]] ***********************************************************\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImJmNGNlNTZiLTYzYWEtNGU0YS05ZDJlLWQ0Y2U1NjBhOGViMiJ9\u001b[64D\u001b[Kskipping: no hosts matched\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjczMzZlMmVlLTg2YzgtNDdkMi05MjkyLTBlYWQwZTM3N2E5OSJ9\u001b[64D\u001b[K\nPLAY [octavia_nodes] ***********************************************************\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjIwZjAwM2ViLWJhZjYtNGU2My1iYWNlLTg5Y2Y0NTFkNjEwNSJ9\u001b[64D\u001b[Kskipping: no hosts matched\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjI5NTMwMWJkLWJhZDAtNDk2Mi04MjRmLWZiYzc2ZWNhMGFlMCJ9\u001b[64D\u001b[K\nPLAY [octavia_nodes[0]] ********************************************************\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjFjOTJmMjVmLWZiYTktNDIwNi1hNWRlLTZkZmY0NTAxZTY4NSJ9\u001b[64D\u001b[Kskipping: no hosts matched\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjVhYzc4NjFkLTI3ODktNGYzMy1hNDY3LTcyNzlhMmQ0NWM3YyJ9\u001b[64D\u001b[K\nPLAY [octavia_nodes] ***********************************************************\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImY1MWY0YTlhLTAxY2UtNDZkZS04ZWFhLTg5ZjNjOGZmYjQ4MCJ9\u001b[64D\u001b[Kskipping: no hosts matched\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImM4ODZhNmIyLWU3MjMtNGRhNy1iOTY3LTU3MTU1MzdmMmYwMiJ9\u001b[64D\u001b[K\nPLAY [octavia_nodes] ***********************************************************\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImI4NDg3MTc1LWRmYzktNDJjMS04ODRmLWJhODI5YzViMTBjZCJ9\u001b[64D\u001b[Kskipping: no hosts matched\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImQ5YmI2MzA5LTEyNjAtNDE5NC05Y2NlLTUzMTE4YzBmNGY5MSJ9\u001b[64D\u001b[K\nPLAY RECAP *********************************************************************\n\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImZmNzZlN2I0LWI0ZWYtNGE4MC04NmMzLTNjZDQ2ZDU3Nzk2NiJ9\u001b[64D\u001b[K\n\u001b[Ke30=\u001b[4D\u001b[K", "stdout_lines": ["\u001b[KeyJ1dWlkIjogImYxYjE2NDBjLTY4OWUtNDJmZi1hOTg1LTFjMTU5YzdkZTA5NyJ9\u001b[64D\u001b[K", "PLAY [Undercloud[0]] ***********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImJmNGNlNTZiLTYzYWEtNGU0YS05ZDJlLWQ0Y2U1NjBhOGViMiJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjczMzZlMmVlLTg2YzgtNDdkMi05MjkyLTBlYWQwZTM3N2E5OSJ9\u001b[64D\u001b[K", "PLAY [octavia_nodes] ***********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjIwZjAwM2ViLWJhZjYtNGU2My1iYWNlLTg5Y2Y0NTFkNjEwNSJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjI5NTMwMWJkLWJhZDAtNDk2Mi04MjRmLWZiYzc2ZWNhMGFlMCJ9\u001b[64D\u001b[K", "PLAY [octavia_nodes[0]] ********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjFjOTJmMjVmLWZiYTktNDIwNi1hNWRlLTZkZmY0NTAxZTY4NSJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogIjVhYzc4NjFkLTI3ODktNGYzMy1hNDY3LTcyNzlhMmQ0NWM3YyJ9\u001b[64D\u001b[K", "PLAY [octavia_nodes] ***********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImY1MWY0YTlhLTAxY2UtNDZkZS04ZWFhLTg5ZjNjOGZmYjQ4MCJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImM4ODZhNmIyLWU3MjMtNGRhNy1iOTY3LTU3MTU1MzdmMmYwMiJ9\u001b[64D\u001b[K", "PLAY [octavia_nodes] ***********************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImI4NDg3MTc1LWRmYzktNDJjMS04ODRmLWJhODI5YzViMTBjZCJ9\u001b[64D\u001b[Kskipping: no hosts matched", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImQ5YmI2MzA5LTEyNjAtNDE5NC05Y2NlLTUzMTE4YzBmNGY5MSJ9\u001b[64D\u001b[K", "PLAY RECAP *********************************************************************", "\u001b[Ke30=\u001b[4D\u001b[K\u001b[KeyJ1dWlkIjogImZmNzZlN2I0LWI0ZWYtNGE4MC04NmMzLTNjZDQ2ZDU3Nzk2NiJ9\u001b[64D\u001b[K", "\u001b[Ke30=\u001b[4D\u001b[K"]}
2021-05-24 10:14:10.304153 | fa163efa-cf3c-480c-a8a4-0000000000f2 | TIMING | Configure octavia on overcloud | undercloud | 0:35:46.393639 | 1.98s

References :

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario010-standalone-master/43a2101/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario010-ovn-provider-standalone-master/37c09ba/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)
Changed in tripleo:
status: Triaged → In Progress
wes hayutin (weshayutin)
Changed in tripleo:
milestone: none → xena-1
importance: Undecided → Critical
Revision history for this message
Rabi Mishra (rabi) wrote :

The patch https://review.opendev.org/c/openstack/tripleo-heat-templates/+/792802 is ready now (added back the blank lines) with SC10 standalone jobs passing[1].

Spent some unnecessary time on it to make it work without those extra blank lines and given up:/ Seems like strange behavior when using {% raw %}.

[1] https://7408824defcee8201456-a3def1e703d420249f59d3783ec441e9.ssl.cf5.rackcdn.com/792802/6/check/tripleo-ci-centos-8-scenario010-ovn-provider-standalone/c348f7a/

Once the gate is little more predictable it will be all green I guess:)

Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/792802
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/83668920ecfab23f23ee97417a310d801f8d352c
Submitter: "Zuul (22348)"
Branch: master

commit 83668920ecfab23f23ee97417a310d801f8d352c
Author: ramishra <email address hidden>
Date: Mon May 24 16:51:25 2021 +0530

    Fix octavia_nodes rendering in octavia-deployment-config.j2.yaml

    Regression from earlier patch[1].

    [1] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/791414

    Closes-Bug: #1929402
    Change-Id: I780e48e9b116ea381ae3a55f5147d1e65fe6d50f

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 15.0.0

This issue was fixed in the openstack/tripleo-heat-templates 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.