Skip to content

update hcs.Start to use HCS V1 API#2729

Merged
rawahars merged 1 commit intomicrosoft:mainfrom
rawahars:fix_hcs_start
May 9, 2026
Merged

update hcs.Start to use HCS V1 API#2729
rawahars merged 1 commit intomicrosoft:mainfrom
rawahars:fix_hcs_start

Conversation

@rawahars
Copy link
Copy Markdown
Contributor

@rawahars rawahars commented May 8, 2026

Summary

Presently, the implementation of Start method used computecore i.e. HCS V2 for starting the compute system. However, the same compute system was created using HCS V1 and therefore, due to an incompatibility within HCS between V1 and V2 APIs, this was failing.

Therefore, as a stop gap, we have reverted the Start method to use the HCS V1 API. During our full scale migration to V2 APIs, this will be taken care of properly.

Start implementation in old code using HCS V1-

func (computeSystem *System) Start(ctx context.Context) (err error) {

Presently, the implementation of Start method used computecore i.e. HCS V2 for starting the compute system. However, the same compute system was created using HCS V1 and therefore, due to an incompatibility within HCS between V1 and V2 APIs, this was failing.

Therefore, as a stop gap, we have reverted the Start method to use the HCS V1 API. During our full scale migration to V2 APIs, this will be taken care of properly.

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars rawahars requested a review from a team as a code owner May 8, 2026 19:00
@rawahars rawahars merged commit a3b3e3a into microsoft:main May 9, 2026
19 checks passed
@rawahars rawahars deleted the fix_hcs_start branch May 9, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants