← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1381504] [NEW] payload in notifier messages for object.create.end and object.delete.end very different.

 

Public bug reported:

payload in notifier message for object.create.end contains all
information for object, but payload in notifier message for
object.delete.end contains olny object id.

Example(rpc backend: rabbit, queue:notifications.info, object: subnet):
http://paste.openstack.org/show/121233/

Example(rpc backend: rabbit, queue:notifications.info, object: network):
http://paste.openstack.org/show/121232/

------------------------------------------------
Expected payload on notifier message subnet.delete.end:

"payload": {"subnet": {"name": "qwe-sub", "enable_dhcp": true,
"network_id": "41de06fa-c565-4393-b17e-662cf2ee6c6e", "tenant_id":
"fdf483b8a1074d6dbff849d8aab49415", "dns_nameservers": [], "gateway_ip":
"100.1.1.1", "ipv6_ra_mode": null, "allocation_pools": [{"start":
"100.1.1.2", "end": "100.1.1.254"}], "host_routes": [], "ip_version": 4,
"ipv6_address_mode": null, "cidr": "100.1.1.0/24", "id":
"54a1b017-418d-4169-b86a-e6c62cc58e19"}}

Actual payload on notifier message subnet.delete.end:

"payload": {"subnet_id": "54a1b017-418d-4169-b86a-e6c62cc58e19"}

Payload in notify messages object.create.end and object.delete.end
should be equal

** Affects: neutron
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1381504

Title:
  payload in notifier messages for object.create.end and
  object.delete.end very different.

Status in OpenStack Neutron (virtual network service):
  Confirmed

Bug description:
  payload in notifier message for object.create.end contains all
  information for object, but payload in notifier message for
  object.delete.end contains olny object id.

  Example(rpc backend: rabbit, queue:notifications.info, object: subnet):
  http://paste.openstack.org/show/121233/

  Example(rpc backend: rabbit, queue:notifications.info, object: network):
  http://paste.openstack.org/show/121232/

  ------------------------------------------------
  Expected payload on notifier message subnet.delete.end:

  "payload": {"subnet": {"name": "qwe-sub", "enable_dhcp": true,
  "network_id": "41de06fa-c565-4393-b17e-662cf2ee6c6e", "tenant_id":
  "fdf483b8a1074d6dbff849d8aab49415", "dns_nameservers": [],
  "gateway_ip": "100.1.1.1", "ipv6_ra_mode": null, "allocation_pools":
  [{"start": "100.1.1.2", "end": "100.1.1.254"}], "host_routes": [],
  "ip_version": 4, "ipv6_address_mode": null, "cidr": "100.1.1.0/24",
  "id": "54a1b017-418d-4169-b86a-e6c62cc58e19"}}

  Actual payload on notifier message subnet.delete.end:

  "payload": {"subnet_id": "54a1b017-418d-4169-b86a-e6c62cc58e19"}

  Payload in notify messages object.create.end and object.delete.end
  should be equal

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1381504/+subscriptions


Follow ups

References