[Discovery-3.0]: With 2 space characters between Publisher and subscriber while mentioning the rule, rule is misinterpreted and functions incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Invalid
|
High
|
Unassigned |
Bug Description
BUG Template
OS version: 3.13.0-40-generic #69-Ubuntu
Contrail Version: 3.0-2699
Setup details:
Multinode setup.
TestBed file attached for details.
Configurations:
Discovery server running and it does auto assignments of services to clients.
Rules were created over that.
Description:
Initially there was no rule.
Attached "Screen Shot 2016-01-27 at 1.04.09 PM.png” shows the state where no rule is present.
In this case, contrail-DNS and contrail-control running on different nodes use 2 instances from any of the available publishers.
Then, i applied following rule:
root@nodeh4:
Oper = add-rule
Name = ['default-
UUID = None
API Server = 127.0.0.1:5998
Discovery Server = 127.0.0.1:5998
Empty DSA group!
10.204.
Confirm (y/n): y
root@nodeh4:
Please note that DSA entry is shown as "10.204.
At first, i thought its just a display issue.
Then i noticed that all subscriber clients(
I expected only subscriber “10.204.
Please see the snapshot attached with name "Screen Shot 2016-01-27 at 12.46.45 PM.png” to get an idea of the issue.
So, in reality, subscriber entry "/32,,,” is getting treated as a valid entry which include all subscribers in the network.
Logs:
The issue is reproducible and self descriptive.
So no logs have been taken.
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
milestone: | none → r3.0-fcs |
Changed in juniperopenstack: | |
importance: | Critical → High |
tags: | added: discovery |
After more debugging, it was found that issue is because of 2 space characters between publisher and Subscriber entries.
Thus, the issue is somewhat similar to #1538503.
Please handle it accordingly.