[AAA-134] unable to update/modify domain Created: 16/May/17 Updated: 21/Mar/19 Resolved: 09/Feb/18 |
|
| Status: | Verified |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | Oxygen |
| Type: | Bug | ||
| Reporter: | Jamo Luhrsen | Assignee: | Ryan Goulding |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8477 |
| Description |
|
INITIAL STATE: 13:46 $ curl -u "admin:admin" -X GET -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains | python -m json.tool { ] CREATE DOMAIN "OpenFlowSucks": 13:46 $ curl -u "admin:admin" -X POST -d ' {"description":"OpenFlow Is King","name":"OpenFlowSucks","enabled":"true"}' -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains/ {"domainid":"OpenFlowSucks","name":"OpenFlowSucks","description":"OpenFlow Is King","enabled":true}13:46 $ curl -u "admin:admin" -X GET -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains | python -m json.tool { , { "description": "OpenFlow Is King", "domainid": "OpenFlowSucks", "enabled": true, "name": "OpenFlowSucks" } ] UPDATE DOMAIN NAME TO HAVE NAME "OpenFlowRocks": 13:46 $ curl -u "admin:admin" -X PUT -d ' {"description":"OpenFlow Is King","name":"OpenFlowRocks","enabled":"true"}' -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains/OpenFlowSucks {"domainid":"OpenFlowSucks","name":"OpenFlowRocks","description":"OpenFlow Is King","enabled":true}13:47 $ curl -u "admin:admin" -v -X GET -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains | python -m json.tool
{ , { "description": "OpenFlow Is King", "domainid": "OpenFlowSucks", "enabled": true, "name": "OpenFlowSucks" } ] As you can see above, the new name was not updated, although the PUT was accepted the karaf log is tracking these same steps: 2017-05-16 20:46:50,013 | INFO | p1124141104-2109 | DomainHandler | 287 - org.opendaylight.aaa.idmlight - 0.5.0.SNAPSHOT | Post /domains |
| Comments |
| Comment by Jamo Luhrsen [ 16/May/17 ] |
|
this came from trying to get CSIT working for the idmlite job. It appears here is a recent job for reference: |
| Comment by Ryan Goulding [ 08/Feb/18 ] |
|
Candidate Patch: https://git.opendaylight.org/gerrit/#/c/68063/ |
| Comment by Jamo Luhrsen [ 09/Feb/18 ] |
|
using the distribution created in the candidate patch, I've verified the fix. thanks Ryan |