Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3491)

Issue 51350044: Improve machine errors handling.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by frankban
Modified:
10 years, 3 months ago
Reviewers:
bac, rharding, mp+202105
Visibility:
Public.

Description

Improve machine errors handling. Quickstart no longer hangs when the GUI machine goes in an "error" state and, as a consequence, the unit is forever in a "pending" state. Also fixed the message printed at the end of the process suggesting how to destroy the environment (sudo is used where required). Tests: `make check`. QA: I already asked Rick to reproduce the trusty/LXC errors he encountered QAing my previous branch. The GUI no longer hangs. I'd also appreciate any other suggestion and additional QA, given that this branch is a good candidate for 1.0. https://code.launchpad.net/~frankban/juju-quickstart/handle-machine-errors/+merge/202105 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Improve machine errors handling. #

Patch Set 3 : Improve machine errors handling. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -182 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M quickstart/app.py View 1 3 chunks +39 lines, -34 lines 0 comments Download
M quickstart/manage.py View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M quickstart/tests/test_app.py View 2 chunks +189 lines, -84 lines 0 comments Download
M quickstart/tests/test_utils.py View 1 chunk +0 lines, -48 lines 0 comments Download
A quickstart/tests/test_watchers.py View 1 chunk +266 lines, -0 lines 0 comments Download
M quickstart/utils.py View 1 chunk +0 lines, -12 lines 0 comments Download
A quickstart/watchers.py View 1 chunk +118 lines, -0 lines 0 comments Download

Messages

Total messages: 7
frankban
Please take a look.
10 years, 3 months ago (2014-01-17 14:06:28 UTC) #1
bac
Code LGTM. Have not yet done QA. https://codereview.appspot.com/51350044/diff/1/quickstart/app.py File quickstart/app.py (right): https://codereview.appspot.com/51350044/diff/1/quickstart/app.py#newcode467 quickstart/app.py:467: # specific ...
10 years, 3 months ago (2014-01-17 15:20:15 UTC) #2
frankban
Please take a look. https://codereview.appspot.com/51350044/diff/1/quickstart/app.py File quickstart/app.py (right): https://codereview.appspot.com/51350044/diff/1/quickstart/app.py#newcode467 quickstart/app.py:467: # specific unit. For this ...
10 years, 3 months ago (2014-01-17 15:26:04 UTC) #3
rharding
LGTM thanks for the updates and a lot more tests.
10 years, 3 months ago (2014-01-17 17:01:45 UTC) #4
bac
qa-ok, modulo the issue we talked about on IRC.
10 years, 3 months ago (2014-01-17 17:40:20 UTC) #5
frankban
*** Submitted: Improve machine errors handling. Quickstart no longer hangs when the GUI machine goes ...
10 years, 3 months ago (2014-01-17 18:37:33 UTC) #6
frankban
10 years, 3 months ago (2014-01-17 18:51:02 UTC) #7
Thank you!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b