Public bug reported:
Container was migrated between hosts; both hosts are configured with lvm
storage; target host had required base image already
LVS from target host post migation (e7b9828b--bce4--470d--8142--
b2bd722f98b7 is the migrated container - based on
52ee7e20a397419ccb63bdecf67b003e7c87f112a4b410259f6e9f01f5acff45 but no
longer linked via dm-thin):
root@juju-devel3-machine-10:/var/log/lxd# lvs
LV VG Attr
LSize Pool Origin
Data% Meta% Move Log Cpy%Sync Convert
2962b9f1--2d53--4341--b3a0--0eff4fc48acd lxd_vg
Vwi-aotz-- 100.00g LXDPool
52ee7e20a397419ccb63bdecf67b003e7c87f112a4b410259f6e9f01f5acff45 2.27
52ee7e20a397419ccb63bdecf67b003e7c87f112a4b410259f6e9f01f5acff45 lxd_vg
Vwi-a-tz-- 100.00g LXDPool
2.27
855e8af7--c231--40fe--875a--c66d21df70f7 lxd_vg
Vwi-a-tz-- 100.00g LXDPool
52ee7e20a397419ccb63bdecf67b003e7c87f112a4b410259f6e9f01f5acff45 2.27
LXDPool lxd_vg
twi-aotz-- 38.00g
10.87 0.26
e7b9828b--bce4--470d--8142--b2bd722f98b7 lxd_vg
Vwi-a-tz-- 100.00g LXDPool
1.70
f15d1a08--a563--4760--af2b--09eae9ae2785 lxd_vg
Vwi-aotz-- 100.00g LXDPool
52ee7e20a397419ccb63bdecf67b003e7c87f112a4b410259f6e9f01f5acff45 2.27
pertinent log data:
t=2015-09-24T13:04:36+0000 lvl=info msg=handling url=/1.0/containers ip=@
method=GET
t=2015-09-24T13:04:36+0000 lvl=info msg=handling method=GET
url=/1.0/containers/2962b9f1-2d53-4341-b3a0-0eff4fc48acd/state ip=@
t=2015-09-24T13:04:36+0000 lvl=info msg=handling ip=@ method=GET
url=/1.0/containers/f15d1a08-a563-4760-af2b-09eae9ae2785/state
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET url=/1.0 ip=@
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET url=/1.0/profiles
ip=@
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET
url=/1.0/containers/2962b9f1-2d53-4341-b3a0-0eff4fc48acd/state ip=@
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET
url=/1.0/containers/2962b9f1-2d53-4341-b3a0-0eff4fc48acd/state ip=@
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET
url=/1.0/containers/2962b9f1-2d53-4341-b3a0-0eff4fc48acd/state ip=@
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET
url=/1.0/containers/f15d1a08-a563-4760-af2b-09eae9ae2785/state ip=@
t=2015-09-24T13:07:16+0000 lvl=info msg=handling ip=@ method=GET
url=/1.0/containers/f15d1a08-a563-4760-af2b-09eae9ae2785/state
t=2015-09-24T13:07:16+0000 lvl=info msg=handling method=GET
url=/1.0/containers/f15d1a08-a563-4760-af2b-09eae9ae2785/state ip=@
t=2015-09-24T13:07:44+0000 lvl=info msg=handling method=GET url=/1.0/containers
ip=@
t=2015-09-24T13:07:44+0000 lvl=info msg=handling method=GET
url=/1.0/containers/2962b9f1-2d53-4341-b3a0-0eff4fc48acd/state ip=@
t=2015-09-24T13:07:44+0000 lvl=info msg=handling
url=/1.0/containers/f15d1a08-a563-4760-af2b-09eae9ae2785/state ip=@ method=GET
t=2015-09-24T13:07:53+0000 lvl=info msg=handling method=POST
url=/1.0/containers ip=10.5.31.81:44124
t=2015-09-24T13:07:53+0000 lvl=info msg="Container create"
container=91e5d7d1-ffe3-4975-a65a-6a4f84203e4a isSnapshot=false
t=2015-09-24T13:07:53+0000 lvl=info msg=handling method=GET
url="/1.0/operations/f0bdcecd-9005-49dd-924e-37bd2b685d9d/wait?status_code=200&timeout=-1"
ip=10.5.31.81:44126
t=2015-09-24T13:07:55+0000 lvl=info msg=handling method=GET
url="/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a?log=false" ip=@
t=2015-09-24T13:07:55+0000 lvl=warn msg="Couldn't detect storage."
container=91e5d7d1-ffe3-4975-a65a-6a4f84203e4a
t=2015-09-24T13:07:55+0000 lvl=info msg=handling method=GET
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a/state ip=@
t=2015-09-24T13:07:55+0000 lvl=warn msg="Couldn't detect storage."
container=91e5d7d1-ffe3-4975-a65a-6a4f84203e4a
t=2015-09-24T13:07:55+0000 lvl=info msg=handling method=GET
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a/state ip=@
t=2015-09-24T13:07:55+0000 lvl=warn msg="Couldn't detect storage."
container=91e5d7d1-ffe3-4975-a65a-6a4f84203e4a
t=2015-09-24T13:07:55+0000 lvl=info msg=handling method=PUT
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a ip=@
t=2015-09-24T13:07:55+0000 lvl=warn msg="Couldn't detect storage."
container=91e5d7d1-ffe3-4975-a65a-6a4f84203e4a
t=2015-09-24T13:07:57+0000 lvl=info msg=handling method=PUT
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a/state ip=@
t=2015-09-24T13:07:57+0000 lvl=warn msg="Couldn't detect storage."
container=91e5d7d1-ffe3-4975-a65a-6a4f84203e4a
t=2015-09-24T13:07:57+0000 lvl=info msg=handling method=GET
url=/1.0/operations/0f5ba2b2-ab79-4a13-b4a5-3ffc32506e6e ip=@
t=2015-09-24T13:07:59+0000 lvl=info msg=handling ip=@ method=GET
url=/1.0/operations/0f5ba2b2-ab79-4a13-b4a5-3ffc32506e6e
t=2015-09-24T13:08:52+0000 lvl=info msg=handling method=GET
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a/state
ip=10.5.31.81:44130
t=2015-09-24T13:09:17+0000 lvl=info msg=handling ip=@ method=GET
url="/1.0/containers?recursion=1"
t=2015-09-24T13:09:19+0000 lvl=info msg=handling method=GET
url="/1.0/containers?recursion=1" ip=@
t=2015-09-24T13:09:20+0000 lvl=info msg=handling method=GET
url="/1.0/containers?recursion=1" ip=@
t=2015-09-24T13:09:21+0000 lvl=info msg=handling method=GET
url="/1.0/containers?recursion=1" ip=@
t=2015-09-24T13:10:20+0000 lvl=info msg=handling method=GET
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a/state ip=@
t=2015-09-24T13:10:20+0000 lvl=info msg=handling method=DELETE
url=/1.0/containers/91e5d7d1-ffe3-4975-a65a-6a4f84203e4a ip=@
t=2015-09-24T13:10:20+0000 lvl=info msg=handling method=GET
url="/1.0/operations/093f44c9-4496-471e-9183-6290a7570285/wait?status_code=200&timeout=-1"
ip=@
t=2015-09-24T13:10:43+0000 lvl=info msg=handling method=POST
url=/1.0/containers ip=10.5.31.82:39232
t=2015-09-24T13:10:43+0000 lvl=info msg="Container create"
container=e7b9828b-bce4-470d-8142-b2bd722f98b7 isSnapshot=false
t=2015-09-24T13:10:43+0000 lvl=info msg=handling method=GET
url="/1.0/operations/b3d4abd9-4877-4e29-8f3c-ffd7445852e1/wait?status_code=200&timeout=-1"
ip=10.5.31.82:39234
t=2015-09-24T13:10:44+0000 lvl=info msg=handling method=GET
url="/1.0/containers/e7b9828b-bce4-470d-8142-b2bd722f98b7?log=false" ip=@
t=2015-09-24T13:10:44+0000 lvl=warn msg="Couldn't detect storage."
container=e7b9828b-bce4-470d-8142-b2bd722f98b7
t=2015-09-24T13:10:44+0000 lvl=info msg=handling method=GET
url=/1.0/containers/e7b9828b-bce4-470d-8142-b2bd722f98b7/state ip=@
t=2015-09-24T13:10:44+0000 lvl=warn msg="Couldn't detect storage."
container=e7b9828b-bce4-470d-8142-b2bd722f98b7
t=2015-09-24T13:10:44+0000 lvl=info msg=handling method=GET
url=/1.0/containers/e7b9828b-bce4-470d-8142-b2bd722f98b7/state ip=@
t=2015-09-24T13:10:44+0000 lvl=warn msg="Couldn't detect storage."
container=e7b9828b-bce4-470d-8142-b2bd722f98b7
t=2015-09-24T13:10:44+0000 lvl=info msg=handling
url=/1.0/containers/e7b9828b-bce4-470d-8142-b2bd722f98b7 ip=@ method=PUT
t=2015-09-24T13:10:44+0000 lvl=warn msg="Couldn't detect storage."
container=e7b9828b-bce4-470d-8142-b2bd722f98b7
t=2015-09-24T13:10:46+0000 lvl=info msg=handling method=PUT
url=/1.0/containers/e7b9828b-bce4-470d-8142-b2bd722f98b7/state ip=@
t=2015-09-24T13:10:46+0000 lvl=warn msg="Couldn't detect storage."
container=e7b9828b-bce4-470d-8142-b2bd722f98b7
t=2015-09-24T13:10:46+0000 lvl=info msg=handling method=GET
url=/1.0/operations/9f24d1c3-426c-4a83-ba5c-db15b737137c ip=@
t=2015-09-24T13:10:48+0000 lvl=info msg=handling method=GET
url=/1.0/operations/9f24d1c3-426c-4a83-ba5c-db15b737137c ip=@
t=2015-09-24T13:10:58+0000 lvl=info msg=handling method=GET
url="/1.0/containers?recursion=1" ip=@
t=2015-09-24T13:11:22+0000 lvl=info msg=handling method=GET
url=/1.0/containers/e7b9828b-bce4-470d-8142-b2bd722f98b7/state
ip=10.5.31.82:39238
t=2015-09-24T13:11:28+0000 lvl=info msg=handling method=GET
url="/1.0/containers?recursion=1" ip=@
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: lxd 0.18-0ubuntu2
ProcVersionSignature: Ubuntu 4.2.0-10.12-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
Date: Thu Sep 24 13:20:13 2015
Ec2AMI: ami-000005a4
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.medium
Ec2Kernel: None
Ec2Ramdisk: None
SourcePackage: lxd
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: lxd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug ec2-images wily
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499359
Title:
LVM based container migration lose parent block device
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1499359/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs