azure / azure-support-scripts Goto Github PK
View Code? Open in Web Editor NEWPublic repository for Azure Support scripts and artifacts
License: Other
Public repository for Azure Support scripts and artifacts
License: Other
Hi All I am facing issue "The specified CGI application encountered an error and the server terminated the process." after hosting it on Azure Web Sites. On Local it works fine. I have developed application on asp.net core 1.0 and deployed on Azure.
Is there any timeout issue or any thing missing when deployed code on azure ?
Please help me out regarding this issue.
We are getting the error below consistently when running the RecoveryScript on CloudShell. If we download and run manually, it works - Only CloudShell is affected.
//////////////////////////////////////////////////////////////////////////////
_[2019-07-01 14:21:27Z] [Success] Problem VM xyzw-1 OS disk VHD URI: https://xyzwstorageacc.blob.core.windows.net/xyzw/rescuefixedosxyzw-test.vhd
[2019-07-01 14:21:27Z] [Running] Getting the storage connection info for Storage xyzwstorageacc
[2019-07-01 14:21:28Z] [Success] Gathered the connection info for Storage xyzwstorageacc
[2019-07-01 14:21:30Z] [Running] Creating snapshot of OS disk for problem VM xyzw-1
[2019-07-01 14:21:30Z] [Success] Created snapshot of OS disk for problem VM xyzw-1
/usr/bin/sort: cannot read: System.Collections.Hashtable: No such file or directory
[2019-07-01 14:21:30Z] [Error] Snapshot copy failed.
[2019-07-01 14:21:30Z] [Error] Unable to snapshot and copy the problem VM's OS disk.
[2019-07-01 14:21:30Z] [Running] Posting Telemetry data to AppInsights
[2019-07-01 14:21:30Z] [Success] Request was successfully logged to AppInsights.
result : False
restoreScriptCommand :
rescueScriptCommand : ./New-AzureRMRescueVM.ps1 -ResourceGroupName xyzw -VmName xyzw-1
failureReason : [Error] Unable to snapshot and copy the problem VM's OS disk.
cleanupScript :
restoreOriginalStateScript :_
//////////////////////////////////////////////////////////////////////////////
I'm testing this script (thanks for this by the way!)
I'm having an issue running the recovery script, it could not remove the data disk (I even made sure to stop the VM via Azure portal so it said "deallocated" and tried again.
[2018-08-14 13:18:58Z] [Running] Removing data disk from rescue VM rescueNatTest-SRV2016
[2018-08-14 13:18:58Z] [Error] Unable to remove data disk from rescue VM.
[2018-08-14 13:18:58Z] [Error] Unable to remove data disk from rescue VM. - System.Management.Automation.ParameterBindingValidationException
[2018-08-14 13:18:58Z] Exception Message: Cannot validate argument on parameter 'DataDiskNames'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again.
Any ideas?
Thanks
Receive error that PowerShell is not installed when used in CloudShell. Appears to be due to renaming of Az.Profile in December with release of Az 1.0.0 now is named Az.Accounts.
While trying to execute "./New-AzureRMRescueVM.ps1 -ResourceGroupName -VmName ", it turns out the '-VmName ' is the the faulty VM instead of the 'new' rescue VM, it is kinda confusing if you are new to the script.
This script is very handy for Nested Virtualisation with a few amendments - firstly, always need to use Windows Server 2016, and a D or Ev3 series VM.
Next, is it possible to use a CSE or DSC at build time to install Hyper-V and all management tools and subfeatures?
That way, we are pretty much ready to start working within Hyper-V straight away after the script runs!
Thanks,
Adam
Please can the script be updated to use the new Az commands, since the AzureRM module is no longer available in Cloud Shell?
Thanks for this awesome script! (azure-support-scripts/VMRecovery/ResourceManager/)
Couple of issues with the following instructions though
"Switch into the the folder by running:
cd c:\azure-support-scripts\RecoverVM\ResourceManager"
The directory should include additional subfolder:
"c:\azure-support-scripts\RecoverVM\ResourceManager\ResourceManager"
or
"c:\azure-support-scripts\RecoverVM\ResourceManager\Classic"
Otherwise you get an error when it can't find the file
Also a typo, there are 2 "the" in the instruction line :P
[Error] Problem VM UbuntuServer not found in resource group TESTRG in subscription xxxxx-xxxx-xxxxxx-WRONGSUBID. Verify the vmName, resourceGroupName, and subscriptionId and run the script again.
In short, everytime I try to run the command ps script {New-AzureRMRescueVM.ps1} for repair vm as this article says, the scripts goes after wrong subscription ID.
I have set the **
az account set --subscription --------CorrectSubID
**
but, it comes back saying that the VM is not found in this RG in this subscription (WrongsubID).
here, take a look at the attached screen shot after setting the correct sub and running the script again, please help.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
The HPC Platform team just published a repo with a support script tailored for use on HPC-sized VMs, and we have gotten requests to make it easy to find through this repo. Would it be alright to add it as a submodule here?
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.