AttributeError: PENDING_RETRY

Bug #1549312 reported by Łukasz Oleś
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solar
Fix Released
Undecided
Maciej Kwiek

Bug Description

When running solar orch stop

Traceback (most recent call last):
  File "/root/solar/solar/orchestration/executors/zerorpc_executor.py", line 47, in _async_event
    self._methods[event.name](*event.args)
  File "/root/solar/solar/orchestration/workers/subscription.py", line 62, in __call__
    rst = self.func(self.instance, ctxt, *args, **kwargs)
  File "/root/solar/solar/orchestration/workers/scheduler.py", line 72, in soft_stop
    states.PENDING.name, states.PENDING_RETRY.name):
  File "/root/xx/lib/python2.7/site-packages/enum/__init__.py", line 373, in __getattr__
    raise AttributeError(name)
AttributeError: PENDING_RETRY

Łukasz Oleś (loles)
Changed in solar:
milestone: none → 0.3.0
Changed in solar:
assignee: nobody → Maciej Kwiek (maciej-iai)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solar (master)

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

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

Reviewed: https://review.openstack.org/287044
Committed: https://git.openstack.org/cgit/openstack/solar/commit/?id=4b80fcec814ceac02baf95e1e53b1e25492cf6e7
Submitter: Jenkins
Branch: master

commit 4b80fcec814ceac02baf95e1e53b1e25492cf6e7
Author: Maciej Kwiek <email address hidden>
Date: Wed Mar 2 09:53:04 2016 +0100

    Change PENDING_RETRY to ERROR_RETRY in soft_stop

    * Added test for soft_stop
    * Replaced simple fixture with simple_plan fixture in tests

    Change-Id: I2375c586f2e733f1ff3de3455b19a39d3baff7be
    Closes-bug: 1549312

Changed in solar:
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.