Unexpected templating type error occurred while generating Generate ReaR config file during standalone deploy

Bug #1888404 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Juan Badia Payno

Bug Description

RDO third party jobs (standalone fs01 master and ussuri job)running against ceph-ansible where (ceph-ansible from stable-4.0 and ansible from branch stable-2.9 rpms are consumed) are broken during standalone deploy.

2020-07-21 11:01:27.953638 | fa163ecd-e914-6e2e-d164-000000000bab | TIMING | backup_and_restore : List enabled services by node | 0:02:29.346 | 0.40s
2020-07-21 11:01:28.010006 | fa163ecd-e914-6e2e-d164-000000000bac | OK | Calculate exclude paths | standalone
2020-07-21 11:01:28.101004 | fa163ecd-e914-6e2e-d164-000000000bad | TASK | Generate ReaR config file
2020-07-21 11:01:28.101722 | fa163ecd-e914-6e2e-d164-000000000bac | TIMING | backup_and_restore : Calculate exclude paths | 0:02:29.494 | 0.15s
2020-07-21 11:01:28.157904 | fa163ecd-e914-6e2e-d164-000000000bad | FATAL | Generate ReaR config file | standalone | error={"changed": false, "msg": "AnsibleError: Unexpected templating type error occurred on (# This configuration file is generated automatically\n# by the backup_and_restore role part of TripleO\n# Ansible. No not edit this file, all changes\n# will be lost. Refer to the following URL for\n# more information and implementation details:\n# https://opendev.org/openstack/tripleo-ansible\n\nOUTPUT_URL={{ tripleo_backup_and_restore_output_url }}\nISO_PREFIX={{ tripleo_backup_and_restore_hostname.stdout }}\nBACKUP_PROG_OPTIONS+=( --anchored --xattrs-include='*.*' --xattrs )\nBACKUP_PROG_EXCLUDE=( {{ tripleo_backup_and_restore_exclude_paths | sum(start=[]) | map('quote') | join(' ') }} )\nBACKUP_URL={{ tripleo_backup_and_restore_backup_url }}\n{% for item in (tripleo_backup_and_restore_local_config | dict2items) %}\n{{ item.key }}={{ item.value }}\n{% endfor %}\n): can only concatenate list (not \"str\") to list"}

standalone-master-sc1: https://logserver.rdoproject.org/openstack-regular/github.com/ceph/ceph-ansible/stable-4.0/tripleo-ceph-ansible-integration-centos-8-scenario001-standalone/bff9bfa/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

Standalone ussuri : https://logserver.rdoproject.org/openstack-regular/github.com/ceph/ceph-ansible/stable-4.0/tripleo-ceph-ansible-integration-centos-8-scenario001-standalone-ussuri/4d03c59/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

https://review.rdoproject.org/zuul/builds?pipeline=openstack-regular&project=ceph%2Fceph-ansible&job_name=tripleo-ceph-ansible-integration-centos-8-scenario001-standalone-ussuri&job_name=tripleo-ceph-ansible-integration-centos-8-scenario001-standalone&branch=stable-4.0 are the jobs.

package installed;
https://logserver.rdoproject.org/openstack-regular/github.com/ceph/ceph-ansible/stable-4.0/tripleo-ceph-ansible-integration-centos-8-scenario001-standalone/bff9bfa/logs/undercloud/var/log/extra/package-list-installed.txt.gz

* ansible.noarch 2.9.11-100.git202007210154.bef5ebba6e.stable29.el8 @ceph-ansible-override

* ceph-ansible.noarch 4.0.25-16.g252584e1.el8 @ceph-ansible-override

Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :
tags: added: promotion-blocker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/742213

Revision history for this message
chandan kumar (chkumar246) wrote :
Download full text (3.9 KiB)

From upstream master standalone sc1 job: https://62e4d8896e7ecc5cf6a9-308d85d8625749d114b87463455a8ad0.ssl.cf1.rackcdn.com/731816/5/check/tripleo-ci-centos-8-scenario001-standalone/760d943/logs/undercloud/home/zuul/standalone_deploy.log

TIMING | Run podman login | 0:03:57.871 | 0.31s
2020-07-21 08:55:54.416661 | bc764e10-2f48-f896-bab8-0000000000df | TASK | Configure tripleo_container_manage to generate systemd drop-in dependencies
2020-07-21 08:55:54.418958 | bc764e10-2f48-f896-bab8-000000000b18 | TIMING | tripleo_podman : Perform container registry login(s) with podman | 0:03:58.073 | 0.20s
2020-07-21 08:55:55.096109 | bc764e10-2f48-f896-bab8-0000000000df | CHANGED | Configure tripleo_container_manage to generate systemd drop-in dependencies | standalone
2020-07-21 08:55:55.236038 | bc764e10-2f48-f896-bab8-0000000000df | TIMING | Configure tripleo_container_manage to generate systemd drop-in dependencies | 0:03:58.890 | 0.82s
2020-07-21 08:55:55.560620 | bc764e10-2f48-f896-bab8-000000000ba7 | TASK | Gather variables for each operating system
2020-07-21 08:55:55.563781 | bc764e10-2f48-f896-bab8-0000000000e0 | TIMING | include_role : backup_and_restore | 0:03:59.218 | 0.33s

2020-07-21 08:55:55.677400 | bc764e10-2f48-f896-bab8-000000000ba7 | OK | Gather variables for each operating system | standalone | item=/usr/share/ansible/roles/backup_and_restore/vars/redhat.yml

