Hide Forgot
Description of problem: ansible should support to upgrade nativa Master ha from v3.1.0 to v3.1.1 Version-Release number of selected component (if applicable): ansible-playbook How reproducible: always Steps to Reproduce: 1. Setup Native HA Openshift v3.1.0 environment using ansible 2. Try to upgrade from v3.1.0 to v3.1.1 Actual results: TASK: [fail ] ***************************************************************** failed: [ose31master2.example.com] => {"failed": true} msg: openshift_master_cluster_method must be set to 'pacemaker' FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** . Expected Result: Ansible can upgrade Native Master HA environment
Hi Anping, We actually haven't shipped a 3.1.1 upgrade playbook yet. I doubt we'll have atomic-openshift-installer support ready in time for 3.1.1 devcut so it will be similar to previous minor upgrades. Admins can do the minor steps by hand or run a playbook directly with ansible. We'll work to add atomic-openshift-installer support soon though. My hope is to have this ready for you tomorrow.
You can preview the 3.1.1 upgrade process here: https://github.com/openshift/openshift-ansible/pull/1166 If you install a 3.1.0 environment from cdn.redhat.com you only need to enable the latest puddle, clone openshift-ansible and then run: ansible-playbook -i ~/.config/openshift/.ansible/hosts playbooks/byo/openshift-cluster/upgrades/v3_1_minor/upgrade.yml Make sure you deploy the 3.1.0 router and registry so you can verify it upgrades properly. We're waiting to get a final version of the HA Master Restart playbook and then I'll rebase the upgrade playbook and build the release candidate.
Failed to replace those imagesteams such as 'fis-java-openshift, fis-karaf-openshift' The error message is as following: TASK: [openshift_examples | Import xPaas image streams] *********************** failed: [ose31master2.example.com] => {"changed": false, "cmd": ["oc", "replace", "-n", "openshift", "-f", "/usr/share/openshift/examples/xpaas-streams/"], "delta": "0:00:00.417393", "end": "2016-01-13 15:57:27.856724", "failed": true, "failed_when_result": true, "rc": 1, "start": "2016-01-13 15:57:27.439331", "stdout_lines": ["imagestream \"jboss-webserver30-tomcat7-openshift\" replaced", "imagestream \"jboss-webserver30-tomcat8-openshift\" replaced", "imagestream \"jboss-eap64-openshift\" replaced", "imagestream \"jboss-amq-62\" replaced"], "warnings": []} stderr: Error from server: imageStream "fis-java-openshift" not found Error from server: imageStream "fis-karaf-openshift" not found Error from server: imageStream "jboss-decisionserver62-openshift" not found Error from server: imageStream "jboss-datagrid65-openshift" not found stdout: imagestream "jboss-webserver30-tomcat7-openshift" replaced imagestream "jboss-webserver30-tomcat8-openshift" replaced imagestream "jboss-eap64-openshift" replaced imagestream "jboss-amq-62" replaced FATAL: all hosts have already failed -- aborting
The Native HA environment can be upgraded, so move to 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/RHBA-2016:0075