guest-image-tools: There are no ccwgroup devices on Ubuntu16

Bug #1666524 reported by Andreas Scheuring
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-dpm
Fix Released
Undecided
Andreas Scheuring

Bug Description

Ubuntu 16: It seems like that sometimes the autoconfigure_neworking.service starts too early. This results in the following errors in the log (and the devices not being configured):

# journalctl | grep autoconfigure
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: autoconfigure_networking.sh: Start
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: autoconfigure_networking.sh: Configuring dev_bus_id 0.0.0004.
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: autoconfigure_networking.sh: Port 0 used for dev_bus_id 0.0.0004.
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: znetconf: Error: There are no ccwgroup devices
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: autoconfigure_networking.sh: Configuring dev_bus_id 0.0.0007.
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: autoconfigure_networking.sh: Port 1 used for dev_bus_id 0.0.0007.
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: znetconf: Error: There are no ccwgroup devices
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com autoconfigure_networking.sh[828]: autoconfigure_networking.sh: Finished with rc '1'
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com systemd[1]: autoconfigure_networking.service: Main process exited, code=exited, status=1/FAILURE
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com systemd[1]: autoconfigure_networking.service: Unit entered failed state.
Feb 21 08:14:19 andreas-cloudinit.boeblingen.de.ibm.com systemd[1]: autoconfigure_networking.service: Failed with result 'exit-code'.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-dpm (master)

Fix proposed to branch: master
Review: https://review.openstack.org/437840

Changed in nova-dpm:
assignee: nobody → Andreas Scheuring (andreas-scheuring)
status: New → In Progress
tags: added: ocata-backport-potential
Revision history for this message
Andreas Scheuring (andreas-scheuring) wrote :

After that the following error might show up:

autoconfigure_networking.sh[1136]: Scanning for network devices...
autoconfigure_networking.sh[1136]: /lib/s390-tools/lsznet.raw: line 187: cannot create temp file for here-document: Permission denied
autoconfigure_networking.sh[1136]: lsznet.raw: ERROR: sysfs reported 0 CHPIDs instead of expected 8
autoconfigure_networking.sh[1136]: /sbin/znetconf: line 1302: cannot create temp file for here-document: Read-only file system
autoconfigure_networking.sh[1136]: znetconf: Error: No configuration found for device ID 0.0.0004

-> the service starts way too early

Revision history for this message
Andreas Scheuring (andreas-scheuring) wrote :

Created a separate bug for the other issue described in #2: https://bugs.launchpad.net/nova-dpm/+bug/1670349

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-dpm (master)

Reviewed: https://review.openstack.org/437840
Committed: https://git.openstack.org/cgit/openstack/nova-dpm/commit/?id=3c02543ea8b629bf12504354c312abcd2f036c9f
Submitter: Jenkins
Branch: master

commit 3c02543ea8b629bf12504354c312abcd2f036c9f
Author: Andreas Scheuring <email address hidden>
Date: Fri Feb 24 09:40:32 2017 +0100

    guest-tools: Fix "There are no ccwgroup devices"

    The error occures if the directory '/sys/bus/ccwgroup/' does not
    exist (znetconf is checking for that). This directory gets created
    when the 'ccwgroup' kernel module is initialized. Therefore the
    solution is to ensure that this kernel module is loaded.

    Change-Id: Ifc8917b702f7a8913c5662fcbb9f15c1248ed55d
    Closes-Bug: #1666524

Changed in nova-dpm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.