Skip to content

Storage issues from provisioning from a template or existing profile #50

@thebsdbox

Description

@thebsdbox

If a template is used to provision new profiles with attached San Storage, there is an error in the lib/chef/provisioning/oneview/san_storage.rb as it attempts to sanitize the storage as if it was an existing profile.

    Error executing action `allocate` on resource 'machine[virt01]'
    ================================================================================

    RuntimeError
    ------------
    virt01: Should know if volume is sharable:
    {"storagePaths"=>[{"storageTargetType"=>"Auto", "storageTargets"=>[], "connectionId"=>5, "isEnabled"=>true}, {"storageTargetType"=>"Auto", "storageTargets"=>[], "connectionId"=>6, "isEnabled"=>true}], "lun"=>"0", "lunType"=>"Manual", "volumeUri"=>"/rest/storage-volumes/37B173EB-E621-48C1-91E9-B991F3A578FC", "volumeStoragePoolUri"=>"/rest/storage-pools/A3616F3F-D3C3-4047-A583-627F7F1E5A24", "volumeStorageSystemUri"=>"/rest/storage-systems/TXQ1000307", "id"=>1}

It's looking for "isShareable"=>true, however it would need to query the volumeURI for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions