Bug 1711672
| Summary: | hosted-engine-setup fails if LANGUAGE set to some local language | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-ansible-collection | Reporter: | Joachim von Thadden <j.thadden> |
| Component: | hosted-engine-setup | Assignee: | Ido Rosenzwig <irosenzw> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | bugs, stirabos |
| Target Milestone: | ovirt-4.3.6 | Keywords: | ZStream |
| Target Release: | 1.0.27 | Flags: | sbonazzo:
ovirt-4.3?
|
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-ansible-hosted-engine-setup-1.0.27 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-09-26 19:42:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Works for me on these components: Followed the reproduction steps and successfully deployed over NFS storage. ovirt-hosted-engine-setup-2.3.12-1.el7ev.noarch rhv-release-engine-4.3.6-7-001.noarch.rpm Red Hat Enterprise Linux Server release 7.7 (Maipo) This bugzilla is included in oVirt 4.3.6 release, published on September 26th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.6 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. |
Description of problem: Using "hosted-engine --deploy --config-append=<whatever>" fails when a language is set. It fails when trying to check for space for the HE setup: [ INFO ] TASK [ovirt.hosted_engine_setup : Ensure we have enough space to extract the appliance] [ ERROR ] fatal: [localhost]: FAILED! => { "assertion": "local_vm_dir_space_out.stdout_lines[0]|int * 1024 > appliance_size.stdout_lines[0]|int * 1.1", "changed": false, "evaluated_to": false, "msg": "/var/tmp doesn't provide enough free space to extract the engine appliance: 0.0 Mb are available while 2892.13867188 Mb are required.\n" } This is due to /usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/bootstrap_local_vm/02_create_local_vm.yml - name: Check available space on local VM directory shell: df -k --output=avail "{{ he_local_vm_dir_path }}" | grep -v Avail which checks for "Avail" which is only there if LANGUAGE is english or set to "C". How reproducible: Always with LANGUAGE set to non english. Steps to Reproduce: 1. export LANGUAGE=de_DE.UTF-8 2. hosted-engine --deploy --config-append=<whatever> Actual results: Deployment fails with erraneous message about to enough space in /var/tmp. Expected results: Deployment succeeds. Additional info: To avoid you can use LANGUAGE=C hosted-engine --deploy --config-append=<whatever> which should be added to the documentation!