[Yahoo-eng-team] [Bug 1631481] [NEW] Revert resize does not delete instance directory with Ceph

2016-10-07 Thread Feodor Tersin
Public bug reported: Resize revertion leaves instance directory on the second host with Ceph image backend. As the result the second attempt to resize the instance to the same host fails with n-cpu.log: Traceback (most recent call last):   File "/opt/stack/nova/nova/compute/manager.py", line

[Yahoo-eng-team] [Bug 1596957] [NEW] Cannot resize down instance booted from volume backed snapshot with ephemeral

2016-06-28 Thread Feodor Tersin
Public bug reported: If an instance is booted from a volume backed snapshot with ephemeral(s), it cannot be resized down to a flawor with disk size is lesser than original flavor disk size. Steps to reproduce: 1 Prepare flavors $ nova flavor-create t1.nano-2-e auto 64 2 1 --ephemeral 1 $ nova

[Yahoo-eng-team] [Bug 1489442] Re: Invalid order of volumes with adding a volume in boot operation

2015-10-13 Thread Feodor Tersin
Well, if all you guys say this is not a bug, it's not a bug. But it's sadly that Nova cannot guarantee device names even in this simple case. ** Changed in: nova Status: New => Invalid ** Changed in: nova Assignee: Feodor Tersin (ftersin) => (unassigned) -- You received th

[Yahoo-eng-team] [Bug 1489442] Re: Invalid order of volumes with adding a volume in boot operation

2015-09-22 Thread Feodor Tersin
@Nikola, the problem is not about device names, but about consistency and workability of volume backed instance snapshots. Should we support a use case: 1 A user snapshots his volume backed instance which has more than one volume. 2 A user creates a new instance from the snapshot. 3 All services

[Yahoo-eng-team] [Bug 1489442] [NEW] Invalid order of volumes with adding a volume in boot operation

2015-08-27 Thread Feodor Tersin
Public bug reported: If an image has several volume in bdm, and a user adds one more volume for boot operation, then the new volume is not just added to a volume list, but becomes the second device. This can lead to problems if the image root device has various soft which settings point to other

[Yahoo-eng-team] [Bug 1485059] [NEW] bdm image property should overload 'mappings' one for instance launch

2015-08-14 Thread Feodor Tersin
Public bug reported: If an image has settings for the same device in both 'mappings' and 'block_device_mapping' properties, the last one should be used for instance launch. But currently 'mappings' takes precedence. = Steps to reproduce: 1 Create a flavor with ephemeral disk.

[Yahoo-eng-team] [Bug 1481220] [NEW] Cannot boot from volume-backed instance snapshot

2015-08-04 Thread Feodor Tersin
Importance: Undecided Assignee: Feodor Tersin (ftersin) Status: New ** Changed in: nova Assignee: (unassigned) = Feodor Tersin (ftersin) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute

[Yahoo-eng-team] [Bug 1481164] [NEW] Invalid root device name for volume-backed instances with libvirt

2015-08-03 Thread Feodor Tersin
.nano inst where xxx is an image id. 2 Look at the device name: openstack volume list Expected value: /dev/vda Actual value: /dev/vdb Inside guest OS the volume is displayed as /dev/vda. ** Affects: nova Importance: Undecided Assignee: Feodor Tersin (ftersin) Status: In Progress

[Yahoo-eng-team] [Bug 1439820] [NEW] EC2 API fails to create a snapshot of a volume backed instance

2015-04-02 Thread Feodor Tersin
Public bug reported: EC2 API fails to create a snapshot of a volume backed instance 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 $ euca-create-image ec2-instance-id -n

[Yahoo-eng-team] [Bug 1439819] [NEW] Fail to create a snapshot of an instance booted from a volume backed snapshot

2015-04-02 Thread Feodor Tersin
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

[Yahoo-eng-team] [Bug 1384347] [NEW] Couldn't run instance with existing port when default security group is absent

2014-10-22 Thread Feodor Tersin
Public bug reported: If default security group in tenant is deleted (admin has appropriate permissions) then launching an instance with Neutron port fails at allocate network resources stage: ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s) TRACE

[Yahoo-eng-team] [Bug 1371424] [NEW] EC2 API does not support filters

2014-09-19 Thread Feodor Tersin
Public bug reported: Each AWS describe operation has common and some custom filter parameters to filter result set by various object attributes. But Nova EC2 supports filters by object ids only. I found similar ancient bug https://bugs.launchpad.net/nova/+bug/734912, but it's closed with

[Yahoo-eng-team] [Bug 1370901] [NEW] Nova EC2 doesn't create empty volume while launching an instance

2014-09-18 Thread Feodor Tersin
Public bug reported: AWS is able to create and attach a new empty volume while launching an instance. See http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-RunInstances.html: --- To create an empty Amazon EBS volume, omit the snapshot ID and specify a volume size

[Yahoo-eng-team] [Bug 1371046] [NEW] No type check for resource-id value in EC2 describe_tags filter

2014-09-18 Thread Feodor Tersin
Public bug reported: $ euca-describe-tags --filter resource-id=vol-nnn returns tags for ami-nnn instance. For example: $ euca-describe-tags TAG i-000e instancexxx yyy $ euca-describe-tags --filter resource-id=vol-000e TAG i-000e instancexxx

