TripleO post deploy validations fail after deploying Stable/Ocata

Bug #1719534 reported by Carlos Camacho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Carlos Camacho

Bug Description

DEPLOYMENT COMMAND
==================

bash ./tripleo-quickstart/quickstart.sh \
                --clean \
                --release ocata \
                --teardown all \
                --tags all \
                $VIRTHOST

EXPECTED OUTPUT
===============

Deploy and validate the stack correctly.

ERROR ON DEPLOYMENT
===================

TASK [validate-simple : Copy wait_for script] **********************************
task path: /home/toor/.quickstart/usr/local/share/ansible/roles/validate-simple/tasks/main.yml:24
Wednesday 20 September 2017 14:33:51 +0200 (0:00:04.515) 1:38:13.633 ***
changed: [undercloud] => {"changed": true, "checksum": "5c1133907099658178b6a09cf2c61aef66ab98ac", "dest": "/home/stack/wait_for", "gid": 1000, "group": "stack", "md5sum": "6b16d82a3da291f0aede421e352383cc", "mode": "0755", "owner": "stack", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 5600, "src": "/home/stack/.ansible/tmp/ansible-tmp-1505910832.42-170303749447593/source", "state": "file", "uid": 1000}

TASK [validate-simple : Validate the overcloud] ********************************
task path: /home/toor/.quickstart/usr/local/share/ansible/roles/validate-simple/tasks/main.yml:30
Wednesday 20 September 2017 14:33:55 +0200 (0:00:04.045) 1:38:17.679 ***
fatal: [undercloud]: FAILED! => {"changed": true, "cmd": "set -o pipefail && /home/stack/overcloud-validate.sh 2>&1 | awk '{ print strftime(\"%Y-%m-%d %H:%M:%S |\"), $0; fflush(); }' > /home/stack/overcloud_validate.log", "delta": "0:05:21.736363", "end": "2017-09-20 12:39:18.152601", "failed": true, "rc": 1, "start": "2017-09-20 12:33:56.416238", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}

PLAY RECAP *********************************************************************
127.0.0.2 : ok=125 changed=70 unreachable=0 failed=0
localhost : ok=18 changed=8 unreachable=0 failed=0
undercloud : ok=102 changed=66 unreachable=0 failed=1

Wednesday 20 September 2017 14:39:18 +0200 (0:05:22.619) 1:43:40.299 ***
===============================================================================

DEBUG
=====

Now the validations have failed as this validation was running:
validations_post-deployment.log:++ openstack workflow execution create -f value -c ID tripleo.validations.v1.run_validation '{"validation_name": "pacemaker-status"}'

[stack@undercloud ~]$ cat failed_validations_log
### controller-ulimits FAILED ###
Task 'Check nofiles limit' failed:
Host: 192.168.24.6
Message: nofiles is set to 1024. It should be at least 2048 or higher, depending on available resources.

Failure! The validation failed for all hosts:
* 192.168.24.6

### haproxy FAILED ###
Task 'Verify defaults timeout queue' failed:
Host: 192.168.24.6
Message: The 'timeout queue' option in 'defaults' is '2m', but must be set to 1m

Failure! The validation failed for all hosts:
* 192.168.24.6

### pacemaker-status FAILED ###
Task 'Get pacemaker status' failed:
Host: 192.168.24.6
Message: Command `pcs status xml` exited with code: 1

stderr:
    Error: running crm_mon, is pacemaker running?

Failure! The validation failed for all hosts:
* 192.168.24.6

ISSUE
=====

There is no pacemaker this is a non HA deployment.. That's why this validation is broken...

Changed in tripleo:
status: New → Triaged
assignee: nobody → Carlos Camacho (ccamacho)
importance: Undecided → High
milestone: none → queens-1
Revision history for this message
Gael Chamoulaud (gael-chamoulaud) wrote :

Carlos, the failed_validations.log is not related to overcloud-validate.sh script. The failed message you are seeing in this file are coming from tripleo-validations tests. You should rather look in the /home/stack/overcloud_validate.log file instead. Sorry for the confusion.

Revision history for this message
Gael Chamoulaud (gael-chamoulaud) wrote :

Agree that I have to rename this failed_validations.log file to avoid confusion with tasks from the validate-simple role in tripleo-quickstart-extras.

Revision history for this message
Carlos Camacho (ccamacho) wrote :

Related fix: https://review.openstack.org/#/c/507463

Yeah, we can work on changing the names but is not a big deal :) Let's make it work again.

Revision history for this message
Carlos Camacho (ccamacho) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.