Bug 916035

Summary: Wicked bug upgrade fails
Product: [openSUSE] openSUSE Distribution Reporter: Bob Goddard <opensuse>
Component: NetworkAssignee: wicked maintainers <wicked-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P1 - Urgent CC: chcao, mt, opensuse, pwieczorkiewicz
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bob Goddard 2015-02-03 17:31:33 UTC
Installed wicked-0.6.15-8.1.x86_64 & wicked-service-0.6.15-8.1.x86_64 as part of a bug fix.

This fails with the following entry in syslog:

====
2015-02-02T21:35:44.000000+00:00 eth7 wickedd-nanny[13490]: <buffer>: line 1: End of document while processing element <address>
2015-02-02T21:35:44.000000+00:00 eth7 wickedd-nanny[13490]: Unable to parse policy document <policy name="policy__dummy0" origin="compat:/etc/sysconfig/network/ifcfg-dummy0" uuid="543acf54-416f-0e00-db12-000002000000">
  <match>
    <link-type>dummy</link-type>
    <device>dummy0</device>
  </match>
  <merge>
    <name>dummy0</name>
    <control>
      <mode>boot</mode>
      <link-detection>
        <require-link/>
      </link-detection>
    </control>
    <dummy/>
    <link/>
    <ipv4>
      <enabled>true</enabled>
      <forwarding>true</forwarding>
    </ipv4>
    <ipv4:static>
      <address>
        <local>172.16.0.1/24</local>
      </address>
    </ipv4:static>
    <ipv6>
      <enabled>true</enabled>
      <forwarding>true</forwarding>
    </ipv6>
  </merge>
</policy>
  <address>
  A
===

Everything between the "===" is logged, including the weird 'A' at the end.

The contents of /etc/sysconfig/network/ifcfg-dummy0 is:

===
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='172.16.0.1/24'
MTU=''
NAME=''
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
===

None of the /etc/sysconfig/network/ifcfg-* files appear to have been touched and I can only assume that the config files are in a broken state, although that does not mean the interfaces will not come up.

This whole wickedd thing appears to have not been either designed, developed or tested properly given the HUGE amount of problems being seen with it.
Comment 1 Pawel Wieczorkiewicz 2015-02-17 13:04:48 UTC
(In reply to Bob Goddard from comment #0)
> Installed wicked-0.6.15-8.1.x86_64 & wicked-service-0.6.15-8.1.x86_64 as
> part of a bug fix.

Hi!

Which bugfix are you referring to? Could you provide a bug number?

Wicked consists of wicked, wicked-service _AND_ libwicked packages.
Could you provide the output of the following commands:

zypper se -i --details wicked
zypper lr -u
Comment 2 Pawel Wieczorkiewicz 2015-03-09 12:30:08 UTC
Any news regarding this issue? Could you please provide information requested with comment 1?
Comment 3 Pawel Wieczorkiewicz 2015-04-27 11:02:45 UTC
It's been more than 2 months with no response, thus RESOLVED->NORESPONSE.
If it could be confirmed that the problem here is wrong update (missing update of libwicked RPM), then it is RESOLVED->INVALID.
Comment 4 Pawel Wieczorkiewicz 2015-10-21 10:44:29 UTC
Problem reproduced and identified.
Comment 5 Pawel Wieczorkiewicz 2015-10-21 10:45:55 UTC
Problem within binary file read function ni_file_read().
Comment 6 Bernhard Wiedemann 2015-10-22 11:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (916035) was mentioned in
https://build.opensuse.org/request/show/340387 Factory / wicked
https://build.opensuse.org/request/show/340388 13.2 / wicked
Comment 8 Marius Tomaschewski 2015-10-22 12:04:47 UTC
fixed and submitted.
Comment 9 Swamp Workflow Management 2015-11-04 15:11:38 UTC
openSUSE-RU-2015:1901-1: An update that has 14 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 899985,916035,925276,927309,928459,939142,940239,941611,941964,942278,947542,948423,950333,951315
CVE References: 
Sources used:
openSUSE 13.2 (src):    wicked-0.6.27-21.1
Comment 11 Swamp Workflow Management 2015-12-17 15:25:38 UTC
SUSE-RU-2015:2293-1: An update that has 12 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 899985,916035,927309,928459,939142,940239,941964,942278,948423,950333,953107,954289
CVE References: 
Sources used:
SUSE Linux Enterprise Server 12 (src):    wicked-0.6.28-18.10.1
SUSE Linux Enterprise Desktop 12 (src):    wicked-0.6.28-18.10.1