Bug 1421100
Summary: | storage migration of instance boot from volume fails with InvalidType | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Matthew Booth <mbooth> |
Component: | openstack-nova | Assignee: | Matthew Booth <mbooth> |
Status: | CLOSED ERRATA | QA Contact: | Joe H. Rahme <jhakimra> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 (Kilo) | CC: | awaugama, berrange, dasmith, eglynn, jhakimra, kchamart, mbooth, mlopes, mschuppe, panbalag, sbauza, sferdjao, sgordon, srevivo, vromanso |
Target Milestone: | async | Keywords: | Triaged, ZStream |
Target Release: | 7.0 (Kilo) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-nova-2015.1.4-34.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1419480 | Environment: | |
Last Closed: | 2017-06-20 12:24:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1419480 | ||
Bug Blocks: | 1421083 |
Description
Matthew Booth
2017-02-10 10:52:35 UTC
Verified it using the following steps: 1. set up 2 different cinder backends: [stack@undercloud-0 ~]$ cinder service-list +------------------+-------------------------+------+---------+-------+----------------------------+-----------------+ | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +------------------+-------------------------+------+---------+-------+----------------------------+-----------------+ | cinder-scheduler | hostgroup | nova | enabled | up | 2017-06-13T17:01:01.000000 | - | | cinder-volume | hostgroup@tripleo_iscsi | nova | enabled | up | 2017-06-13T17:00:59.000000 | - | | cinder-volume | hostgroup@tripleo_nfs | nova | enabled | up | 2017-06-13T17:00:59.000000 | - | +------------------+-------------------------+------+---------+-------+----------------------------+-----------------+ 2. boot VM: nova boot --flavor m1.tiny --block-device source=image,id=c04dedcd-73be-4160-886e-7d3f5eb8a9ed,dest=volume,size=1,shutdown=preserve,bootindex=0 vm4 +--------------------------------------+-------------------------------------------------+ | Property | Value | +--------------------------------------+-------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | | | OS-EXT-SRV-ATTR:host | - | | OS-EXT-SRV-ATTR:hypervisor_hostname | - | | OS-EXT-SRV-ATTR:instance_name | instance-00000004 | | OS-EXT-STS:power_state | 0 | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | - | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | adminPass | HxE54RhGTtv9 | | config_drive | | | created | 2017-06-13T16:56:40Z | | flavor | m1.tiny (1) | | hostId | | | id | eb6981fc-24c4-4d35-b97d-379656458276 | | image | Attempt to boot from volume - no image supplied | | key_name | - | | metadata | {} | | name | vm4 | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | security_groups | default | | status | BUILD | | tenant_id | 6c9a06dafef644efa168f3c869764c43 | | updated | 2017-06-13T16:56:40Z | | user_id | f3655d8699f34ac5bbef11922a34861f | +--------------------------------------+-------------------------------------------------+ 3. Migrate created volume to new host: [stack@undercloud-0 ~]$ cinder migrate 7c4f69fd-8c4f-4cd6-adb7-4601ecffe7bb hostgroup@tripleo_iscsi [stack@undercloud-0 ~]$ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1539 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |