[nailgun][python-fuelclient] Nailgun reports about successful cluster deployment without any nodes if use python-fuelclient

Bug #1602810 reported by Vitalii Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
Low
Nikolay Tymtsiv
Mitaka
Confirmed
Low
Fuel Sustaining

Bug Description

Detailed bug description:
Nailgun reports about successful 'empty' cluster deployment if use python-fuelclient.

Steps to reproduce:
1. Deploy Fuel (e.g. 1 master + 5 nodes).
2. Create env and DO NOT add any nodes to it.
3. Try to deploy 'empty' environment:

   [root@fuel ~]# fuel2 env deploy 2
   Deployment task with id 3 for the environment 2 has been started.

4. Fuel Dashboard reports about successful cluster deployment in a 5-6 seconds (see attached).
5 Also try to get list of tasks:

   [root@fuel ~]# fuel2 task list
+----+--------+------------------+---------+--------+----------+
| id | status | name | cluster | result | progress |
+----+--------+------------------+---------+--------+----------+
| 1 | ready | cluster_deletion | None | {} | 100 |
| 3 | ready | deploy | 2 | {} | 100 |
| 6 | ready | deployment | 2 | {} | 100 |
+----+--------+------------------+---------+--------+----------+
   [root@fuel ~]# fuel2 task show 3
+----------+--------------------------------------+
| Field | Value |
+----------+--------------------------------------+
| id | 3 |
| uuid | 681a2fc1-9874-4c4c-9338-d60314a55b96 |
| status | ready |
| name | deploy |
| cluster | 2 |
| result | {} |
| progress | 100 |
| message | Deployment is done. No changes. |
+----------+--------------------------------------+
   [root@fuel ~]# fuel2 task show 6
+----------+--------------------------------------+
| Field | Value |
+----------+--------------------------------------+
| id | 6 |
| uuid | fd4c629a-86cc-454c-8b3b-b984f63da935 |
| status | ready |
| name | deployment |
| cluster | 2 |
| result | {} |
| progress | 100 |
| message | Deployment is done. No changes. |
+----------+--------------------------------------+

[root@fuel ~]# fuel2 task history show 6
Result: http://paste.openstack.org/show/532106/

Reproducibility:
Always

Description of the environment:
[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 401
cat /etc/fuel_build_number:
 401
cat /etc/fuel_release:
 10.0
cat /etc/fuel_openstack_version:
 newton-10.0

Revision history for this message
Vitalii Kulanov (vitaliy-t) wrote :
no longer affects: fuel/newton
Revision history for this message
Vitalii Kulanov (vitaliy-t) wrote :

@Masksim, this bug is reproduced in fuel/newton (IS0 410):
15 Jul 2016 11:40:49 fuel-10.0-community-410-2016-07-15_11-14-00

[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 410
cat /etc/fuel_build_number:
 410
cat /etc/fuel_release:
 10.0
cat /etc/fuel_openstack_version:
 newton-10.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuelmenu-10.0.0-1.mos290.noarch
 fuel-agent-10.0.0-1.mos308.noarch
 fuel-migrate-10.0.0-1.mos8658.noarch
 shotgun-10.0.0-1.mos93.noarch
 fuel-notify-10.0.0-1.mos8658.noarch
 fuel-release-10.0.0-1.mos6367.noarch
 fuel-openstack-metadata-10.0.0-1.mos8857.noarch
 fuel-ostf-10.0.0-1.mos947.noarch
 fuel-setup-10.0.0-1.mos6367.noarch
 rubygem-astute-10.0.0-1.mos765.noarch
 python-fuelclient-10.0.0-1.mos356.noarch
 network-checker-10.0.0-1.mos77.x86_64
 fuel-utils-10.0.0-1.mos8658.noarch
 fuel-nailgun-10.0.0-1.mos8857.noarch
 nailgun-mcagents-10.0.0-1.mos765.noarch
 fuel-misc-10.0.0-1.mos8658.noarch
 fuel-library10.0-10.0.0-1.mos8658.noarch
 fuel-ui-10.0.0-1.mos2835.noarch
 fuel-10.0.0-1.mos6367.noarch
 fuel-bootstrap-cli-10.0.0-1.mos308.noarch

Here is the results from CLI: http://paste.openstack.org/show/533091/
AS you can see cluster is in operational mode

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Nikolay Tymtsiv (ntymtsiv)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.opendev.org/350528
Reason: This repo is retired now, no further work will get merged.

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.