ovirt / ovirt-ansible-engine-setup Goto Github PK
View Code? Open in Web Editor NEWThis project is now archived, development moved to https://github.com/ovirt/ovirt-ansible-collection
License: Apache License 2.0
This project is now archived, development moved to https://github.com/ovirt/ovirt-ansible-collection
License: Apache License 2.0
I see our automation is failing cause of this variable is not defined.
Error:
18:57:41 fatal: [jenkins-vm-03.lab.eng.tlv2.redhat.com]: FAILED! => {"msg": "The conditional check 'ovirt_engine_setup_use_remote_answer_file' failed. The error was: error while evaluating conditional (ovirt_engine_setup_use_remote_answer_file): 'ovirt_engine_setup_use_remote_answer_file' is undefined\n\nThe error appears to have been in '/var/lib/jenkins/workspace/rhv-ge-deploy-4.2@2/ansible-roles-deps/oVirt.engine-setup/tasks/engine_setup.yml': line 25, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Use remote's answer file\n ^ here\n"}
I think that it should be fixed by some default value.
please explore the option to integrated FF upgrade (https://github.com/oVirt/ovirt-fast-forward-upgrade) to the engine-setup (upgrade) role.
Hi,
would you consider this role to be the right place for ldap or general auth configuration? I am currently thinking about implementing this and I am not sure if I should extend this role or create a "post install engine" role
Greetings
Klaas
Missing description about 'ovirt_engine_setup_admin_password' in section 'Role Variables' in README.md
Add all Grafana options for engine 4.4
#91
I suggest to squash these into just a single option. You either want to update everything ro run in offline environment.
But having e.g. ovirt_engine_setup_update_all_packages=true and ovirt_engine_setup_offline=true doesn't make sense - you update all the packages and then setup fails because it's not allowed to install matching packages (in versionlock). Similarly the other way around.
It makes sense to only have a single option and derive a correct --offline parameter from it
The README says this works with ovirt_engine_setup_version: '4.0'
but get the below error when attempting to use.
TASK [oVirt.engine-setup : Use the default answerfile] *************************************************************************************
fatal: [rhevm.rhc-lab.iad.redhat.com]: FAILED! => {
"changed": false,
"failed": true
}
MSG:
Could not find or access 'answerfile_4.0_basic.txt.j2'
Searched in:
/root/ansible-rhc_lab/roles/oVirt.engine-setup/templates/answerfile_4.0_basic.txt.j2
/root/ansible-rhc_lab/roles/oVirt.engine-setup/answerfile_4.0_basic.txt.j2
/root/ansible-rhc_lab/roles/oVirt.engine-setup/tasks/templates/answerfile_4.0_basic.txt.j2
/root/ansible-rhc_lab/roles/oVirt.engine-setup/tasks/answerfile_4.0_basic.txt.j2
/root/ansible-rhc_lab/playbooks/templates/answerfile_4.0_basic.txt.j2
/root/ansible-rhc_lab/playbooks/answerfile_4.0_basic.txt.j2
Hi,
When I try to deploy the hosted_engine I always get this error:
[ INFO ] TASK [ovirt.hosted_engine_setup : Install oVirt Hosted Engine packages]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 10, "changed": false, "msg": "The Python 2 yum module is needed for this module. If you require Python 3 support use the `dnf` Ansible module instead."}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
I'm using ovirt node 4.4.11
Let me know if more information is needed.
Regards.
This task is problematic and failing when performing update/upgrade cause once rhvm is installed it's locked by yum versionlock plugin and looks like unavailable. So installing of this package in task below:
- name: Install RHV package
package:
name: "{{ 'rhevm' if ovirt_engine_setup_version is version('4.2', '<') else 'rhvm' }}"
state: present
when: ovirt_engine_setup_product_type | lower == 'rhv'
Failing with:
2018-11-29 17:17:36,417 p=58857 u=root | fatal: [jenkins-vm-03.lab.eng.tlv2.redhat.com]: FAILED! => {"changed": false, "msg": "No package matching 'rhvm' found available, installed or updated", "rc": 126, "results": ["No package matching 'rhvm' found available, installed or updated"]}
Master is now at 4.4 and test examples still consider master as 4.3.
We need to add 4.4 as target.
Add the capability to configure the SPICE Proxy support.
17:05:10,442 INFO anaconda:program: Problem: package ovirt-release-host-node-4.4.0-0.0.alpha.20191126164154.git1ba5b84.el8.noarch requires ovirt-host, but none of the providers can be installed
17:05:10,442 INFO anaconda:program: - package ovirt-host-4.4.0-0.2.alpha.el8.x86_64 requires ovirt-hosted-engine-setup, but none of the providers can be installed
17:05:10,443 INFO anaconda:program: - cannot install the best candidate for the job
17:05:10,443 INFO anaconda:program: - nothing provides ovirt-ansible-engine-setup >= 1.1.9 needed by ovirt-hosted-engine-setup-2.4.0-1.el8.noarch
offending patch is
commit a3217da
Author: mnecas [email protected]
Date: Mon Nov 11 14:01:40 2019 +0100
During an interactive installation it is possible to set a custom FQDN which gets transformed into OVESETUP_CONFIG/fqdn
value in the answer file.
Currently this ansible role does not seem to provide any mechanism to benefit from this, instead it always relies on the automatically detected hostname what is not a desired solution in the environment consisting of virtual hosts.
Some parts of the code refer to ovirt_engine_setup_hostname
, but this variable is actually not used during the installation process.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.