Bug 1056546
Summary: | lxc-fedora template doesn't fill lxc.network.hwaddr | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Enrique <cquike> | ||||
Component: | lxc | Assignee: | Thomas Moschny <thomas.moschny> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 20 | CC: | karlthered, mhw, sagarun, thomas.moschny | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | lxc-1.0.5-3.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-09-02 03:54:37 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This is fixed in upsteam code and templates. lxc-1.0.5-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/lxc-1.0.5-2.el6 lxc-1.0.5-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lxc-1.0.5-2.fc19 lxc-1.0.5-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lxc-1.0.5-2.fc20 Package lxc-1.0.5-2.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing lxc-1.0.5-2.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2167/lxc-1.0.5-2.el6 then log in and leave karma (feedback). lxc-1.0.5-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. lxc-1.0.5-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. lxc-1.0.5-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 853855 [details] Patch to add network device hardware address Description of problem: The lxc-fedora template does not generate a network hardware address. This has the inconvenient that each time the container is rebooted the DHCP server assigns a different IP address. I include a patch that fixes the issue (copying some code from the lxc-ubuntu template) Version-Release number of selected component (if applicable): lxc-templates-0.9.0-2.fc20.x86_64 How reproducible: Always Steps to Reproduce: 1. Just create a new container "lxc-create -t fedora -n test -- -R 20" 2. Check that /var/lib/lxc/test/config does not contain a lxc.network.hwaddr entry.