summaryrefslogtreecommitdiff
path: root/kolla/common/task.py
AgeCommit message (Collapse)AuthorFilesLines
2022-08-03Replace abc.abstractproperty with property and abc.abstractmethodljhuang1-1/+2
Replace abc.abstractproperty with property and abc.abstractmethod, as abc.abstractproperty has been deprecated since python3.3[1] [1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc Change-Id: Ibb048b879fa58b5e144ae228628b3ffaeae65bbb
2020-02-17Get rid of Python 2 supportMarcin Juszkiewicz1-4/+1
2020 came, everyone should be using Python 3 now. As per the official python support timeline set forth by the OpenStack TC [1], OpenStack Train (in our case, kolla 9.x) is the last release that will support python2.7. [1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html Related bug: https://bugs.launchpad.net/tripleo/+bug/1856678 Merging depends on TripleO team - once they move CI job to CentOS 8 we can merge. Implements: blueprint drop-py2-support Change-Id: Ic459561ab6ab8c62993c044c7a82d887839da289
2017-06-12Remove unused function set_statusLuong Anh Tuan1-5/+0
The function set_status is no longer use in kolla. This patch removes the dead code of kolla. Change-Id: Idb10ef075be71e7c016d68b678467aa535f2e069
2016-06-02Use a task model and dumb workersJoshua Harlow1-0/+42
Instead of having smart workers that need to know about the full logic of how they operate and what they will do which makes it hard to reuse parts of those workers switch the model so that workers are dumb and they just run tasks which themselves can request additional tasks to run when succesful. This makes it more consistent when tasks are to be retried and also makes it easier to know which task is running and when. Less specialized workers == good. Closes-Bug: #1586474 Change-Id: Ie7b7303b8bf2a80b3e26b6d4ffc27787f8c794d6