Fuel cli breaks a connection when start deploy with node deletion

Bug #1565026 reported by Stanislaw Bogatkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Mikhail Zhnichkov
Mitaka
Won't Fix
Medium
Unassigned
Newton
Fix Committed
Medium
Mikhail Zhnichkov

Bug Description

Fuel 9.0, current master (have caught this on custom #1308 ISO).

Steps:
1. Create env, add 1 controller, 2 compute. Start deploy.
2. After successful deployment, delete one node (from UI, for example)
3. Run `fuel deploy-changes --env-id <real id>` from master node

Expected:
1. There will be a cli which will show a progress of redeployment

Real result:
2. After node deletion and resetting progress broke in a half of a process with error:

[root@nailgun modules]# fuel deploy-changes --env-id 1

... <omitted>
There was real progress showed for some time - couple of minutes or so.
... <omitted>

404 Client Error: Not Found for url: http://10.109.0.2:8000/api/v1/nodes/5/ (Node not found)
[root@nailgun modules]#

Node 5 there is the node which was deleted.

Actual redeployment process didn't stopped, though

Tags: area-python
description: updated
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Mikhail Zhnichkov (mzhnichkov) → slava valyavskiy (slava-val-al)
Changed in fuel:
assignee: slava valyavskiy (slava-val-al) → Mikhail Zhnichkov (mzhnichkov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/326404
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=91a2163966c43fb5c7f60183796175acfe2d109e
Submitter: Jenkins
Branch: master

commit 91a2163966c43fb5c7f60183796175acfe2d109e
Author: Mikhail <email address hidden>
Date: Tue Jun 7 14:49:11 2016 +0300

    Fix fuel cli output function

    This patch removes printing deployment progress function
    and shows message such as fuel2.

    Change-Id: Ia85db174976cb0dbacaf20e6378fcbb9f1ed7cf0
    Closes-Bug: #1565026

Changed in fuel:
status: In Progress → Fix Committed
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.