f5devcentral / f5-automation-config-converter

Convert BIG-IP configs to AS3 and DO declarations
https://clouddocs.f5.com/products/extensions/f5-automation-config-converter/latest/
Apache License 2.0
35 stars 13 forks source link

Converter hangs #6

Closed true-mccrew closed 3 years ago

true-mccrew commented 3 years ago

Environment

Summary

Run converter on what looks to be reasonable input. Process hangs and has to be manually killed.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Convert following config:
    
    ltm pool /Common/pool_1234 {                                                                          
    members {                                                                                         
        /Common/10.10.20.4:80 {                                                                       
            address 10.10.20.4                                                                        
        }                                          
    }                                                                                                 
    }                                                                                                     

ltm profile http /Common/http_1234 {
app-service none
defaults-from http
}

ltm virtual /Common/virtual_1234 {
destination 10.10.10.10:80
ip-protocol tcp
mask 255.255.255.255
pool /Common/pool_1234
profiles {
/Common/http_1234 { }
tcp { }
}
}


2. Observe the following error message:
```out

<crickets>

Expected Behavior

Run to completion, generate reasonable output.

Actual Behavior

Process hangs, have to go to another window and docker kill it.

true-mccrew commented 3 years ago

It appears to be something to do with the nesting level of ltm pool.

mdditt2000 commented 3 years ago

@true-mccrew looking at this issue this week

mdditt2000 commented 3 years ago

ACC 1.10 works nicely. No more

Please see output https://github.com/mdditt2000/f5-appsvcs-acc/tree/master/Github/6