← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1665773] Re: wrong configuration example for cc_set_passwords module

 

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

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

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

** Changed in: cloud-init (Ubuntu)
       Status: New => Fix Released

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

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

** Changed in: cloud-init (Ubuntu Vivid)
   Importance: Undecided => Medium

** Changed in: cloud-init (Ubuntu Xenial)
   Importance: Undecided => Medium

** Description changed:

+ === Begin SRU Template ===
+ [Impact] 
+ This is a doc only change.  The related doc is not even present
+ in ubuntu binary packages.
+ 
+ [Test Case]
+ apt-get source cloud-init
+ vi cloud-init*/cloudinit/config/cc_set_passwords.py
+ 
+ [Regression Potential] 
+ None.
+    
+ [Other Info]
+ Upstream commit:
+  https://git.launchpad.net/cloud-init/commit/?id=5a0bee770f
+ 
+ === End SRU Template ===
+ 
+ 
  example config in documentation is:
  ```
-   chpasswd:
-     list:
-       - user1:password1
-       - user2:Random
-       - user3:password3
-       - user4:R
+   chpasswd:
+     list:
+       - user1:password1
+       - user2:Random
+       - user3:password3
+       - user4:R
  ```
  but cc_set_passwords fails with config above (LP#1665694)
  
  Actually testcase for the module uses multiline string https://git.launchpad.net/cloud-init/tree/tests/cloud_tests/configs/modules/set_password_list.yaml#n21
  and therefore documentation should contain:
  ```
-   chpasswd:
-     list: |
-       tom:mypassword123!
-       dick:R
-       harry:Random
+   chpasswd:
+     list: |
+       tom:mypassword123!
+       dick:R
+       harry:Random

-- 
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/1665773

Title:
  wrong configuration example for cc_set_passwords module

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

Bug description:
  === Begin SRU Template ===
  [Impact] 
  This is a doc only change.  The related doc is not even present
  in ubuntu binary packages.

  [Test Case]
  apt-get source cloud-init
  vi cloud-init*/cloudinit/config/cc_set_passwords.py

  [Regression Potential] 
  None.
     
  [Other Info]
  Upstream commit:
   https://git.launchpad.net/cloud-init/commit/?id=5a0bee770f

  === End SRU Template ===

  
  example config in documentation is:
  ```
    chpasswd:
      list:
        - user1:password1
        - user2:Random
        - user3:password3
        - user4:R
  ```
  but cc_set_passwords fails with config above (LP#1665694)

  Actually testcase for the module uses multiline string https://git.launchpad.net/cloud-init/tree/tests/cloud_tests/configs/modules/set_password_list.yaml#n21
  and therefore documentation should contain:
  ```
    chpasswd:
      list: |
        tom:mypassword123!
        dick:R
        harry:Random

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


References