Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nailgun ~]# fuel --f
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- api: '1.0'
- astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
- auth_required: true
- build_id: '257'
- build_number: '257'
- feature_groups:
- - mirantis
- fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
- fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
- fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
- fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
- fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
- nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
- openstack_version: 2015.1.0-7.0
- production: docker
- python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
- release: '7.0'
- release_versions:
- 2015.1.0-7.0:
- VERSION:
- api: '1.0'
- astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
- build_id: '257'
- build_number: '257'
- feature_groups:
- - mirantis
- fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
- fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
- fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
- fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
- fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
- nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
- openstack_version: 2015.1.0-7.0
- production: docker
- python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
- release: '7.0'
- 1. need to add confirm message:
- [root@nailgun ~]# fuel nodegroup
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- id | cluster | name
- ---|---------|--------
- 1 | 1 | default
- 2 | 2 | default
- [root@nailgun ~]# fuel node
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
- ---|-------------|------------------|---------|-------------|-------------------|-------------------|---------------|--------|---------
- 4 | ready | Untitled (94:19) | 1 | 10.177.30.4 | 64:6d:27:5a:94:19 | ceph-osd, compute | | True | 1
- 1 | provisioned | Untitled (9c:43) | 1 | 10.177.30.7 | 64:ce:f0:f6:9c:43 | controller | | True | 1
- 5 | ready | Untitled (9c:dc) | 1 | 10.177.30.6 | 64:4e:90:4a:9c:dc | ceph-osd, compute | | True | 1
- 2 | ready | Untitled (b1:70) | 1 | 10.177.30.3 | 64:80:1d:53:b1:70 | controller | | True | 1
- 3 | ready | Untitled (e6:5b) | 1 | 10.177.30.5 | 64:c2:8b:99:e6:5b | controller | | True | 1
- [root@nailgun ~]# fuel --env 1 nodegroup --assign --node 1 --group 2
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- [root@nailgun ~]# fuel node
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
- ---|-------------|------------------|---------|-------------|-------------------|-------------------|---------------|--------|---------
- 4 | ready | Untitled (94:19) | 1 | 10.177.30.4 | 64:6d:27:5a:94:19 | ceph-osd, compute | | True | 1
- 1 | provisioned | Untitled (9c:43) | 1 | 10.177.30.7 | 64:ce:f0:f6:9c:43 | controller | | True | 2
- 5 | ready | Untitled (9c:dc) | 1 | 10.177.30.6 | 64:4e:90:4a:9c:dc | ceph-osd, compute | | True | 1
- 2 | ready | Untitled (b1:70) | 1 | 10.177.30.3 | 64:80:1d:53:b1:70 | controller | | True | 1
- 3 | ready | Untitled (e6:5b) | 1 | 10.177.30.5 | 64:c2:8b:99:e6:5b | controller | | True | 1
- [root@nailgun ~]#
- 2. non existing group_id error:
- [root@nailgun ~]# fuel --env 1 nodegroup --assign --node 1 --group 3
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- 500 Server Error: Internal Server Error ((IntegrityError) insert or update on table "nodes" violates foreign key constraint "nodes_nodegroups_fk"
- DETAIL: Key (group_id)=(3) is not present in table "nodegroups".
- 'UPDATE nodes SET group_id=%(group_id)s WHERE nodes.id = %(nodes_id)s' {'nodes_id': 1, 'group_id': 3})
- [root@nailgun ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement