Bug 1521154
Summary: | update prechecks playbook to follow updated requirements | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Martin Bukatovic <mbukatov> |
Component: | web-admin-tendrl-ansible | Assignee: | Nishanth Thomas <nthomas> |
Status: | CLOSED ERRATA | QA Contact: | Bala Konda Reddy M <bmekala> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.3 | CC: | bmekala, mbukatov, rcyriac, rhs-bugs, sanandpa, sankarshan, shtripat, ssaha |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tendrl-ansible-1.5.4-6.el7rhgs | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-18 04:38:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1512823 | ||
Bug Blocks: | 1460574 |
Description
Martin Bukatovic
2017-12-05 21:30:33 UTC
Adding this BZ into tendrl-ansible tracker. @Martin, For the time being we can fix the first part which is : Updated requirements are enforced: * 32 GB of RAM * 12 VCPUs Other things needs to be pushed out the next release. Please raise an RFE for the same. (In reply to Nishanth Thomas from comment #3) > @Martin, For the time being we can fix the first part which is : > > Updated requirements are enforced: > > * 32 GB of RAM > * 12 VCPUs > > Other things needs to be pushed out the next release. Please raise an RFE > for the same. Asking PM to verify if this solution is acceptable. Ok to enforce just RAM & CPU for this release. Tested and verified this on the build tendrl-ansible-1.5.4-5. It fails with the below error. The variable 'ansible_memtotal_mb' is set to "32768" which is 32*1024. I suppose 'ansible_memtotal_mb' uses "free -m" command to calculate internally. A virtual machine created with 32GB RAM, will not show 32768 in the output of 'free -m' but lower than that.. it shows 32012. So, prechecks.yml needs to be updated to "ansible_memtotal_mb >= 32012" or "ansible_memtotal_mb >= 32000" if we are rounding it off. TASK [assert] ******************************************************************************************************************************************************************************************************************************** fatal: [dhcp46-29.lab.eng.blr.redhat.com]: FAILED! => { "assertion": "ansible_memtotal_mb >= 32768", "changed": false, "evaluated_to": false, "failed": true } to retry, use: --limit @/root/site.retry One detail we need to fix there as well: the comment refers to release notes of upstream v1.5.0 release, which no longer applies as the new requirements are based on different wikipage. (In reply to Martin Bukatovic from comment #9) > One detail we need to fix there as well: the comment refers to release notes > of > upstream v1.5.0 release, which no longer applies as the new requirements are > based on different wikipage. Build is already done and I don't this is critical at the moment to be handled. Please raise a separate Bz to track. Verified on the latest build: tendrl-ansible-1.5.4-7.el7rhgs.noarch The prechecks yaml file is updated with below details as mentioned - assert: that: - ansible_memtotal_mb >= 30000 - ansible_processor_vcpus >= 12 Hence marking it as verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3478 |