← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1316475] Re: [SRU] CloudSigma DS for causes hangs when serial console present

 

** Also affects: diskimage-builder
   Importance: Undecided
       Status: New

** Changed in: diskimage-builder
       Status: New => In Progress

** Changed in: diskimage-builder
     Assignee: (unassigned) => Adam Gandelman (gandelman-a)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1316475

Title:
  [SRU] CloudSigma DS for causes hangs when serial console present

Status in Init scripts for use on cloud images:
  Confirmed
Status in Openstack disk image builder:
  In Progress
Status in tripleo - openstack on openstack:
  Triaged
Status in “cloud-init” package in Ubuntu:
  New

Bug description:
  SRU Justification

  Impact: The Cloud Sigma Datasource read and writes to /dev/ttyS1 if
  present; the Datasource does not have a time out. On non-CloudSigma
  Clouds or systems w/ /dev/ttyS1, Cloud-init will block pending a
  response, which may never come. Further, it is dangerous for a default
  datasource to write blindly on a serial console as other control plane
  software and Clouds use /dev/ttyS1 for communication.

  Fix: The patch disables Cloud Sigma by default.

  Verification:
  1. Purge Cloud-init
  2. Install from -proposed
  3. Look in /etc/cloud/cloud.d/90_dpkg.cfg, and confirm CloudSigma is not in the list of datasources. 

  Regression: The risk is low, except on CloudSigma targets which try to
  use new images generated with the new Cloud-init version.

  
  [Original Report]
  DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 3 (xid=0x7e777c23)
  DHCPREQUEST of 10.22.157.186 on eth2 to 255.255.255.255 port 67 (xid=0x7e777c23)
  DHCPOFFER of 10.22.157.186 from 10.22.157.149
  DHCPACK of 10.22.157.186 from 10.22.157.149
  bound to 10.22.157.186 -- renewal in 39589 seconds.
   * Starting Mount network filesystems                                    [ OK ]
   * Starting configure network device                                     [ OK ]
   * Stopping Mount network filesystems                                    [ OK ]
   * Stopping DHCP any connected, but unconfigured network interfaces      [ OK ]
   * Starting configure network device                                     [ OK ]
   * Stopping DHCP any connected, but unconfigured network interfaces      [ OK ]
   * Starting configure network device                                     [ OK ]

  And it stops there.

  I see this on about 10% of deploys.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1316475/+subscriptions