Prevent error on GroupAnswers on VR creation#3018
Conversation
| cmd = "throw %s table %s proto static" % (address, table) | ||
| self.set_route(cmd) | ||
|
|
||
| if not table or not address: |
There was a problem hiding this comment.
By your changes, I am assuming that it is ok if we do not receive a routing table to be configured.
Do you know in which cases this situation might happen?
There was a problem hiding this comment.
We could detect it each time we deploy a VR on 4.11.2 RC4
|
@blueorangutan package |
|
@PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2417 |
|
@blueorangutan test matrix |
|
@PaulAngus a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
@blueorangutan test matrix |
|
@PaulAngus a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3156)
|
|
Trillian test result (tid-3157)
|
yadvr
left a comment
There was a problem hiding this comment.
Lgtm, we should probably find and fix the issue of None typed key saved as None string in one of the merge.py databag scripts. I'm okay with the change.
|
smoketests generally look ok, but i'm manually checking the VPC failures. |
|
|
||
| # add 'defaul via gateway' rule in the device specific routing table | ||
| if "gateway" in self.address and self.address["gateway"] != "None": | ||
| if "gateway" in self.address and self.address["gateway"] and self.address["gateway"] != "None": |
There was a problem hiding this comment.
isn't there a '!= None` missing in this expression? (x != None and x != "None") just paranoia, i guess
There was a problem hiding this comment.
Why do we check here on "None" as a String? And not None as you should in Python?
There was a problem hiding this comment.
I think because somewhere the python None is stringyfied and gets in the way, @wido
|
test was re-run with no issues. so LGTM. will now merge. |
|
Trillian test result (tid-3168)
|
Adição de tamanho de cadeia de _backup_ para ofertas nativas de _backup_ Closes #3018 See merge request scclouds/scclouds!1311
Description
On VR creation it has been noticed that management server receives these answers:
This has been originated by empty parameters on VR commands: (cloud.log)
Types of changes
How Has This Been Tested?
Deploy VM on Isolated or Shared network - VR created