2020-07-21 08:55:55.820766 | bc764e10-2f48-f896-bab8-000000000ba8 | TASK | Install required packages for ReaR

2020-07-21 08:55:55.823539 | bc764e10-2f48-f896-bab8-000000000ba7 | TIMING | backup_and_restore : Gather variables for each operating system | 0:03:59.478 | 0.26s
2020-07-21 08:56:05.574453 | bc764e10-2f48-f896-bab8-000000000ba8 | CHANGED | Install required packages for ReaR | standalone
2020-07-21 08:56:05.717863 | bc764e10-2f48-f896-bab8-000000000ba9 | TASK | Get local hostname
2020-07-21 08:56:05.719580 | bc764e10-2f48-f896-bab8-000000000ba8 | TIMING | backup_and_restore : Install required packages for ReaR | 0:04:09.374 | 9.89s
2020-07-21 08:56:06.093039 | bc764e10-2f48-f896-bab8-000000000ba9 | CHANGED | Get local hostname | standalone
2020-07-21 08:56:06.237988 | bc764e10-2f48-f896-bab8-000000000baa | TASK | Set bootstrap nodeid
2020-07-21 08:56:06.239245 | bc764e10-2f48-f896-bab8-000000000ba9 | TIMING | backup_and_restore : Get local hostname | 0:04:09.893 | 0.52s
2020-07-21 08:56:06.763913 | bc764e10-2f48-f896-bab8-000000000baa | CHANGED | Set bootstrap nodeid | standalone
2020-07-21 08:56:06.909208 | bc764e10-2f48-f896-bab8-000000000bab | TASK | List enabled services by node
2020-07-21 08:56:06.911252 | bc764e10-2f48-f896-bab8-000000000baa | TIMING | backup_and_restore : Set bootstrap nodeid | 0:04:10.565 | 0.67s
2020-07-21 08:56:07.490701 | bc764e10-2f48-f896-bab8-000000000bab | CHANGED | List enabled services by node | standalone
2020-07-21 08:56:07.629869 | bc764e10-2f48-f896-bab8-000000000bac | TASK | Calculate exclude paths
2020-07-21 08:56:07.631100 | bc764e10-2f48-f896-bab8-000000000bab | TIMING | backup_and_restore : List enabled services by node | 0:04:11.2...

Read more...

Revision history for this message
chandan kumar (chkumar246) wrote :
Changed in tripleo:
assignee: nobody → Juan Badia Payno (jbadiapa)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/742340

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/742348

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (stable/ussuri)

Change abandoned by Chandan Kumar (raukadah) (<email address hidden>) on branch: stable/ussuri
Review: https://review.opendev.org/742340

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (stable/train)

Change abandoned by Juan Badia Payno (<email address hidden>) on branch: stable/train
Review: https://review.opendev.org/742348

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/742213
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=c384348f5586bb5fb47bf59b7bb9e0a61f8178bf
Submitter: Zuul
Branch: master

commit c384348f5586bb5fb47bf59b7bb9e0a61f8178bf
Author: Juan Badia Payno <email address hidden>
Date: Tue Jul 21 16:42:30 2020 +0200

    BaR: Deleted duplicated variables

    The backup_and_restore has the same name for a
    fact and a register variable, both of them named the same.
    That variable is used later on a template (local.conf.j2), which
    is using the register one.

    This patch removed the register variable, as it's not used.

    Change-Id: Id0487e4649ef1f6aaf2591e003746b385f592095
    Closes-Bug: 1888404

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/ussuri)

Reviewed: https://review.opendev.org/742340
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=6ac7cc478d6e1a0f63a2caf2d9e1340c28363c04
Submitter: Zuul
Branch: stable/ussuri

commit 6ac7cc478d6e1a0f63a2caf2d9e1340c28363c04
Author: Juan Badia Payno <email address hidden>
Date: Tue Jul 21 16:42:30 2020 +0200

    BaR: Deleted duplicated variables

    The backup_and_restore has the same name for a
    fact and a register variable, both of them named the same.
    That variable is used later on a template (local.conf.j2), which
    is using the register one.

    This patch removed the register variable, as it's not used.

    Change-Id: Id0487e4649ef1f6aaf2591e003746b385f592095
    Closes-Bug: 1888404
    (cherry picked from commit c384348f5586bb5fb47bf59b7bb9e0a61f8178bf)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/train)

Reviewed: https://review.opendev.org/742348
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=824b23daed17510bf7ca8078674e4a3b6e7f62a3
Submitter: Zuul
Branch: stable/train

commit 824b23daed17510bf7ca8078674e4a3b6e7f62a3
Author: Juan Badia Payno <email address hidden>
Date: Tue Jul 21 16:42:30 2020 +0200

    BaR: Deleted duplicated variables

    The backup_and_restore has the same name for a
    fact and a register variable, both of them named the same.
    That variable is used later on a template (local.conf.j2), which
    is using the register one.

    This patch removed the register variable, as it's not used.

    Change-Id: Id0487e4649ef1f6aaf2591e003746b385f592095
    Closes-Bug: 1888404
    (cherry picked from commit c384348f5586bb5fb47bf59b7bb9e0a61f8178bf)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 0.6.0

This issue was fixed in the openstack/tripleo-ansible 0.6.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.