Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1359703 - The version isn't same with first master for scaled up nodes/masters
Summary: The version isn't same with first master for scaled up nodes/masters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-25 10:23 UTC by Anping Li
Modified: 2017-08-25 15:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-25 15:11:27 UTC


Attachments (Terms of Use)

Description Anping Li 2016-07-25 10:23:27 UTC
Description of problem:
If we didn't specified same docker_version, openshift_pkg_version or openshift_image_tag with the first master, the version of those scaled up node may be different with the first master.


Version-Release number of selected component (if applicable):

atomic-openshift-utils-3.2.14-1.git.0.cd5243d.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. rpm install openshift 3.2.1.4 with docker 1.9.1
2. prepare a new hosts and add repo for docker 1.9.1, docker 1.10.3, openshift 3.2.1.4 and oepnshift 3.2.1.10
3. Add new-nodes options in inventory file
[OSEv3:children]
masters
nodes
nfs
new_nodes

[OSEv3:vars]
ansible_ssh_user=root
openshift_set_hostname=True
openshift_master_default_subdomain=host4.example.com
deployment_type=openshift-enterprise
openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}]


[masters]
host4master.example.com  openshift_ip=192.168.0.36 openshift_public_ip=10.66.147.203 openshift_hostname=host4master.example.com openshift_public_hostname=host4master.example.com

[nodes]
host4master.example.com  openshift_ip=192.168.0.36 openshift_public_ip=10.66.147.203 openshift_hostname=host4master.example.com openshift_public_hostname=host4master.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}" openshift_schedulable=True
host4node.example.com  openshift_ip=192.168.0.39 openshift_public_ip=192.168.0.39 openshift_hostname=host4node.example.com openshift_public_hostname=host4node.example.com openshift_node_labels="{'region': 'infra', 'zone': 'default'}"

[new_nodes]
hostnode.example.com  openshift_ip=192.168.0.88 openshift_public_ip=192.168.0.88 openshift_hostname=hostnode.example.com openshift_public_hostname=hostnode.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}"

[nfs]
host4master.example.com  openshift_ip=192.168.0.36 openshift_public_ip=10.66.147.203 openshift_hostname=host4master.example.com openshift_public_hostname=host4master.example.com
~                    

4. run scale up playbook
ansible-inventory openshift-ansible/playbooks/byo/openshift-node/scaleup.yml

5. check the openshift version after installation.
rpm -qa|grep docker
rpm -qa|grep openshift
cat /etc/

Actual results:
5.1) docker vesion is 1.10.3
5.2) openshift verison is 3.2.1.10
[root@hostnode ~]# rpm -qa|grep openshift
atomic-openshift-sdn-ovs-3.2.1.10-1.git.0.045e738.el7.x86_64
atomic-openshift-clients-3.2.1.10-1.git.0.045e738.el7.x86_64
tuned-profiles-atomic-openshift-node-3.2.1.10-1.git.0.045e738.el7.x86_64
atomic-openshift-node-3.2.1.10-1.git.0.045e738.el7.x86_64
atomic-openshift-3.2.1.10-1.git.0.045e738.el7.x86_64

Expected results:
The Openshift & docker version should be same with the first master. 

Set docker_version and openshift_pkg_version using the same version with the first master to add new nodes can fix this issue. we should address this in document if we don't fix it.


Additional info:

Comment 1 Anping Li 2016-07-25 10:32:17 UTC
seem issue with playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-master/scaleup.yml

Comment 2 Brenton Leanhardt 2017-08-25 15:11:27 UTC
This should be fixed in recent releases of OCP.  Scale up should check the versions installed on the "first master" in the inventory.


Note You need to log in before you can comment on or make changes to this bug.