nova/neutron format integration is failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Undecided
|
Masaya Aoyama |
Bug Description
In the configuration file, we can use format parameter with designate-sink.
But "project" parameter can not use now.
ex) #formatv4 = '%(hostname)
https:/
In the source file, use "getattr", but it doesn't work (context is dict object).
And "tenant" key is undefined from notification data.
For example...
-------
{
"auth_token": "45f7a05107d043
"domain": "None",
"instance_
"is_admin": "True",
"is_
"project_
"project_id": "ee3dce5c65df4e
"project_name": "demo",
"quota_class": "None",
"read_deleted": "no",
"read_only": "False",
"remote_
"request_id": "req-f5d86fa3-
"resource_
"roles": [
"admin"
],
"service_
{
{
}
],
"name": "cinder",
"type": "volume"
},
{
{
}
],
"name": "cinderv2",
"type": "volumev2"
}
],
"show_deleted": "False",
"tenant": "ee3dce5c65df4e
"timestamp": "2017-01-
"user": "0b43a53f3d2e48
"user_domain": "None",
"user_id": "0b43a53f3d2e48
"user_
"user_name": "admin"
}
-------
So, I try to change
from
payload[
to
payload[
And neutron format integration has same issue.
https:/
I can fix it.
Changed in designate: | |
assignee: | nobody → Masaya Aoyama (masaya-aoyama) |
description: | updated |
Changed in designate: | |
status: | New → In Progress |
description: | updated |
summary: |
- nova format integration is failed + nova/neutron format integration is failed |
description: | updated |
Changed in designate: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/418813
Review: https:/