Skip to content

update hcs.Start to use HCS V1 API#2729

Open
rawahars wants to merge 1 commit intomicrosoft:mainfrom
rawahars:fix_hcs_start
Open

update hcs.Start to use HCS V1 API#2729
rawahars wants to merge 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
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.

2 participants