Configure taskmanager_manager default value as taskmanager_manager in cfg.py

Bug #1633487 reported by Shaik Apsar
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Incomplete
Undecided
Shaik Apsar

Bug Description

Add new default option for taskmanager_manager.

By doing this operators / users need not to be configure taskmanager_manager value explicitly.

[DEFAULT]
taskmanager_manager = trove.taskmanager.manager.Manager

Shaik Apsar (sa709c)
Changed in trove:
assignee: nobody → Shaik Apsar (sa709c)
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/386632

Changed in trove:
status: New → In Progress
Revision history for this message
Amrith Kumar (amrith) wrote :

Why is this a bug?

Changed in trove:
status: In Progress → Opinion
Revision history for this message
Shaik Apsar (sa709c) wrote :

Amrith,

We have to explicitly specify the Manager implementation for the taskmanager in taskmanager conf file. if that parameter is omitted then trove-taskmaster will fail to start with an error "AttributeError: 'NoneType' object has no attribute 'rpartition'".

By adding the taskmanager_manager option to cfg.py with default implementation, We don't need to care about the taskmanager_manager manual addition to the conf file.

Please refer the "Finalize installation" section in [1]. Due to a bug in the Ubuntu packages, all the trove services using /etc/trove/trove.conf file as the config file. We have to add taskmanager_manager conf manually in trove.conf so that task-taskmanager service will start.

If we have any other implementation for taskmanager Manager in future, we can override the taskmanager_manager value in respective conf file.

[1] http://docs.openstack.org/mitaka/install-guide-ubuntu/trove-install.html

Changed in trove:
status: Opinion → In Progress
Revision history for this message
Amrith Kumar (amrith) wrote :

So that sounds like a bug in the packaging!

Changed in trove:
status: In Progress → Incomplete
Revision history for this message
Shaik Apsar (sa709c) wrote :

Amrith,

Even it was bug in packing, I want to make the sure to add taskmanager_manager with default value in cfg.py file, so that we don't need to add taskmanager_manager manually.

It's also useful to set taskmanager_manager with os_service_default in puppet-trove module if we add the default value in cfg.py file.

https://review.openstack.org/#/c/386587/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by amrith (<email address hidden>) on branch: master
Review: https://review.openstack.org/386632
Reason: "abandoned for inactivity, currently over 2 weeks old, and not currently mergeable"

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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