Advertisement
Guest User

Untitled

a guest
Jan 26th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.50 KB | None | 0 0
  1. [root@nailgun ~]# cat /etc/fuel/version.yaml
  2. VERSION:
  3. feature_groups:
  4. - mirantis
  5. production: "docker"
  6. release: "8.0"
  7. api: "1.0"
  8. build_number: "470"
  9. build_id: "470"
  10. fuel-nailgun_sha: "ae949905142507f2cb446071783731468f34a572"
  11. python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  12. fuel-agent_sha: "6823f1d4005a634b8436109ab741a2194e2d32e0"
  13. fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  14. astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  15. fuel-library_sha: "420c6fa5f8cb51f3322d95113f783967bde9836e"
  16. fuel-ostf_sha: "ab5fd151fc6c1aa0b35bc2023631b1f4836ecd61"
  17. fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  18. fuelmenu_sha: "fac143f4dfa75785758e72afbdc029693e94ff2b"
  19. shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  20. network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  21. fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  22. fuelmain_sha: "727f7076f04cb0caccc9f305b149a2b5b5c2af3a"
  23.  
  24. root@node-1:~# nova list
  25. +--------------------------------------+-------+--------+------------+-------------+----------------------------------+
  26. | ID | Name | Status | Task State | Power State | Networks |
  27. +--------------------------------------+-------+--------+------------+-------------+----------------------------------+
  28. | 5eed382d-5350-4153-8e62-7deda626a3db | test1 | ACTIVE | - | Running | admin_internal_net=192.168.111.4 |
  29. +--------------------------------------+-------+--------+------------+-------------+----------------------------------+
  30. root@node-1:~# nova boot --image TestVM --flavor m1.micro --nic net-id=$(neutron net-list | awk '/inter/ {print $2}') 'test���'
  31. +--------------------------------------+-------------------------------------------------+
  32. | Property | Value |
  33. +--------------------------------------+-------------------------------------------------+
  34. | OS-DCF:diskConfig | MANUAL |
  35. | OS-EXT-AZ:availability_zone | |
  36. | OS-EXT-SRV-ATTR:host | - |
  37. | OS-EXT-SRV-ATTR:hypervisor_hostname | - |
  38. | OS-EXT-SRV-ATTR:instance_name | instance-00000006 |
  39. | OS-EXT-STS:power_state | 0 |
  40. | OS-EXT-STS:task_state | scheduling |
  41. | OS-EXT-STS:vm_state | building |
  42. | OS-SRV-USG:launched_at | - |
  43. | OS-SRV-USG:terminated_at | - |
  44. | accessIPv4 | |
  45. | accessIPv6 | |
  46. | adminPass | v8CJtAuR8h5C |
  47. | config_drive | |
  48. | created | 2016-01-25T09:54:25Z |
  49. | flavor | m1.micro (4a52798b-c4ac-4f02-ad33-ffff7b43c31a) |
  50. | hostId | |
  51. | id | 695206aa-8e37-4c45-b378-fae2595e6289 |
  52. | image | TestVM (1195b85d-bf5b-46bf-847a-8487589d8c3b) |
  53. | key_name | - |
  54. | metadata | {} |
  55. | name | test♥ |
  56. | os-extended-volumes:volumes_attached | [] |
  57. | progress | 0 |
  58. | security_groups | default |
  59. | status | BUILD |
  60. | tenant_id | 0621c879e0244f95b8f8d2a81c13a397 |
  61. | updated | 2016-01-25T09:54:24Z |
  62. | user_id | ced43bc151b74d2db3b29e3c54e4a833 |
  63. +--------------------------------------+-------------------------------------------------+
  64. root@node-1:~# nova list
  65. ERROR (UnicodeEncodeError): 'ascii' codec can't encode character u'\u2665' in position 4: ordinal not in range(128)
  66. root@node-1:~#
  67. root@node-1:~# echo $LANG
  68. en_US.UTF-8
  69. root@node-1:~# keystone 2>/dev/null endpoint-list | awk '/5000/ {print $6}'
  70. http://10.177.8.3:5000/v2.0
  71.  
  72. root@node-1:~# python
  73. Python 2.7.6 (default, Jun 22 2015, 17:58:13)
  74. [GCC 4.8.2] on linux2
  75. Type "help", "copyright", "credits" or "license" for more information.
  76. >>> from novaclient.client import Client
  77. >>>
  78. >>> nova_client = Client('2', username="admin", api_key="admin",
  79. ... auth_url="http://10.177.8.3:5000/v2.0",
  80. ... project_id="admin")
  81. >>>
  82. >>> nova_client.servers.list()
  83. [Traceback (most recent call last):
  84. File "<stdin>", line 1, in <module>
  85. UnicodeEncodeError: 'ascii' codec can't encode character u'\u2665' in position 13: ordinal not in range(128)
  86. >>>
  87.  
  88.  
  89. root@node-1:~# nova --debug list
  90. ...
  91. DEBUG (shell:909) 'ascii' codec can't encode character u'\u2665' in position 4: ordinal not in range(128)
  92. Traceback (most recent call last):
  93. File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 907, in main
  94. OpenStackComputeShell().main(argv)
  95. File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 834, in main
  96. args.func(self.cs, args)
  97. File "/usr/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 1451, in do_list
  98. formatters, sortby_index=sortby_index)
  99. File "/usr/lib/python2.7/dist-packages/novaclient/utils.py", line 101, in print_list
  100. data = str(data).replace("\r", "")
  101. UnicodeEncodeError: 'ascii' codec can't encode character u'\u2665' in position 4: ordinal not in range(128)
  102. ERROR (UnicodeEncodeError): 'ascii' codec can't encode character u'\u2665' in position 4: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement