[Bug 1515780] Re: bcache does not work with suspend

2016-05-09 Thread Scott Moser
## This uses qemu and a maas image to easily test bcache of a root disk
## on a vm. Originally put together for bug 1515780
## It does:
##  * downloads a maas image, kernel and initramfs
##  * and makes a disk with 1M in front for the bcache header (root.img)
##  * creates a disk for cache image (cache0.img)
##  * puts a bcache header on the root.img pointing to cache disk by cset uuid
##  * boots system with uuid of root filesystem
##
## once booted you can login with 'ubuntu:passw0rd' (from the user-data above)
## suspend with:
##   sudo systemctl suspend
## unsuspend with:
##'system_wakeup'
## to issue system_wakeup you need to get to qemu monitor.
## in nographic mode you you toggle between console and qemu monitor with
## the provided 'escape char' (-echr) and 'c'

$ wget 
http://images.maas.io/ephemeral-v2/daily/xenial/amd64/20160509/root-image.gz
$ wget 
http://images.maas.io/ephemeral-v2/daily/xenial/amd64/20160509/xenial/generic/boot-initrd
$ wget 
http://images.maas.io/ephemeral-v2/daily/xenial/amd64/20160509/xenial/generic/boot-kernel

$ sudo apt-get install bcache-tools

## set up the cache disk
$ truncate --size 500M cache0.img
$ make-bcache --cache --writeback cache0.img
UUID:   48320c10-9065-40e1-93cc-d020861e2070
Set UUID:   1d997f00-4d73-40d6-9a09-c9192bf6aed2
version:0
nbuckets:   1000
block_size: 8
bucket_size:1024
nr_in_set:  1
nr_this_dev:0
first_bucket:   1
$ cset_uuid=$(bcache-super-show cache0.img | awk '$1 == "cset.uuid" { print $2 
}')
$ echo $cset_uuid
1d997f00-4d73-40d6-9a09-c9192bf6aed2


## setup primary disk
$ truncate --size=1M root.img
$ zcat root-image.gz >> root.img

# 2048 is 1M / 512B sectors
$ make-bcache --bdev --data-offset=2048 "--cset-uuid=${cset_uuid}" root.img

# 1M here is same as our truncate. get the UUID of the filesystem.
$ uuid=$(blkid -p -o export -O 1M root.img | awk -F= '$1 == "UUID" { print $2 
}')

## set up a seed disk
$ cat > user-data <https://bugs.launchpad.net/bugs/1515780

Title:
  bcache does not work with suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1515780/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1515780] Re: bcache does not work with suspend

2016-05-09 Thread Scott Moser
** Attachment added: "suggested /lib/systemd/system-sleep/bcache.sh"
   
https://bugs.launchpad.net/debian/+source/bcache-tools/+bug/1515780/+attachment/4659445/+files/bcache.sh

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bcache-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1515780

Title:
  bcache does not work with suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1515780/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1578351] Re: mitaka ksclient fails to connect to v6 keystone

2016-05-09 Thread James Page
** Also affects: cloud-archive/mitaka
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-urllib3 in Ubuntu.
https://bugs.launchpad.net/bugs/1578351

Title:
  mitaka ksclient fails to connect to v6 keystone

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1515780] Re: bcache does not work with suspend

2016-05-09 Thread Scott Moser
** Bug watch added: Debian Bug tracker #823860
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823860

** Also affects: bcache-tools (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823860
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bcache-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1515780

Title:
  bcache does not work with suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1515780/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1577844] Re: Drop unnecessary blocking of all net udev rules

2016-05-09 Thread Scott Moser
** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1577844

Title:
  Drop unnecessary blocking of all net udev rules

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1569502] Re: [SRU] liberty point releases

2016-05-09 Thread James Page
** Changed in: cloud-archive
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1569502

Title:
  [SRU] liberty point releases

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1539506] Re: AttributeError: 'virDomain' object has no attribute 'fsFreeze

2016-05-09 Thread James Page
Marking Nova (Ubuntu) bug task as invalid as this problem is specific to
the UCA.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1539506

Title:
  AttributeError: 'virDomain' object has no attribute 'fsFreeze

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1539506] Re: AttributeError: 'virDomain' object has no attribute 'fsFreeze

2016-05-09 Thread James Page
This is a bit of a gap in the UCA pockets for kilo and liberty; mitaka
ships a matched python-libvirt with the core libvirt package (1.3.1).

I'll look into fixing this gap, but we'll need todo a full regression so
might take a while to turn the wheel on this one...

** Also affects: cloud-archive
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/mitaka
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/kilo
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/liberty
   Importance: Undecided
   Status: New

** Changed in: cloud-archive/mitaka
   Status: New => Fix Released

** Changed in: cloud-archive/liberty
   Status: New => Triaged

** Changed in: cloud-archive/kilo
   Status: New => Triaged

** Changed in: cloud-archive/kilo
   Importance: Undecided => Medium

** Changed in: cloud-archive/liberty
   Importance: Undecided => Medium

** Changed in: cloud-archive/mitaka
   Importance: Undecided => Medium

** Changed in: nova (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1539506

Title:
  AttributeError: 'virDomain' object has no attribute 'fsFreeze

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs