Bug 1639167
| Summary: | 'VmsModule' object has no attribute '_get_minor' | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-ansible-collection | Reporter: | Petr Kubica <pkubica> |
| Component: | vm-infra | Assignee: | Ondra Machacek <omachace> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kubica <pkubica> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1.10 | CC: | bugs, mperina, omachace |
| Target Milestone: | ovirt-4.2.7 | Keywords: | Regression |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2+
rule-engine: blocker+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-ansible-vm-infra-1.1.11 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-02 14:31:12 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1638816 | ||
Is this going to be ready for 4.2.7 rc3 compose? (In reply to Sandro Bonazzola from comment #1) > Is this going to be ready for 4.2.7 rc3 compose? yes Verified in Ansible 2.6.5 Ansible 2.7.0 ovirt-ansible-vm-infra-1.1.12-0.1.master.20181016114754.el7.noarch This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.7 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: Role works with ansible 2.7.0 but not longer with Ansible 2.6.5. Some products are still locked on older Ansible (Ansible Tower, etc..) The full traceback is: Traceback (most recent call last): File "/tmp/ansible_BYMxig/ansible_module_ovirt_vms_wa_44726.py", line 2009, in main clone_permissions=module.params['clone_permissions'], File "/tmp/ansible_BYMxig/ansible_modlib.zip/ansible/module_utils/ovirt.py", line 556, in create if not self.update_check(entity): File "/tmp/ansible_BYMxig/ansible_module_ovirt_vms_wa_44726.py", line 1194, in update_check equal(self._get_minor(self.param('custom_compatibility_version')), self._get_minor(entity.custom_compatibility_version)) and AttributeError: 'VmsModule' object has no attribute '_get_minor' failed: [brq_engine] (item={u'ansible_job_id': u'610446085089.14716', u'started': 1, 'changed': False, 'failed': False, u'finished': 0, u'results_file': u'/home/pkubica/.ansible_async/610446085089.14716'}) => { "ansible_job_id": "610446085089.14716", "attempts": 1, "changed": false, "finished": 1, "invocation": { "module_args": { "affinity_group_mappings": [], "affinity_label_mappings": [], "allow_partial_import": null, "ballooning_enabled": null, "boot_devices": null, "boot_menu": null, "cd_iso": null, "clone": false, "clone_permissions": false, "cloud_init": null, "cloud_init_nics": [], "cloud_init_persist": false, "cluster": "vhosts-cluster", "cluster_mappings": [], "comment": null, "cpu_cores": null, "cpu_mode": null, "cpu_pinning": null, "cpu_shares": null, "cpu_sockets": null, "cpu_threads": null, "custom_compatibility_version": null, "custom_properties": null, "delete_protected": null, "description": null, "disk_format": "cow", "disks": [], "domain_mappings": [], "fetch_nested": false, "force": false, "graphical_console": null, "high_availability": null, "high_availability_priority": null, "host": null, "host_devices": null, "id": null, "initrd_path": null, "instance_type": null, "io_threads": null, "kernel_params": null, "kernel_path": null, "kvm": null, "lease": null, "lun_mappings": [], "memory": null, "memory_guaranteed": null, "memory_max": null, "name": "vm-02", "nested_attributes": [], "nics": [], "numa_nodes": [], "numa_tune_mode": null, "operating_system": null, "placement_policy": null, "poll_interval": 3, "quota_id": null, "reassign_bad_macs": null, "rng_device": null, "role_mappings": [], "serial_console": null, "serial_policy": null, "serial_policy_value": null, "smartcard_enabled": null, "soundcard_enabled": null, "sso": null, "state": "present", "stateless": null, "storage_domain": null, "sysprep": null, "template": "centos7", "template_version": null, "ticket": null, "timeout": 180, "timezone": null, "type": null, "usb_support": null, "use_latest_template_version": null, "vmware": null, "vnic_profile_mappings": [], "wait": true, "watchdog": null, "xen": null } }, "item": { "ansible_job_id": "610446085089.14716", "changed": false, "failed": false, "finished": 0, "results_file": "/home/pkubica/.ansible_async/610446085089.14716", "started": 1 }, "msg": "'VmsModule' object has no attribute '_get_minor'" } Version-Release number of selected component (if applicable): ovirt-ansible-vm-infra-1.1.11-0.1.master.20181010151213.el7.noarch How reproducible: always with Ansible 2.6.5 Steps to Reproduce: 1. run role with Ansible 2.6.5