[Yahoo-eng-team] [Bug 1370384] [NEW] Cannot expand root volume by EC2 API

2014-09-17 Thread Feodor Tersin
Public bug reported: AWS provides a scenario to expand volumes of an instance (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html). It consist of: 1 Stop the instance 2 Create a snapshot of the volume 3 Create a new volume from the snapshot 4 Detach the old volum 5 Attach

[Yahoo-eng-team] [Bug 1370177] [NEW] Lack of EC2 image attributes for volume backed snapshot.

2014-09-16 Thread Feodor Tersin
Public bug reported: For EBS images AWS returns device names, volume sizes, delete on termination flags in block device mapping structure. $ euca-describe-images ami-d13845e1 IMAGE ami-d13845e1amazon/amzn-ami-hvm-2014.03.2.x86_64-ebsamazon available public x86_64 machine

[Yahoo-eng-team] [Bug 1370250] [NEW] Can not set volume attributes at instance launch by EC2 API

2014-09-16 Thread Feodor Tersin
Public bug reported: AWS allows to change block device attributes (such as volume size, delete on termination behavior, existence) at instance launch. For example, image xxx has devices: vda, size 10, delete on termination vdb, size 100, delete on termination vdc, size 100, delete on termination

[Yahoo-eng-team] [Bug 1370265] [NEW] Crash on describing EC2 volume backed image with multiple devices

2014-09-16 Thread Feodor Tersin
Public bug reported: EC2 describe images crashes on volume backed instance snapshot which has several volumes: $ euca-describe-images euca-describe-images: error (KeyError): Unknown error occurred. Steps to reproduce 1 Create bootable volume $ cinder create --image image-id size 2 Boot

[Yahoo-eng-team] [Bug 1370330] [NEW] Cannot attach a volume without '/dev/' prefix by EC2 API

2014-09-16 Thread Feodor Tersin
Public bug reported: AWS allows to attach a volume with short device name (without '/dev/' prefix). But Nova doesn't. $ euca-attach-volume -i i-0008 -d vdd vol-0003 euca-attach-volume: error (InvalidDevicePath): The supplied device path (vdd) is invalid. ** Affects: nova

[Yahoo-eng-team] [Bug 1370339] [NEW] Cannot register volume backed image by EC2 API

2014-09-16 Thread Feodor Tersin
Public bug reported: AWS allows to register a volume backed image. But Nova doesn't: $ euca-register -n ebs-image --kernel aki-0002 --ramdisk ari-0003 --root-device-name /dev/vda -b /dev/vda=snap-0006 euca-register: error (HTTPInternalServerError): The server has either erred or is

[Yahoo-eng-team] [Bug 1355285] [NEW] EC2 attachment set is absent for attaching/detaching volumes

2014-08-11 Thread Feodor Tersin
it: VOLUME vol-0001 1 novain-use 2014-08-10T19:51:06.00 ATTACHMENT vol-0001NoneNoneNoneNone ** Affects: nova Importance: Undecided Assignee: Feodor Tersin (ftersin) Status: New -- You received this bug notification because

[Yahoo-eng-team] [Bug 1325079] [NEW] Invalid error message for snapshot creation in EC2 layer

2014-05-30 Thread Feodor Tersin
Importance: Undecided Assignee: Feodor Tersin (ftersin) Status: New ** Changed in: nova Assignee: (unassigned) = Feodor Tersin (ftersin) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https

[Yahoo-eng-team] [Bug 1324400] [NEW] Invalid EC2 instance type for a volume backed instance

2014-05-29 Thread Feodor Tersin
$ euca-describe-instances Look on instace type. It must be ebs, but it is instance-store in the output. Note. If euca-describe-instance crashes on ebs instnce, apply https://review.openstack.org/#/c/95580/ ** Affects: nova Importance: Undecided Assignee: Feodor Tersin (ftersin

[Yahoo-eng-team] [Bug 1323403] Re: ec2-api crashes on describing volume backed snapshot

2014-05-27 Thread Feodor Tersin
https://review.openstack.org/#/c/95580/ ** Project changed: devstack = nova ** Changed in: nova Status: New = In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).

[Yahoo-eng-team] [Bug 1322157] [NEW] Invalid snapshot is created from volume backed instance

2014-05-22 Thread Feodor Tersin
Public bug reported: An incorrect snapshot is created from volume backed instance booted from volume. The snapshot doesn't have disk_format and container_format attributes. As a result booting from the snapshot fails. Environment: DevStack Steps to reproduce: 1 Create bootable volume $ cinder

[Yahoo-eng-team] [Bug 1322180] [NEW] Fail to launch an instance from volume by legacy bdm

2014-05-22 Thread Feodor Tersin
Public bug reported: Launting an instance from bootable volume passing legacy bdm is available only using vda (no /dev/ prefix) as root device name. This is weird restriction. It prevents to create consistent instance data, because root_device_name instance attribute has /dev/ prefix, but

[Yahoo-eng-team] [Bug 1322195] [NEW] Admin creates volume backed instance snapshot in image tenant

2014-05-22 Thread Feodor Tersin
Public bug reported: For instance booted from volume with legacy bdm and image (this method is documented as workaround in http://docs.openstack.org/grizzly/openstack-ops/content/attach_block_storage.html) admin user creates instance snapshot in the image tenant rather than current tenant.