Taskmanager says "Successfully created DNS entry" when trove dns support = False

Bug #1488430 reported by Masaki Matsushita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Low
Masaki Matsushita

Bug Description

Taskmanager says "Successfully created DNS entry for instance" in tr-tmgr.log when DNS support is disabled like following:

2015-08-25 17:51:43.925 DEBUG trove.taskmanager.models [-] trove dns support = False from (pid=3812) _create_dns_entry /opt/stack/trove/trove/taskmanager/models.py:890
2015-08-25 17:51:43.925 DEBUG trove.taskmanager.models [-] <greenlet.greenlet object at 0x7f4db6d4a370>: DNS not enabled for instance: 6c3e153f-43b1-4352-a7c0-68a74c547c74 from (pid=3812) _create_dns_entry /opt/stack/trove/trove/taskmanager/models.py:929
2015-08-25 17:51:43.925 DEBUG trove.taskmanager.models [-] Successfully created DNS entry for instance: 6c3e153f-43b1-4352-a7c0-68a74c547c74 from (pid=3812) create_instance /opt/stack/trove/trove/taskmanager/models.py:433

I think this behavior is confusing.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
assignee: nobody → Masaki Matsushita (mmasaki)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/216634
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=796c766cf062d0da89ff1ce80475453e4104a60f
Submitter: Jenkins
Branch: master

commit 796c766cf062d0da89ff1ce80475453e4104a60f
Author: Masaki Matsushita <email address hidden>
Date: Tue Aug 25 18:08:21 2015 +0900

    Fix not to output confusing message in tr-tmgr.log

    Taskmanager outputs the message "Successfully created DNS entry for
    instance" in tr-tmgr.log even though DNS support is disabled.
    This change fix to output that message only when DNS support is
    enabled.

    Closes-Bug: #1488430
    Change-Id: Ic5af781da848563885d262e49152391b9a93d448

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Changed in trove:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in trove:
milestone: liberty-3 → 4.0.0
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.