Bug 1380165

Summary: [NMCI] just last address specified in novice mode is written into profile
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: atragler, bgalvani, fgiudici, lrintel, rkhan, thaller
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.8.0-0.2.git20170215.1d40c5f4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 09:19: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] cli: properly set multiple addresses in questionnaire mode none

Description Vladimir Benes 2016-09-28 20:13:14 UTC
Description of problem:
[root@wlan-r2s10 ~]# nmcli -a  connection add 
Connection type: wifi
Interface name [*]: wlan0
SSID: qe-open
There are 4 optional settings for Wi-Fi connection.
Do you want to provide them? (yes/no) [yes] no
There are 2 optional settings for IPv4 protocol.
Do you want to provide them? (yes/no) [yes] yes
You can specify this option more than once. Press <Enter> when you're done.
IPv4 address (IP[/plen]) [none]: 1.2.3.4/24
IPv4 address (IP[/plen]) [none]: 2.1.3.4/24
IPv4 address (IP[/plen]) [none]: 
IPv4 gateway [none]: 1.1.1.1
There are 2 optional settings for IPv6 protocol.
Do you want to provide them? (yes/no) [yes] no
Connection 'wifi-wlan0' (c6f1b4ba-da58-4441-ba6f-73670e1eb3ac) successfully added.

[root@wlan-r2s10 ~]# nmcli  connection  show wifi-wlan0 
connection.id:                          wifi-wlan0
connection.uuid:                        c6f1b4ba-da58-4441-ba6f-73670e1eb3ac
connection.stable-id:                   --
connection.interface-name:              wlan0
connection.type:                        802-11-wireless
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.timestamp:                   1475093236
connection.read-only:                   no
connection.permissions:                 
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
connection.lldp:                        -1 (default)
802-11-wireless.ssid:                   qe-open
802-11-wireless.mode:                   infrastructure
802-11-wireless.band:                   --
802-11-wireless.channel:                0
802-11-wireless.bssid:                  --
802-11-wireless.rate:                   0
802-11-wireless.tx-power:               0
802-11-wireless.mac-address:            --
802-11-wireless.cloned-mac-address:     --
802-11-wireless.generate-mac-address-mask:--
802-11-wireless.mac-address-blacklist:  
802-11-wireless.mac-address-randomization:default
802-11-wireless.mtu:                    auto
802-11-wireless.seen-bssids:            74:26:AC:2C:65:E0
802-11-wireless.hidden:                 no
802-11-wireless.powersave:              default (0)
ipv4.method:                            auto
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.dns-options:                       (default)
ipv4.dns-priority:                      0
ipv4.addresses:                         2.1.3.4/24
ipv4.gateway:                           1.1.1.1


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

revealed by: nmcli - wifi - add connection in novice (nmcli -a) mode specifying IP setup

Comment 2 Beniamino Galvani 2016-09-28 20:43:55 UTC
Created attachment 1205677 [details]
[PATCH] cli: properly set multiple addresses in questionnaire mode

Comment 5 errata-xmlrpc 2017-08-01 09:19:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2299