← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818571] [NEW] cloud-init clean removes seed directory even when --seed is not specified

 

Public bug reported:

```
./packages/bddeb
lxc launch ubuntu-daily:d reproducer
lxc file push cloud-init_all.deb reproducer/tmp/
lxc exec reproducer -- find /var/lib/cloud/seed  # Produces output
lxc exec reproducer -- cloud-init clean --logs
lxc exec reproducer -- find /var/lib/cloud/seed  # Still produces output
lxc exec reproducer -- dpkg -i /tmp/cloud-init_all.deb
lxc exec reproducer -- cloud-init clean --logs
lxc exec reproducer -- find /var/lib/cloud/seed  # RUH ROH
```

** Affects: cloud-init
     Importance: High
     Assignee: Dan Watkins (daniel-thewatkins)
         Status: In Progress

** Changed in: cloud-init
     Assignee: (unassigned) => Dan Watkins (daniel-thewatkins)

** Changed in: cloud-init
       Status: New => In Progress

** Changed in: cloud-init
   Importance: Undecided => High

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

Title:
  cloud-init clean removes seed directory even when --seed is not
  specified

Status in cloud-init:
  In Progress

Bug description:
  ```
  ./packages/bddeb
  lxc launch ubuntu-daily:d reproducer
  lxc file push cloud-init_all.deb reproducer/tmp/
  lxc exec reproducer -- find /var/lib/cloud/seed  # Produces output
  lxc exec reproducer -- cloud-init clean --logs
  lxc exec reproducer -- find /var/lib/cloud/seed  # Still produces output
  lxc exec reproducer -- dpkg -i /tmp/cloud-init_all.deb
  lxc exec reproducer -- cloud-init clean --logs
  lxc exec reproducer -- find /var/lib/cloud/seed  # RUH ROH
  ```

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


Follow ups