I can assign node to nodegroup for other environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Maciej Kwiek |
Bug Description
1. I have node-12 which I added to env = 4
2. My nodegroup list
[root@fuel ~]# fuel nodegroup
DEPRECATION WARNING: /etc/fuel/
id | cluster | name
---|---
2 | 2 | default
3 | 3 | default
4 | 4 | default
[root@fuel ~]#
3. Try to assign node-12 to nodegroup=2
[root@fuel ~]# fuel --env 4 nodegroup --assign --node 12 --group 2
DEPRECATION WARNING: /etc/fuel/
[root@fuel ~]#
[root@fuel ~]# fuel node
DEPRECATION WARNING: /etc/fuel/
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|---
5 | provisioned | Untitled (63:5c) | 2 | 10.20.0.11 | 08:00:27:c0:63:5c | compute | | True | 2
3 | error | Untitled (71:d0) | 2 | 10.20.0.10 | 08:00:27:9a:71:d0 | controller | | True | 2
6 | ready | Untitled (f1:27) | 2 | 10.20.0.12 | 08:00:27:b6:f1:27 | standalone-
12 | discover | Untitled (ac:ef) | 4 | 10.20.0.16 | 08:00:27:af:ac:ef | | controller | True | 2
11 | ready | Untitled (45:9e) | 3 | 10.20.0.8 | 08:00:27:bb:45:9e | controller | | True | 3
10 | ready | Untitled (cc:9e) | 3 | 10.20.0.5 | 08:00:27:43:cc:9e | mongo | | True | 3
7 | ready | Untitled (13:5d) | 3 | 10.20.0.9 | 08:00:27:de:13:5d | cinder, compute | | True | 3
15 | discover | Untitled (5e:2b) | None | 10.20.0.15 | 08:00:27:de:5e:2b | | | True | None
13 | discover | Untitled (6d:45) | None | 10.20.0.13 | 08:00:27:ec:6d:45 | | | True | None
14 | discover | Untitled (96:a9) | None | 10.20.0.14 | 08:00:27:b4:96:a9 | | | True | None
[root@fuel ~]#
Expected result: node should not assign to nodegroup for other environment
"fuel-createmir
tags: | added: feature-nodegroup |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Saprykin (cutwater) |
tags: | added: area-python |
Changed in fuel: | |
assignee: | Alexander Saprykin (cutwater) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Maciej Kwiek (maciej-iai) |
Fix proposed to branch: master /review. openstack. org/239673
Review: https:/