Advertisement
Guest User

Untitled

a guest
Sep 11th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. [root@nailgun ~]# fuel --f
  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.
  3. api: '1.0'
  4. astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
  5. auth_required: true
  6. build_id: '257'
  7. build_number: '257'
  8. feature_groups:
  9. - mirantis
  10. fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
  11. fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
  12. fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
  13. fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
  14. fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
  15. nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
  16. openstack_version: 2015.1.0-7.0
  17. production: docker
  18. python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
  19. release: '7.0'
  20. release_versions:
  21. 2015.1.0-7.0:
  22. VERSION:
  23. api: '1.0'
  24. astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
  25. build_id: '257'
  26. build_number: '257'
  27. feature_groups:
  28. - mirantis
  29. fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
  30. fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
  31. fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
  32. fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
  33. fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
  34. nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
  35. openstack_version: 2015.1.0-7.0
  36. production: docker
  37. python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
  38. release: '7.0'
  39.  
  40.  
  41. 1. need to add confirm message:
  42.  
  43. [root@nailgun ~]# fuel nodegroup
  44. 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.
  45. id | cluster | name
  46. ---|---------|--------
  47. 1 | 1 | default
  48. 2 | 2 | default
  49. [root@nailgun ~]# fuel node
  50. 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.
  51. id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
  52. ---|-------------|------------------|---------|-------------|-------------------|-------------------|---------------|--------|---------
  53. 4 | ready | Untitled (94:19) | 1 | 10.177.30.4 | 64:6d:27:5a:94:19 | ceph-osd, compute | | True | 1
  54. 1 | provisioned | Untitled (9c:43) | 1 | 10.177.30.7 | 64:ce:f0:f6:9c:43 | controller | | True | 1
  55. 5 | ready | Untitled (9c:dc) | 1 | 10.177.30.6 | 64:4e:90:4a:9c:dc | ceph-osd, compute | | True | 1
  56. 2 | ready | Untitled (b1:70) | 1 | 10.177.30.3 | 64:80:1d:53:b1:70 | controller | | True | 1
  57. 3 | ready | Untitled (e6:5b) | 1 | 10.177.30.5 | 64:c2:8b:99:e6:5b | controller | | True | 1
  58. [root@nailgun ~]# fuel --env 1 nodegroup --assign --node 1 --group 2
  59. 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.
  60.  
  61. [root@nailgun ~]# fuel node
  62. 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.
  63. id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
  64. ---|-------------|------------------|---------|-------------|-------------------|-------------------|---------------|--------|---------
  65. 4 | ready | Untitled (94:19) | 1 | 10.177.30.4 | 64:6d:27:5a:94:19 | ceph-osd, compute | | True | 1
  66. 1 | provisioned | Untitled (9c:43) | 1 | 10.177.30.7 | 64:ce:f0:f6:9c:43 | controller | | True | 2
  67. 5 | ready | Untitled (9c:dc) | 1 | 10.177.30.6 | 64:4e:90:4a:9c:dc | ceph-osd, compute | | True | 1
  68. 2 | ready | Untitled (b1:70) | 1 | 10.177.30.3 | 64:80:1d:53:b1:70 | controller | | True | 1
  69. 3 | ready | Untitled (e6:5b) | 1 | 10.177.30.5 | 64:c2:8b:99:e6:5b | controller | | True | 1
  70. [root@nailgun ~]#
  71.  
  72. 2. non existing group_id error:
  73.  
  74. [root@nailgun ~]# fuel --env 1 nodegroup --assign --node 1 --group 3
  75. 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.
  76. 500 Server Error: Internal Server Error ((IntegrityError) insert or update on table "nodes" violates foreign key constraint "nodes_nodegroups_fk"
  77. DETAIL: Key (group_id)=(3) is not present in table "nodegroups".
  78. 'UPDATE nodes SET group_id=%(group_id)s WHERE nodes.id = %(nodes_id)s' {'nodes_id': 1, 'group_id': 3})
  79. [root@nailgun ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement