Juju doesn't clean up Oracle rules
Bug #1721545 reported by
Nicholas Skaggs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
After tearing down an instance, the following is left behind:
security rules, security lists, security protocols, access control lists, virtual NIC sets.
It seems Security Applications and IP Reservations are cleaned.
summary: |
- Juju doesn't clean up Oracle seclists + Juju doesn't clean up Oracle rules |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju: | |
importance: | Medium → High |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
(account data sanitized)
Looks like o.client. ComposeName( o.namespace. Value(machineId )) is returning an incorrect value: oracle deleting vnic set with name /Compute- $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- juju-3d9ba2- 0
DEBUG juju.provider.
juju-3d9ba2- juju-3d9ba2- 0 vs juju-3d9ba2-0
$ source oracle.rc ; curl -s -X GET -H "Cookie: $COMPUTE_COOKIE" -H "Accept: application/ oracle- compute- v3+json" $ORACLE_ ENDPOINT/ network/ v1/vnicset/ Compute- $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- juju-3d9ba2- 0 | python -mjson.tool $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- juju-3d9ba2- 0 found" oracle- compute- v3+json" $ORACLE_ ENDPOINT/ network/ v1/vnicset/ Compute- $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- 0 | python -mjson.tool
"/Compute- $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 5e366b20- 5067-4932- 85c6-fe7e303d9b a2-0" $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- 0",
"juju- units-deployed= mysql/0" ,
"juju- controller- uuid=6ebab07b- f317-461b- 8300-adbc42e577 f1",
"juju- machine- id=default- machine- 0",
"juju- model-uuid= 5e366b20- 5067-4932- 85c6-fe7e303d9b a2",
"/Compute- $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- 0" /compute. uscom-central- 1.oraclecloud. com:443/ network/ v1/vnicset/ Compute- $ORACLE_ DOMAIN/ $ORACLE_ USER/juju- 3d9ba2- 0",
{
"message": "no VirtualNicSet object named /Compute-
}
$ source oracle.rc ; curl -s -X GET -H "Cookie: $COMPUTE_COOKIE" -H "Accept: application/
{
"appliedAcls": [
],
"description": "Juju created vnic set",
"name": "/Compute-
"tags": [
],
"uri": "https:/
"vnics": []
}