Bug 1056546

Summary: lxc-fedora template doesn't fill lxc.network.hwaddr
Product: [Fedora] Fedora Reporter: Enrique <cquike>
Component: lxcAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: 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:
Description Flags
Patch to add network device hardware address none

Description Enrique 2014-01-22 12:44:20 UTC
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.

Comment 1 Michael H. Warfield 2014-06-04 18:57:29 UTC
This is fixed in upsteam code and templates.

Comment 2 Fedora Update System 2014-08-08 10:26:23 UTC
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

Comment 3 Fedora Update System 2014-08-08 10:26:40 UTC
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

Comment 4 Fedora Update System 2014-08-08 10:26:56 UTC
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

Comment 5 Fedora Update System 2014-08-09 00:07:47 UTC
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).

Comment 6 Fedora Update System 2014-09-02 03:54:37 UTC
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.

Comment 7 Fedora Update System 2014-09-02 06:40:17 UTC
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.

Comment 8 Fedora Update System 2014-09-02 06:46:35 UTC
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.