GithubHelp home page GithubHelp logo

ovirt / ovirt-ansible-engine-setup Goto Github PK

View Code? Open in Web Editor NEW
15.0 18.0 23.0 105 KB

This project is now archived, development moved to https://github.com/ovirt/ovirt-ansible-collection

License: Apache License 2.0

Shell 28.76% HTML 71.24%

ovirt-ansible-engine-setup's Issues

Failing when ovirt_engine_setup_use_remote_answer_file is not defined

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.

aaa-ldap integration

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

ovirt_engine_setup_offline and ovirt_engine_setup_update_all_packages discrepancy

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

README says this works with ovirt_engine_setup_version set to 4.0 but template file missing for 4.0

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

Playbook fail with "Python 2 yum module is needed for this module"

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.

Performing upgrade/update failing with missing rhvm package when product is RHV

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"]}

missing el8 build causes dependency failures on el8 hosts

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

No possibility to set a custom FQDN

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.