无法删除 Azure VM 扩展或从托管磁盘转换为未管理磁盘

无法删除 Azure VM 扩展或从托管磁盘转换为未管理磁盘

45729
Created On 07/10/20 18:06 PM - Last Modified 03/26/21 18:29 PM


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.
日志

根据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


  • 平台: VM- 微软蔚蓝系列
  • PAN-OS /插件版本:任何
  • 部署:现有


Cause


  • Palo Alto VM 不支持在系列上安装任何 Azure 扩展 PA-VM ,并且无法在系列上安装瓦剂等 VM- 服务。
  • 摇摆版本与版本相关联 PAN-OS ,无法升级或降级。
  • 此外,瓦根特版本不能重新启动 PAN-OS :
[root@vmseries-active ~]# service waagent start
waagent: unrecognized service
[root@vmseries-active ~]# service walinuxagent start
walinuxagent: unrecognized service
  • 在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


VM- firewall 使用以下步骤重新部署 Azure 系列。
  1. PANW VM-在与源/旧相同的环境中部署系列 PA-VM 。 例如大小、区域 PAN-OS 、版本等。
  2. 注册此 VM 。
  3. Panorama如果需要,将其添加到并将其添加到 PA-VM DG 与原始相同的/模板 VM 中。
  4. 从源/旧输出设备状态或运行配置 VM
  5. 将新的"虚拟" NIC 附加到源/旧 VM
  6. 去分配源/旧 VM
  7. NIC从源/旧中取出所有' VM
  8. 将所有 NIC '连接到新的 VM 与原来的相同。
  9. 删除 NIC 与 VM 。。
  10. 将配置恢复到 VM
您还可以参考 PANW Github 存储库使用 ARM 模板或 Terraform 部署防火墙。


Additional Information


微软文章以排除 VM 扩展故障:

Actions
  • Print
  • Copy Link

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

Choose Language