can not create instance with volume if enable use_nova_server_volume

Bug #1673408 reported by huangtianhua
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Low
Zhao Chao

Bug Description

Enable config option 'use_nova_server_volume', then we will create the instance with volume through nova:
server = self.nova_client.servers.create(
                name, image_id, flavor_id,
                files=files, volume=volume_ref,
                security_groups=security_groups,
                availability_zone=availability_zone,
                nics=nics, config_drive=config_drive,
                userdata=userdata, scheduler_hints=scheduler_hints)

but there is no support for parameter 'volume', it should be migrate to use block_device_mapping.

Changed in trove:
assignee: nobody → huangtianhua (huangtianhua)
Amrith Kumar (amrith)
Changed in trove:
importance: Undecided → Low
Zhao Chao (zhaochao1984)
Changed in trove:
assignee: huangtianhua (huangtianhua) → Zhao Chao (zhaochao1984)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/542562

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/542562
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=29362a18a465a7b1c92c1f97132fb0784f978504
Submitter: Zuul
Branch: master

commit 29362a18a465a7b1c92c1f97132fb0784f978504
Author: Zhao Chao <email address hidden>
Date: Thu Feb 8 23:05:19 2018 +0800

    Remove support of creating volume from Nova.

    Current Nova server volume support is broken. Nova also declared the
    'os-volumes_boot' will be deprecated in the future. As creating volumes
    by cinderclient has been supoorted for a long time, we could just drop
    support of Nova server volume.

    This patch also migrate to the new block_device_mapping_v2 parameter of
    Nova servers creating API.

    Closes-Bug: #1673408
    Change-Id: I74d86241a5a0d0b1804b959313432168f68faf89
    Signed-off-by: Zhao Chao <email address hidden>

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 10.0.0.0b1

This issue was fixed in the openstack/trove 10.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.