Fake nailgun - Preprovisioned nodes return to discovered state after stopping of the nodes deployment

Bug #1581468 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining

Bug Description

Reproduced on 10.0 master with fake Nailgun.

Steps to reproduce:

1. create environment, add a few nodes
2. provision the nodes in Provision Only mode
3. start the nodes deployment in Deployment Only mode
4. stop the deployment

Expected result: after stopping of the deployment, the nodes have 'provisioned' status

Actual result: after stopping of the deployment, the nodes have 'discover' status

Maciej Relewicz (rlu)
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
Revision history for this message
Kyrylo Galanov (kgalanov) wrote :

Hello Julia,

Are you sure that status should be 'provisioned' instead of 'stopped'?
https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/consts.py#L130

Best regards,
Kyrylo

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Hi Kyrylo,

Unfortunately, I'm not an expert in this question, but I tend to agree with you. I think we should ask fuel-web (nailgun) cores.
But anyway, looks like it should not be 'discovered' status.

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Kyrylo Galanov (kgalanov)
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Hi. Status should be stopped for nodes which started deploying. Provisioned should be on nodes which does not start deployment process (for example, they do not selected to deploy in UI or by Fuel CLI) .

Revision history for this message
Kyrylo Galanov (kgalanov) wrote :

Julia,

I have tried to reproduce, and that's what I got:
 - 1 node is stopped during deployment - the status is 'stopped'. Which is correct.
 - a few nodes are stopped during deployment - the status is sometimes 'stopped' and other times 'error'.

In both cases it is possible to restart deployment and the status is not 'provisioned'. http://paste.openstack.org/show/506217/

Please reopen the issue if you have any updates.

---

| nailgun.test.domain.local | cat /etc/fuel_build_id | 285 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_build_number | 285 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_release | 10.0 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_openstack_version | newton-10.0

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Kyrylo, thanks for the information and the tests.

It can be an issue of fake Nailgun, could you please check this? If yes, the issue anyway should be fixed for the fake mode.
Let's decrease the issue priority for now.

Changed in fuel:
importance: High → Medium
summary: - Preprovisioned nodes return to discovered state after stopping of the
- nodes deployment
+ Fake nailgun - Preprovisioned nodes return to discovered state after
+ stopping of the nodes deployment
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
Changed in fuel:
assignee: Kyrylo Galanov (kgalanov) → Fuel Sustaining (fuel-sustaining-team)
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.