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. I get error when I try to set new name
- [root@nailgun ~]# fuel network-group --create --node-group 1 --name "new network" --release 2 --vlan 100 --cidr 10.0.0.0/24
- 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.
- Network group new network has been created
- [root@nailgun ~]# fuel network-group list
- 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 | name | vlan_start | cidr | gateway | group_id
- ---|---------------|------------|----------------|-------------|---------
- 1 | fuelweb_admin | None | 10.177.30.0/24 | 10.177.30.1 | None
- 3 | management | 101 | 192.168.0.0/24 | None | 1
- 4 | storage | 102 | 192.168.1.0/24 | None | 1
- 5 | private | None | None | None | 1
- 2 | public | None | 10.177.31.0/24 | 10.177.31.1 | 1
- 6 | new network | 100 | 10.0.0.0/24 | None | 1
- [root@nailgun ~]# fuel network-group --set --network 6 --name new_name
- 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 (Traceback (most recent call last):
- File "/usr/lib/python2.6/site-packages/nailgun/api/v1/handlers/base.py", line 166, in checked_data
- valid_data = method(data, **kwargs)
- File "/usr/lib/python2.6/site-packages/nailgun/api/v1/validators/network.py", line 524, in validate_update
- valid_data = cls.validate(data)
- File "/usr/lib/python2.6/site-packages/nailgun/api/v1/validators/network.py", line 505, in validate
- node_group = objects.NodeGroup.get_by_uid(d.get('group_id'))
- File "/usr/lib/python2.6/site-packages/nailgun/objects/base.py", line 88, in get_by_uid
- res = q.get(uid)
- File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/query.py", line 798, in get
- if len(ident) != len(mapper.primary_key):
- TypeError: object of type 'NoneType' has no len()
- )
- [root@nailgun ~]# fuel network-group --set --network 200 --name "n234234"
- 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.
- 404 Client Error: Not Found (NetworkGroup not found)
- [root@nailgun ~]# fuel network-group --set --network 2 --name "n234234"
- 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 (Traceback (most recent call last):
- File "/usr/lib/python2.6/site-packages/nailgun/api/v1/handlers/base.py", line 166, in checked_data
- valid_data = method(data, **kwargs)
- File "/usr/lib/python2.6/site-packages/nailgun/api/v1/validators/network.py", line 524, in validate_update
- valid_data = cls.validate(data)
- File "/usr/lib/python2.6/site-packages/nailgun/api/v1/validators/network.py", line 505, in validate
- node_group = objects.NodeGroup.get_by_uid(d.get('group_id'))
- File "/usr/lib/python2.6/site-packages/nailgun/objects/base.py", line 88, in get_by_uid
- res = q.get(uid)
- File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/query.py", line 798, in get
- if len(ident) != len(mapper.primary_key):
- TypeError: object of type 'NoneType' has no len()
- )
- 2. We should shift command example for "--set" in "fuel network-group help"
- root@nailgun ~]# fuel network-group help
- ...
- To filter them by node group:
- fuel network-group --node-group 1
- Set parameters for the specified network group:
- fuel network-group --set --network 1 --name new_name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement