Description of problem: oo-admin-move failed if the network interface eth0 in the node has no ip address. Version-Release number of selected component (if applicable): Openshift Origins v4 rubygem-openshift-origin-msg-broker-mcollective-1.26.1.1-1.el6 How reproducible: Always on the nodes where eth0 is inactive Steps to Reproduce: 1. Install openshift origins v4 with 2 or more node hosts with eth1 as the active interface 2. create application 3. move application using oo-admin-move Actual results: Move failed with this error : DEBUG: Moving content for app '<redacted>', gear '<redacted>' to <redacted> Identity added: /etc/openshift/rsync_id_rsa (/etc/openshift/rsync_id_rsa) ssh: Could not resolve hostname : Name or service not known Agent pid 31683 unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 31683 killed; DEBUG: Moving failed. Rolling back gear '<redacted>' in '<redacted>' with delete on '<redacted>' Error moving app '<redacted>',platform 'linux', gear '<redacted>' from <redacted> to <redacted> Expected results: Gear moved successfully. Additional info: Ref : https://github.com/openshift/origin-server/blob/master/plugins/msg-broker/mcollective/lib/openshift/mcollective_application_container_proxy.rb#L703 The function get_ip_address hard-codes eth0 as the NIC.
Submitted https://github.com/openshift/origin-server/pull/6050
Patch has been merged, commit c3286e087c015258f111bbf73ef6a08257013298
Being merged, the bug can be tested by QE.
Does anybody know how to change the eth0 in a devenv?
I think this should work (in reverse) : http://minimallinux.blogspot.com/2013/06/centos-6rhel-change-eth1-back-to-eth0.html Basically: 1. Change eth0 => eth1 in /etc/udev/rules.d/70-persistent-net.rules 2. mv /etc/sysconfig/network-scripts/ifcfg-eth{0,1} 3. Change eth0 => eth1 in same 4. Reboot (probably cannot just restart network)
I followed your suggestion, but unfortunately, after reboot, I can't ssh into the devenv.
I managed to get such an instance by executing steps #2 and #3. And the running this one command in root shell: > ( ifconfig eth0 down; ip link set eth0 name eth1; service network restart; ) &
The proposed fix was shipped in rubygem-openshift-origin-msg-broker-mcollective-1.32.0.1-1.el6op and openshift-origin-msg-node-mcollective-1.29.0.1-1.el6op in RHBA-2015:0220 "Red Hat OpenShift Enterprise 2.2.4 bug fix and enhancement update". If the fix can be verified, I would like to mark this Bugzilla report CLOSED CURRENTRELEASE.
(In reply to Miciah Dashiel Butler Masters from comment #8) > The proposed fix was shipped in > rubygem-openshift-origin-msg-broker-mcollective-1.32.0.1-1.el6op and > openshift-origin-msg-node-mcollective-1.29.0.1-1.el6op in RHBA-2015:0220 > "Red Hat OpenShift Enterprise 2.2.4 bug fix and enhancement update". These packages were tested as part of the equivalent Enterprise bug: https://bugzilla.redhat.com/show_bug.cgi?id=1182982#c9 > If the > fix can be verified, I would like to mark this Bugzilla report CLOSED > CURRENTRELEASE. closing then.