https://bugzilla.redhat.com/show_bug.cgi?id=1312886
Bug ID: 1312886 Summary: Flannel service fails on reboot Product: Fedora Version: 23 Component: flannel Severity: medium Assignee: jchaloup@redhat.com Reporter: surajd@redhat.com QA Contact: extras-qa@fedoraproject.org CC: eparis@redhat.com, golang@lists.fedoraproject.org, jchaloup@redhat.com, linville@redhat.com, nhorman@redhat.com, vbatts@redhat.com
Description of problem: flanneld service fails to start when restarting the Fedora 23 cloud Vagrant Box.
Version-Release number of selected component (if applicable):
flanneld - 0.5.4 fedora/23-cloud-base vagrant box
How reproducible:
Easily reproducible
Steps to Reproduce:
(pre-requisite = start etcd service on some other machine, here: 192.168.121.45)
1. Get a fedora/23-cloud-base vagrant box and start it. 2. Install flannel using dnf 3. Do configuration of flannel in /etc/sysconfig/flanneld as following
[root@fedminion2 ~]# cat /etc/sysconfig/flanneld FLANNEL_ETCD="http://192.168.121.45:2379" FLANNEL_ETCD_KEY="/fedmaster/network"
4. enable the flannel service to autostart using systemctl 5. exit out of the box, halt it and do vagrant up again. 6. Once inside the machine check the status of flanneld service.
Actual results:
The service fails as: **Failed to get default interface: Unable to find default route** This is also reported at http://ask.projectatomic.io/en/question/3553/flanneld-fails-when-vm-starts/
Expected results:
The service should start
Additional info:
I fixed this problem by changing the value in "/usr/lib/systemd/system/flanneld.service" of "After=network.target" to "After=network-online.target"
https://bugzilla.redhat.com/show_bug.cgi?id=1312886
Jan Chaloupka jchaloup@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED Fixed In Version| |flannel-0.5.5-3.fc23.src.rp | |m
--- Comment #1 from Jan Chaloupka jchaloup@redhat.com --- Hi Suraj,
thanks for reporting. I am rebasing to 0.5.5 as the fix is already there.
Regards Jan
https://bugzilla.redhat.com/show_bug.cgi?id=1312886
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- flannel-0.5.5-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1a04be5e61
https://bugzilla.redhat.com/show_bug.cgi?id=1312886
--- Comment #3 from Suraj Deshmukh surajd@redhat.com --- Thanks Jan.
https://bugzilla.redhat.com/show_bug.cgi?id=1312886
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- flannel-0.5.5-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1a04be5e61
https://bugzilla.redhat.com/show_bug.cgi?id=1312886
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- flannel-0.5.5-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1312886
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version|flannel-0.5.5-3.fc23.src.rp |flannel-0.5.5-3.fc23.src.rp |m |m flannel-0.5.5-3.fc23 Resolution|--- |ERRATA Last Closed| |2016-04-06 13:21:19
golang@lists.fedoraproject.org