AE-2452: vxAG & vASF clone and backup operations fail after task creation.

Review Request #1407 — Created Feb. 27, 2026 and submitted

apoorva.sn
AMP
amp_3_7_2
AE-2452
pmurugaiyan, pradeep, shuinvy

Problem

AE-2452: vxAG & vASF clone and backup operations fail after task creation

Solution

The Network Card got from the cm.conf is not accurate always, so getting the ip address from the CLI itself

Tested the Clone, Backup, recover for AG, ASF and APV is working fine.
Also added new device the config is created successfully


Description From Last Updated

Is the changes tested in different environments like ESXI, Hyper-V/Nutanix? as this involves different interfaces & names. can we try …

pmurugaiyanpmurugaiyan
pmurugaiyan
  1. 
      
  2. Is the changes tested in different environments like ESXI, Hyper-V/Nutanix? as this involves different interfaces & names.

    can we try this - which allows extra words, link breaks and flexible spacing.

    match = re.search(r'ip address.*?(\d+.\d+.\d+.\d+)', cli_output, re.DOTALL)

    1. Lets test it once in Hyper-V. we can use the commited regex.

    2. I checked with the regex and I can see that following Problems listed

      . inside \d+.\d+.\d+.\d+ is not escaped
      It matches any character, not just a literal dot.

      So this matches:

      192a168b1c10

      .*? with re.DOTALL can cross multiple lines
      It may capture an IP from a completely unrelated section.

      It is overly permissive
      If multiple IPs exist, the match can be unpredictable.

      I have tested in ESXI setup. Also what I see with the previous approach is the interface was dynamically loaded when cm.conf was reloaded but sometimes it used to not populate the interface correctly and would take the default value present. This is why I am getting Ip Address from CLI. This issue might not always be specific to Hyper V or other platforms.
      Given the QA setup I can test it once

  3. 
      
pmurugaiyan
  1. Ship It!
  2. 
      
apoorva.sn
Review request changed

Status: Closed (submitted)

Loading...