Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1926277

Summary: Exception: Failed to create host deploy variables mapper Unexpected IOException (of type org.codehaus.jackson.JsonParseException): Illegal character '_' (code 0x5f) in base64 content
Product: [oVirt] ovirt-engine Reporter: Jean-Louis Dupond <jean-louis>
Component: Backend.CoreAssignee: Dana <delfassy>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.5.3CC: bugs, gdeolive, mperina, sdickers
Target Milestone: ovirt-4.4.5Flags: pm-rhel: ovirt-4.4+
mperina: blocker?
gdeolive: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.5.6 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-18 15:14:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jean-Louis Dupond 2021-02-08 14:52:31 UTC
Description of problem:
When trying to upgrade a cluster (4.4.4 nodes to 4.4.5 rc), the engine gives me the following error:

2021-02-08 15:38:31,007+01 ERROR [org.ovirt.engine.core.services.AnsibleServlet] (default task-2) [] Error while executing ansible-playbook command.
2021-02-08 15:39:03,635+01 ERROR [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default task-2) [] Exception: Failed to create host deploy variables mapper Unexpected IOException (of type org.codehaus.jackson.JsonParseException): Illegal character '_' (code 0x5f) in base64 content
 at [Source: N/A; line: -1, column: -1]



How reproducible:
Try to upgrade a cluster via the GUI


Steps to Reproduce:
1. Have a cluster with updates ready
2. Upgrade cluster and select all nodes
3. Next next finish
4. Error appears

Additional info:
The JSON that is send in the POST:

{"cluster_name":"TEST_XX_XXX_001","stop_non_migratable_vms":true,"upgrade_timeout":3600,"host_names":["xxx-testclus001-ovn001","xxx-testclus001-ovn002","xxx-testclus001-ovn003"],"check_upgrade":false,"reboot_after_upgrade":true,"use_maintenance_policy":true}

Comment 1 RHEL Program Management 2021-02-08 14:54:58 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Dana 2021-02-11 09:36:57 UTC
Do you use cluster_upgrade UI plugin or command line execution?

Comment 3 Jean-Louis Dupond 2021-02-11 09:48:10 UTC
Cluster upgrade via the UI.

Comment 4 Scott Dickerson 2021-02-11 15:06:09 UTC
Duplicate of BZ1924962

Comment 5 Petr Matyáš 2021-03-02 12:15:59 UTC
Verified on ovirt-engine-4.4.5.7-0.1.el8ev.noarch

Comment 6 Sandro Bonazzola 2021-03-18 15:14:52 UTC
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.5 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.