python-hpOneView icon indicating copy to clipboard operation
python-hpOneView copied to clipboard

I3S extract artifact bundle API missing required parameters

Open blittle01 opened this issue 6 years ago • 1 comments

Scenario/Intent

When attempting to deploy the default artifact bundles included with the I3S image, the task does not complete and the bundle extraction does not make the artifacts available to OneView.

Solution: Add the following parameters to the end of the artifact bundle URI: extract=true forceImport=true

The URI sent to the OS deployment client should be constructed as: artifactBundle['uri'] + "?extract=true&forceImport=true"

Environment Details

  • OneView SDK Version: 4.7.1
  • OneView Appliance Version: 4.2 and 5.0 have both exhibited this issue
  • OneView Client API Version: 1000
  • Python Version: 3.6
  • Platform: Windows 7

Steps to Reproduce

Fresh install of OneView on a Synergy platform with I3S integrated Create OS deployment server Create logical enclosure with OS deployment server Attempt to extract artifact bundles using the artifact_bundles.extract_bundle API If timeout is default (-1) the call doesn't return and the artifact bundle extraction does not complete. If the timeout is > 0 the call returns, but the result is the same, the artifact bundle extraction does not complete.

Expected Result

The artifact bundle task should run to completion and the OS deployment plans contained within the artifact bundle should be presented to OneView via the server profile via the OS deployment plan drop-down selection control.

Actual Result

If timeout is default (-1) the call doesn't return and the artifact bundle extraction does not complete. If the timeout is > 0 the call returns, but the result is the same, the artifact bundle extraction does not complete.

blittle01 avatar Oct 24 '18 21:10 blittle01

@blittle01 , Apologize for the late replay and thank you for pointing out this issue. We will add this as an enhancement and add it to the next release.

sijeesh avatar Jul 23 '19 09:07 sijeesh