← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1575727] Re: Cloud-init incorrect openstack datasource on dpkg-reconfigure

 

** Also affects: cloud-init (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: cloud-init (Ubuntu Trusty)
       Status: New => Confirmed

** Changed in: cloud-init (Ubuntu Trusty)
   Importance: Undecided => Low

** Description changed:

+ ==== Begin SRU Template ====
+ [Impact] 
+ When re-configuring cloud-init package by running dpkg-reconfigure, the OpenStack data source is incorrectly written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg.
+ 
+ The result is that dpkg-reconfigure and selecting OpenStack results in
+ non-functional openstack datasource.
+ 
+ [Test Case]
+ # launch a container
+ $ lxc launch ubuntu-daily:xenial x1
+ $ lxc exec x1 dpkg-reconfigure cloud-init
+ ## Note that 'OpenStack' is not checked.
+ ## Select OpenStack, hit enter
+ $ lxc exec x1 cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg 
+ # to update this file, run dpkg-reconfigure cloud-init
+ datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, Openstack, CloudSigma, SmartOS, Ec2, CloudStack, None ]
+ 
+ Note, the reconfigured file was written, but contains 'Openstack' (lower
+ case s), when OpenStack is what is needed.
+ 
+ When fixed, this will have 'OpenStack'.
+ 
+ [Regression Potential] 
+ Regression potential would be limited to people running dpkg-reconfigure for cloud-init.
+ ==== End SRU Template ====
+ 
+ 
  On Ubuntu 14.04 LTS when re-configuring the cloud-init package by
  running dpkg-reconfigure, the OpenStack data source is incorrectly
  written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg
  
  From a default install:
  
  datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud,
  OVF, MAAS, GCE, OpenStack, CloudSigma, Ec2, CloudStack, SmartOS, None ]
  
  After running dpkg-reconfigure, selecting all options.
  
  datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud,
  OVF, MAAS, GCE, Openstack, CloudSigma, Ec2, CloudStack, SmartOS, None ]
  
- 
  Note that it reads "Openstack" instead of "OpenStack".

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1575727

Title:
  Cloud-init incorrect openstack datasource on dpkg-reconfigure

Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Trusty:
  Confirmed
Status in cloud-init source package in Xenial:
  Confirmed

Bug description:
  ==== Begin SRU Template ====
  [Impact] 
  When re-configuring cloud-init package by running dpkg-reconfigure, the OpenStack data source is incorrectly written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg.

  The result is that dpkg-reconfigure and selecting OpenStack results in
  non-functional openstack datasource.

  [Test Case]
  # launch a container
  $ lxc launch ubuntu-daily:xenial x1
  $ lxc exec x1 dpkg-reconfigure cloud-init
  ## Note that 'OpenStack' is not checked.
  ## Select OpenStack, hit enter
  $ lxc exec x1 cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg 
  # to update this file, run dpkg-reconfigure cloud-init
  datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, Openstack, CloudSigma, SmartOS, Ec2, CloudStack, None ]

  Note, the reconfigured file was written, but contains 'Openstack'
  (lower case s), when OpenStack is what is needed.

  When fixed, this will have 'OpenStack'.

  [Regression Potential] 
  Regression potential would be limited to people running dpkg-reconfigure for cloud-init.
  ==== End SRU Template ====


  On Ubuntu 14.04 LTS when re-configuring the cloud-init package by
  running dpkg-reconfigure, the OpenStack data source is incorrectly
  written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg

  From a default install:

  datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud,
  OVF, MAAS, GCE, OpenStack, CloudSigma, Ec2, CloudStack, SmartOS, None
  ]

  After running dpkg-reconfigure, selecting all options.

  datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud,
  OVF, MAAS, GCE, Openstack, CloudSigma, Ec2, CloudStack, SmartOS, None
  ]

  Note that it reads "Openstack" instead of "OpenStack".

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