jamasten / azure Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I'm happy to make this change myself if it makes sense, but I didn't want to open a PR before bringing it up for discussion.
Is there a reason ImageVersionName isn't used as part of $DiskPrefix?
I believe it would allow exporting and importing multiple versions of an image simultaneously, as it would prevent the process on blocking itself in case of duplicate ImageDefinitionNames.
As a pre-requisite it might be helpful to add to the readme that you'll need to upload the scripts you have into a blob and the params values are based on it's location.
Could you please be so kind and add the -OsType into the Import Script
[parameter(Mandatory=$false)]
[string]$OsType,
Add-AzVhd -LocalFilePath $VhdFilePath
-ResourceGroupName $ComputeGalleryResourceGroupName -Location $Location
-DiskName $DiskName -NumberOfUploaderThreads 32
-DiskOsType $OsType
otherwise a new Managed Disk will be marked as Windows. I can not found that add-AzVhd has a default value but it always create the new vhd as Windows
THX a lot
Line 167 is hardcoded to use a version number of 1.0.0.
It needs to use the param entered: $ComputeGalleryVersion
I'm not able to get the avd solution to successfully deploy in azure gov cloud. Specifically, I'm getting - Exception(s) occured while joining Domain
. In the WaAppAgent log I found the JsonAddDomainExtension is failing with this exception: Command C:\Packages\Plugins\Microsoft.Compute.JsonADDomainExtension\1.3.6\enable.cmd of Microsoft.Compute.JsonADDomainExtension has exited with Exit code: 53, Code: 1009
.
After I manually join the 3 vm's to the domain the script will complete successfully and AVD works as expected. I've been stuck on this now for 2 days and I'm hoping you can help be get past this issue. Please let me know if there is anything I can provide to clarify this problems, or help to recreate the issue in another environment.
Below is a small, what I believe to be relavant, portion of the log file.
[00000005] 2021-08-02T17:52:59Z [ERROR] Enable command of Microsoft.Compute.JsonADDomainExtension has exited with Exit code: 53
[00000005] 2021-08-02T17:52:59Z [ERROR] Enable failed for plugin (name: Microsoft.Compute.JsonADDomainExtension, version 1.3.6) with exception Command C:\Packages\Plugins\Microsoft.Compute.JsonADDomainExtension\1.3.6\enable.cmd of Microsoft.Compute.JsonADDomainExtension has exited with Exit code: 53, Code: 1009
[00000005] 2021-08-02T17:52:59Z [ERROR] Error while processing plugin Microsoft.Compute.JsonADDomainExtension version 1.3.6 extension '', state: enabled, error: Exit Code: 53; Error: Command C:\Packages\Plugins\Microsoft.Compute.JsonADDomainExtension\1.3.6\enable.cmd of Microsoft.Compute.JsonADDomainExtension has exited with Exit code: 53
[00000019] 2021-08-02T17:52:59Z [ERROR] Processing Task for HandlerName: 'Microsoft.Compute.JsonADDomainExtension', ExtensionName: '' is faulted with the following exception:
[00000019] 2021-08-02T17:52:59Z [INFO] Writing default status file C:\Packages\Plugins\Microsoft.Compute.JsonADDomainExtension\1.3.6\Status\2.status for the Microsoft.Compute.JsonADDomainExtension handler (version 1.3.6, extension ''), status: Faulted
[00000019] 2021-08-02T17:52:59Z [INFO] Not overwriting status file C:\Packages\Plugins\Microsoft.Compute.JsonADDomainExtension\1.3.6\Status\2.status with default content for the Microsoft.Compute.JsonADDomainExtension handler (version 1.3.6, extension '')
[00000019] 2021-08-02T17:52:59Z [INFO] ExtensionTaskVertex for extension 'HandlerName: 'Microsoft.Compute.JsonADDomainExtension', ExtensionName: ''' seqNo '2' reached terminal state
[00000019] 2021-08-02T17:52:59Z [INFO] [expected error : (As this is xml extension)] Polling Task for 'HandlerName: 'Microsoft.Compute.JsonADDomainExtension', ExtensionName: ''' completed with the status: Faulted.
[00000019] 2021-08-02T17:52:59Z [ERROR] [expected error : (As this is xml extension)] Exception processing extension HandlerName: 'Microsoft.Compute.JsonADDomainExtension', ExtensionName: '' : Processing Task for HandlerName: 'Microsoft.Compute.JsonADDomainExtension', ExtensionName: '' is faulted with the following exception:
[00000008] 2021-08-02T17:53:49Z [TRACE] Attempting to save value to local machine registry key 'Software\Microsoft\GuestAgent', value 'HeartbeatLastStatusUpdateTime', data '2021-08-02T17:53:49Z'
[00000012] 2021-08-02T17:54:49Z [TRACE] Attempting to save value to local machine registry key 'Software\Microsoft\GuestAgent', value 'HeartbeatLastStatusUpdateTime', data '2021-08-02T17:54:49Z'
[00000008] 2021-08-02T17:55:17Z [WARN] GetVmArtifactsProfile: Received new etag for VMArtifactsProfileBlob "0x8D955DDF5AF1407" with content length 5120```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.