yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #31015
[Bug 1439819] [NEW] Fail to create a snapshot of an instance booted from a volume backed snapshot
Public bug reported:
Fail to create a snapshot of an instance booted from a volume backed
snapshot.
It's reproduced with current (~Kilo-3) devstack.
Steps to reproduce:
$ nova boot inst --block-device id=<cirros>,source=image,dest=volume,bootindex=0,size=1--flavor m1.nano
$ nova image-create inst volback
$ nova boot inst-2 --image volback --flavor m1.nano
$ nova image-create inst-2 volback-2
Response:
ERROR (BadRequest): <html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
Invalid disk format 'None' for image.<br /><br />
</body>
</html> (HTTP 400) (HTTP 400)
The reason is that container_format and disk_format properties, which
are passed to glance to create 'volback-2' image, are derived from
'volback' image, but they should be absent to create a new snapshot.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1439819
Title:
Fail to create a snapshot of an instance booted from a volume backed
snapshot
Status in OpenStack Compute (Nova):
New
Bug description:
Fail to create a snapshot of an instance booted from a volume backed
snapshot.
It's reproduced with current (~Kilo-3) devstack.
Steps to reproduce:
$ nova boot inst --block-device id=<cirros>,source=image,dest=volume,bootindex=0,size=1--flavor m1.nano
$ nova image-create inst volback
$ nova boot inst-2 --image volback --flavor m1.nano
$ nova image-create inst-2 volback-2
Response:
ERROR (BadRequest): <html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
Invalid disk format 'None' for image.<br /><br />
</body>
</html> (HTTP 400) (HTTP 400)
The reason is that container_format and disk_format properties, which
are passed to glance to create 'volback-2' image, are derived from
'volback' image, but they should be absent to create a new snapshot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1439819/+subscriptions
Follow ups
References