[MediaWiki-commits] [Gerrit] operations/puppet[production]: bootstrap_vz firstboot: specify eth0 when refreshing dhcp
Andrew Bogott has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/370668 ) Change subject: bootstrap_vz firstboot: specify eth0 when refreshing dhcp .. bootstrap_vz firstboot: specify eth0 when refreshing dhcp I'm seeing an instance failure with messages like this: localhost rc.local[406]: + /sbin/dhclient -1^M localhost dhclient: No broadcast interfaces found - exiting.^M There seems to be a bug in some releases where dhclient doesn't work if the interface isn't specified. On OpenStack we can be pretty sure that eth0 is the right call here. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852173 Bug: T16 Change-Id: I05faceb8c6f88c0b79650eb440bc8571eda1ec19 --- M modules/labs_bootstrapvz/files/firstboot.sh 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Andrew Bogott: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/labs_bootstrapvz/files/firstboot.sh b/modules/labs_bootstrapvz/files/firstboot.sh index 8161478..b3c85f7 100644 --- a/modules/labs_bootstrapvz/files/firstboot.sh +++ b/modules/labs_bootstrapvz/files/firstboot.sh @@ -75,7 +75,7 @@ echo `date` echo "Waiting for hostname to return the actual hostname." sleep 10 -/sbin/dhclient -1 +/sbin/dhclient -1 eth0 hostname=`hostname` done -- To view, visit https://gerrit.wikimedia.org/r/370668 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I05faceb8c6f88c0b79650eb440bc8571eda1ec19 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott Gerrit-Reviewer: Andrew Bogott Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] operations/puppet[production]: bootstrap_vz firstboot: specify eth0 when refreshing dhcp
Andrew Bogott has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/370668 ) Change subject: bootstrap_vz firstboot: specify eth0 when refreshing dhcp .. bootstrap_vz firstboot: specify eth0 when refreshing dhcp I'm seeing an instance failure with messages like this: localhost rc.local[406]: + /sbin/dhclient -1^M localhost dhclient: No broadcast interfaces found - exiting.^M There seems to be a bug in some releases where dhclient doesn't work if the interface isn't specified. On OpenStack we can be pretty sure that eth0 is the right call here. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852173 Bug: T16 Change-Id: I05faceb8c6f88c0b79650eb440bc8571eda1ec19 --- M modules/labs_bootstrapvz/files/firstboot.sh 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/68/370668/1 diff --git a/modules/labs_bootstrapvz/files/firstboot.sh b/modules/labs_bootstrapvz/files/firstboot.sh index 8161478..b3c85f7 100644 --- a/modules/labs_bootstrapvz/files/firstboot.sh +++ b/modules/labs_bootstrapvz/files/firstboot.sh @@ -75,7 +75,7 @@ echo `date` echo "Waiting for hostname to return the actual hostname." sleep 10 -/sbin/dhclient -1 +/sbin/dhclient -1 eth0 hostname=`hostname` done -- To view, visit https://gerrit.wikimedia.org/r/370668 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I05faceb8c6f88c0b79650eb440bc8571eda1ec19 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits