Service registry update fails

Bug #1613697 reported by Dimitri Mazmanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
Fix Released
Critical
Dimitri Mazmanov

Bug Description

Service registry get updated successfully, however while casting to the Service object the following error occurs:

2016-08-16 12:16:49.032 24063 ERROR kingbird.engine.service [req-5cf03fd0-82d4-4381-af1b-fa28ea1da81b - - - - -] Service 37c5df6b-f2ae-4eae-b719-1fd35f20ac0c update failed: Field `deleted_at' cannot be None
2016-08-16 12:17:49.032 24063 ERROR kingbird.engine.service [req-a64fb34f-f7cc-4885-87da-07a0ab2c7a9c - - - - -] Service 37c5df6b-f2ae-4eae-b719-1fd35f20ac0c update failed: Field `deleted_at' cannot be None
2016-08-16 12:18:49.035 24063 ERROR kingbird.engine.service [req-628f0c0e-d38b-4af5-a23b-e29accc611c3 - - - - -] Service 37c5df6b-f2ae-4eae-b719-1fd35f20ac0c update failed: Field `deleted_at' cannot be None
2016-08-16 12:19:49.026 24063 ERROR kingbird.engine.service [req-e9830dcc-c7aa-4f50-8eb6-0a20d369a83d - - - - -] Service 37c5df6b-f2ae-4eae-b719-1fd35f20ac0c update failed: Field `deleted_at' cannot be None

This is due to the object's deleted_at property not defaulting to None.

Changed in kingbird:
assignee: nobody → Dimitri Mazmanov (sorantis)
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kingbird (master)

Fix proposed to branch: master
Review: https://review.openstack.org/355903

Changed in kingbird:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kingbird (master)

Reviewed: https://review.openstack.org/355903
Committed: https://git.openstack.org/cgit/openstack/kingbird/commit/?id=d99fdbc304861f02224fd844eeda6a48bc6dc2aa
Submitter: Jenkins
Branch: master

commit d99fdbc304861f02224fd844eeda6a48bc6dc2aa
Author: Dimitri Mazmanov <email address hidden>
Date: Tue Aug 16 14:45:54 2016 +0200

    Fix error while updating service registry

    Allow null values for deleted_at and deleted properties of the Service
    object.

    Change-Id: I14de428c5498a8a69404a0bca3c2da2b0ff45d90
    Closes-Bug: #1613697

Changed in kingbird:
status: In Progress → Fix Released
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.