Comment 4 for bug 1523477

Revision history for this message
Ksenia Svechnikova (kdemina) wrote :

Verify with ISO#277:

[root@nailgun ~]# fuel openstack-config --upload --env 1 --role compute --file nova.yaml
Openstack configuration with id 3 has been uploaded from file 'nova.yaml'
[root@nailgun ~]# fuel openstack-config --list --env 1
id | is_active | config_type | cluster_id | node_id | node_role
---|-----------|-------------|------------|---------|----------
3 | True | role | 1 | None | compute
2 | True | cluster | 1 | None | None
[root@nailgun ~]# fuel openstack-config --list --env 1 --role compute
id | is_active | config_type | cluster_id | node_id | node_role
---|-----------|-------------|------------|---------|----------
3 | True | role | 1 | None | compute
[root@nailgun ~]# fuel openstack-config --list --env 2 --role compute
id | is_active | config_type | cluster_id | node_id | node_role
---|-----------|-------------|------------|---------|----------

[root@nailgun ~]# fuel openstack-config --delete --config-id 2
Openstack configuration '2' has been deleted.
[root@nailgun ~]# fuel openstack-config --delete --config-id 3
Openstack configuration '3' has been deleted.
[root@nailgun ~]# fuel openstack-config --list --env 1
id | is_active | config_type | cluster_id | node_id | node_role
---|-----------|-------------|------------|---------|----------

[root@nailgun ~]# fuel openstack-config --upload --env 1 --file neutron.yaml
Openstack configuration with id 4 has been uploaded from file 'neutron.yaml'
[root@nailgun ~]# fuel openstack-config --list --env 1
id | is_active | config_type | cluster_id | node_id | node_role
---|-----------|-------------|------------|---------|----------
4 | True | cluster | 1 | None | None