Bug 1331054 - traceback on invalid netmask in TUI: Error: g-io-error-quark: GDBus.Error:org.freedesktop.NetworkManager.Settings.Connection.MissingProperty: ipv4.addresses: this property cannot be empty for 'method=manual' (36)
Summary: traceback on invalid netmask in TUI: Error: g-io-error-quark: GDBus.Error:org...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.3
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard: abrt_hash:7bbd7ec634b36db61ee69516f17...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 14:52 UTC by Jiri Konecny
Modified: 2016-11-03 23:24 UTC (History)
3 users (show)

Fixed In Version: anaconda-21.48.22.70-1
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2016-11-03 23:24:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
File: anaconda-tb (249.06 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: anaconda.log (6.66 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: environ (492 bytes, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: lsblk_output (1.66 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: nmcli_dev_list (2.53 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: os_info (507 bytes, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: program.log (36.71 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: storage.log (61.55 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: syslog (72.59 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: ifcfg.log (2.78 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details
File: packaging.log (42.39 KB, text/plain)
2016-04-27 14:52 UTC, Jiri Konecny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2158 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2016-11-03 13:13:55 UTC

Description Jiri Konecny 2016-04-27 14:52:00 UTC
Description of problem:
In TUI go to Network spoke and set-up address, netmask, gateway for IPv4. I used invalid values. When I went back by 'c'ontinue I got this exception.

My use-case:
address 10.1.1.1
netmask 1.2.3.4
gateway 2.3.4.5

Version-Release number of selected component:
anaconda-21.48.22.63-1

The following was filed automatically by anaconda:
anaconda 21.48.22.63-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 1002, in _update_settings
    None)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 962, in nm_update_settings_of_device
    return _update_settings(settings_path, new_values)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 452, in update_settings_with_ksdata
    nm.nm_update_settings_of_device(devname, new_values)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/network.py", line 229, in input
    network.update_settings_with_ksdata(devname, ndata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 441, in input
    key = self._screens[-1][0].input(args, key)
Error: g-io-error-quark: GDBus.Error:org.freedesktop.NetworkManager.Settings.Connection.MissingProperty: ipv4.addresses: this property cannot be empty for 'method=manual' (36)

Additional info:
addons:         org_fedora_oscap, com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/test/rhel7/initrd.img resolution=1024x768 nokill inst.repo=http://cobra02/trees/rhel7 inst.text BOOT_IMAGE=/test/rhel7/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-373.el7.x86_64
product:        Red Hat Enterprise Linux 7
release:        Red Hat Enterprise Linux Client release 7.3 Beta (Maipo)
release_type:   pre-release
type:           anaconda
uid:            0
version:        7.3

Comment 1 Jiri Konecny 2016-04-27 14:52:04 UTC
Created attachment 1151426 [details]
File: anaconda-tb

Comment 2 Jiri Konecny 2016-04-27 14:52:06 UTC
Created attachment 1151427 [details]
File: anaconda.log

Comment 3 Jiri Konecny 2016-04-27 14:52:07 UTC
Created attachment 1151428 [details]
File: environ

Comment 4 Jiri Konecny 2016-04-27 14:52:08 UTC
Created attachment 1151429 [details]
File: lsblk_output

Comment 5 Jiri Konecny 2016-04-27 14:52:10 UTC
Created attachment 1151430 [details]
File: nmcli_dev_list

Comment 6 Jiri Konecny 2016-04-27 14:52:11 UTC
Created attachment 1151431 [details]
File: os_info

Comment 7 Jiri Konecny 2016-04-27 14:52:13 UTC
Created attachment 1151432 [details]
File: program.log

Comment 8 Jiri Konecny 2016-04-27 14:52:15 UTC
Created attachment 1151433 [details]
File: storage.log

Comment 9 Jiri Konecny 2016-04-27 14:52:17 UTC
Created attachment 1151434 [details]
File: syslog

Comment 10 Jiri Konecny 2016-04-27 14:52:18 UTC
Created attachment 1151435 [details]
File: ifcfg.log

Comment 11 Jiri Konecny 2016-04-27 14:52:20 UTC
Created attachment 1151436 [details]
File: packaging.log

Comment 13 Radek Vykydal 2016-04-28 07:54:59 UTC
Good catch, we need to add validation of netmask value in TUI so we don't pass incorrect value to NM in settings.

Comment 14 Jiri Konecny 2016-04-28 15:11:00 UTC
It's happening on rawhide too. So I think it will be on F24 also.

Comment 18 errata-xmlrpc 2016-11-03 23:24:29 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://rhn.redhat.com/errata/RHEA-2016-2158.html


Note You need to log in before you can comment on or make changes to this bug.