-
Notifications
You must be signed in to change notification settings - Fork 9
Network intents when applied using update API creates a new service instance #15
Comments
Please add examples of the intents used to reproduce - specifically step 3 and step 5. |
For step 3, we are using below json payload For step 5, we are deleting the workload intent and then creating it Hope it helps |
@amcopma - I don't know the details of your example test case, so I'll describe some observations I made using the vfw test case (which uses network intents). Let me know if any of the following may be relevant to your test case.
What I observed in case #1 sounds kind of similar to what you are reporting. |
Hope this output helps 1. v1-firewall instantiated 2. IP addresses updated by updating network intent using Update API |
@amcopma - on the first instantiation of your firewall (before doing an update), does it ever get out of Pending status (and get to a Running status)? |
No, it does not get to running state in our first instantiation, and always is in pending state. |
I was using the /kud/emcoctl-tests/test-vfw.yaml as my test case. I just created an addtional file (pasted below) which I used to delete interfaces from the firewall and then apply again (to change the IP address of the interfaces). So the full sequence looks something like this (I'm just running from command line): ./setup.sh cleanup vfw had been instantiated, now delete some interface intents and apply again (with changes), then call update: emcoctl-tests]$ cat update1.yamlversion: emco/v2 version: emco/v2 version: emco/v2 |
Also, it is worth investigating why your workload does not leave the Pending state. I suggest trying to look at logs, 'kubectl describe', etc. to see if you can determine that first. If the initial Pod does not get to running state, then I guess the second one will also not get there - especially with default Deployment strategy of RollingUpdate. |
@amcopma - hi - is there any update to this? Have you determined why the initial Pod does not leave the Pending state? |
@snackewm Yes, we did identified the reason for the firewall service not getting into running state, I will retry once the fix is done and update this ticket |
Description:
This issue is observed when using update API for updating network intent of an application
Steps to reproduce:
The text was updated successfully, but these errors were encountered: