Unable to delete Azure VM Extensions or convert from Managed disk to Unmanaged disk

Unable to delete Azure VM Extensions or convert from Managed disk to Unmanaged disk

45723
Created On 07/10/20 18:06 PM - Last Modified 07/23/20 02:30 AM


Symptom


 
ErrorCode: VMAgentStatusCommunicationError
ErrorMessage: VM 'GabstaWGA' has not reported status for VM agent or extensions. Verify the VM has a 
running VM agent and that it can establish outbound connections to Azure storage. Please refer to 
https://aka.ms/vmextensionwindowstroubleshoot for additional VM agent troubleshooting information.
Logs

Under pan_vm_agent.log:
 
2020/03/07 22:55:26.875098 ERROR Reporting NotReady failed: [000008] [Wireserver Exception] [000009] None
2020/03/07 22:55:26.876673 ERROR Event: name=WALinuxAgent, op=Provision, message=[000008]
[Wireserver Exception] [000009] None, duration=0
2020/03/07 22:55:26.878322 ERROR Event: name=WALinuxAgent, op=Provision, message=[000008] [CopyOvfEnv] Error 
mounting dvd: [000007] Failed to get dvd device from /dev

 


Environment


  • Platform: VM-Series on Microsoft Azure
  • PAN-OS / Plugin Version: Any
  • Deployment: Existing


Cause


  • Palo Alto VM does not support any Azure extensions to be installed on the PA-VM and services like waagent cannot be installed on the VM-Series.
  • waagent version is tied to PAN-OS release and cannot be upgraded or downgraded.
  • Also, waagent version cannot be restarted on PAN-OS:
[root@vmseries-active ~]# service waagent start
waagent: unrecognized service
[root@vmseries-active ~]# service walinuxagent start
walinuxagent: unrecognized service
  • waagent version can be found under pan_vm_agent.log:
pan_vm_agent.log <omitted> INFO Installed Agent WALinuxAgent-2.2.16 is the most current agent
pan_vm_agent.log <omitted> INFO Agent WALinuxAgent-2.2.16 is running as the goal state agent


Resolution


Re-deploy VM-Series firewall on Azure using the steps mentioned below.
  1. Deploy PANW VM-Series in the same environment as source/old PA-VM. Such as for instance size, region, PAN-OS release, etc.
  2. Register this VM.
  3. Add it to Panorama and add this new PA-VM to the same DG/Template as original VM, if required.
  4. Export device-state or running configuration from source/old VM
  5. Attach a new ‘dummy’ NIC to the source/old VM
  6. De-allocate Source/old VM
  7. Remove all NIC’s from the source/old VM
  8. Attach all NIC’s to the new VM same as the original.
  9. Remove the NIC that gets created with the VM.
  10.  Restore the configuration to the VM
You may also refer PANW Github repositories to deploy firewalls using ARM Templates or Terraform.


Additional Information


Microsoft articles to troubleshoot VM extensions:

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008UlWCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language