Bug 1065976

Summary: cannot create ipv4 auto and ipv6 auto connection via scripts
Product: [Fedora] Fedora EPEL Reporter: Vladimir Benes <vbenes>
Component: openlmi-scriptsAssignee: Radek Novacek <rnovacek>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: high Docs Contact:
Priority: high    
Version: epel7CC: miminar, ovasik, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openlmi-scripts-0.4.0-4.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-03 00:16:13 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:

Description Vladimir Benes 2014-02-17 12:42:21 UTC
Description of problem:

[test@localhost features]$ lmi -n net create ethie eth1 --ethernet --ipv4=auto --ipv6=auto
username: root
password:
ERROR: failed to execute wrapped function: (4, u"CIM_ERR_INVALID_PARAMETER: Can't create SettingData with both IPv4 and IPv6 disabled")
ERROR: invocation failed for host "https://localhost": (4, u"CIM_ERR_INVALID_PARAMETER: Can't create SettingData with both IPv4 and IPv6 disabled")
There was 1 error:
host https://localhost
    CIM_ERR_INVALID_PARAMETER: Can't create SettingData with both IPv4 and IPv6 disabled:

^^^ I suppose this should work but it is not.


this works:
[test@localhost features]$ lmi -n net create ethie eth1 --ethernet --ipv4 auto --ipv6 static
username: root
password:
[test@localhost features]$ lmi -n net create ethie eth1 --ethernet --ipv4 static --ipv6 static
username: root
password:
[test@localhost features]$ 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Radek Novacek 2014-03-04 09:36:37 UTC
I can't reproduce it anymore with current version. Can you please check if the bug is still present? Thank you.

Comment 2 Fedora Update System 2014-12-15 10:03:07 UTC
openlmi-scripts-0.4.0-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/openlmi-scripts-0.4.0-3.el7

Comment 3 Fedora Update System 2014-12-15 20:05:03 UTC
Package openlmi-scripts-0.4.0-3.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing openlmi-scripts-0.4.0-3.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-4700/openlmi-scripts-0.4.0-3.el7
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-12-17 05:35:07 UTC
Package openlmi-scripts-0.4.0-4.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing openlmi-scripts-0.4.0-4.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-4700/openlmi-scripts-0.4.0-4.el7
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-01-03 00:16:13 UTC
openlmi-scripts-0.4.0-4.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.