Bug 1779992 - [RFE] add disk storage method returning the information about storage
Summary: [RFE] add disk storage method returning the information about storage
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.11
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: cfme-future
Assignee: Adam Grare
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-05 08:17 UTC by Gellert Kis
Modified: 2023-03-24 16:18 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-05 16:26:56 UTC
Category: Feature
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Tina Fitzgerald 2019-12-05 14:03:28 UTC
Hi Adam,

Can you add your thoughts here?

Thanks,
Tina

Comment 3 Adam Grare 2019-12-05 15:30:19 UTC
The result here is the return from waitForTask (https://github.com/ManageIQ/vmware_web_service/blob/master/lib/VMwareWebService/MiqVimInventory.rb, https://github.com/ManageIQ/vmware_web_service/blob/master/lib/VMwareWebService/MiqVimInventory.rb#L2240)

Since vm.add_disk is a common vm method we can't return the scsi controller/unit number because not all providers do this (e.g. cloud providers have no concept of this).

We might be able to return the location or filename, something that you could use to lookup the new disk.  We'll need to see what we have available at the time the method returns.

It would have to be a new method, since we can't change the return signature of an existing method.


Note You need to log in before you can comment on or make changes to this bug.