Skip to content

Conversation

@ambarve
Copy link
Contributor

@ambarve ambarve commented Aug 3, 2021

Fix container creation failure when container config has empty device extensions.
Use the getVSMBShareKey function during vsmb share cloning.

Signed-off-by: Amit Barve [email protected]

@ambarve ambarve requested a review from a team as a code owner August 3, 2021 03:08
@ambarve ambarve force-pushed the assigned_dev_vsmb_clone_bugfix branch from d3d59dc to d2c4d83 Compare August 3, 2021 03:16
Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a go mod vendor+tidy judging from the CI. Changes lgtm though

@ambarve ambarve force-pushed the assigned_dev_vsmb_clone_bugfix branch 2 times, most recently from 3219f34 to 0e453ab Compare August 3, 2021 04:21
@dcantah
Copy link
Contributor

dcantah commented Aug 3, 2021

Speaking of the device extensions stuff, it should really have a version check for it as I believe it got in fairly recently. HCS will error out with "The virtual machine or container JSON document is invalid." otherwise if a user provided an extension on a downlevel OS. I can add in a separate change or you can add here, either or.

@ambarve
Copy link
Contributor Author

ambarve commented Aug 3, 2021

What version check should it be? And should it be only in this one location or does it have to be included at multiple locations?

@dcantah
Copy link
Contributor

dcantah commented Aug 3, 2021

@ambarve 20237 is the earliest I see it. Could just go in getDeviceExtensions if the user asked for any.

@ambarve ambarve force-pushed the assigned_dev_vsmb_clone_bugfix branch from 0e453ab to 0a9fc72 Compare August 3, 2021 18:04
@ambarve ambarve force-pushed the assigned_dev_vsmb_clone_bugfix branch from 0a9fc72 to 46795bb Compare August 3, 2021 22:25
Fix container creation failure when container config has empty device extensions.
Use the `getVSMBShareKey` function during vsmb share cloning.

Signed-off-by: Amit Barve <[email protected]>
@ambarve ambarve force-pushed the assigned_dev_vsmb_clone_bugfix branch from 46795bb to 3d5b0eb Compare August 3, 2021 22:27
Copy link
Member

@kevpar kevpar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@katiewasnothere katiewasnothere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

4 participants