Notification showing VIP ip but not client ip

Bug #1554274 reported by Thomas Hsiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
In Progress
Low
Steve Martinelli

Bug Description

With notification enabled, a notification was not created but
The IP address in the notification was always the VIPip but not client ip if sending request via VIP endpoint to keystones

For example:
Client IP: 192.168.245.2
VIP IP: 192.168.245.3

From Client make a request to create a domain:
$ openstack domain create domain10

{"priority": "INFO", "event_type": "identity.domain.created", "timestamp": "2016-03-08 00:30:12.069165", "publisher_id": "identity.padawan-ccp-c1-m1-mgmt", "payload": {"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", "initiator": {"typeURI": "service/security/account/user", "host": {"agent": "python-keystoneclient", "address": "192.168.245.3"}, "id": "c8b40a4286694692a69fb2256609f8b6", "domain_id": "default"}, "target": {"typeURI": "data/security/domain", "id": "1e062f12afb3438696d5ffa43bb83655"}, "observer": {"typeURI": "service/security", "id": "de06eab3-e7fc-569b-8929-f7faee7316da"}, "eventType": "activity", "eventTime": "2016-03-08T00:30:12.068753+0000", "action": "created.domain", "outcome": "success", "id": "611d8de6-7bea-57d2-9942-ed29c9ab6763", "resource_info": "1e062f12afb3438696d5ffa43bb83655"}, "message_id": "2c286aef-5f35-4475-842d-f33730201a46"}

Expect the initiator address: 192.168.245.2 instead of 192.168.245.3

Revision history for this message
Thomas Hsiao (thomas-hsiao) wrote :

This may be resolved if https://bugs.launchpad.net/keystone/+bug/1550127 is implemented!?

Changed in keystone:
assignee: nobody → Prosunjit Biswas (prosun-csedu)
Revision history for this message
Dolph Mathews (dolph) wrote :

Bug 1550127 (Wrong IP Address for error message in keystone.log) is closely related.

Changed in keystone:
status: New → Triaged
importance: Undecided → Low
Changed in keystone:
assignee: Prosunjit Biswas (prosun-csedu) → Steve Martinelli (stevemar)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Steve Martinelli (<email address hidden>) on branch: master
Review: https://review.openstack.org/293575
Reason: track https://review.openstack.org/#/c/309038/1 instead

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.