Advertisement
Guest User

Untitled

a guest
Mar 10th, 2015
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. [root@nailgun ~]# fuel --f
  2. DEPRECATION WARNING: file /etc/fuel/client/config.yaml is found and will be used as a source for settings. However, it deprecated and will not be used by default in the ongoing version of python-fuelclient.
  3. api: '1.0'
  4. astute_sha: 81e7ca74722a465b937bc2a9875d8976f2a3e2bf
  5. auth_required: true
  6. build_id: 2015-03-04_10-18-26
  7. build_number: '159'
  8. feature_groups:
  9. - mirantis
  10. fuellib_sha: 08cebf0b514b7ff05e337ef386f7afb660216b67
  11. fuelmain_sha: baf24424a4e056c6753913de5f8c94851903f718
  12. nailgun_sha: b18bd21c2a777c62d2bf0dfbf0674315438396d6
  13. ostf_sha: b47bb2ad09e60a25040e21f250018e256f3bebdd
  14. production: docker
  15. python-fuelclient_sha: 7c8c5f77776daf13c04003b42a2727f94e838030
  16. release: '6.1'
  17. release_versions:
  18. 2014.2-6.1:
  19. VERSION:
  20. api: '1.0'
  21. astute_sha: 81e7ca74722a465b937bc2a9875d8976f2a3e2bf
  22. build_id: 2015-03-04_10-18-26
  23. build_number: '159'
  24. feature_groups:
  25. - mirantis
  26. fuellib_sha: 08cebf0b514b7ff05e337ef386f7afb660216b67
  27. fuelmain_sha: baf24424a4e056c6753913de5f8c94851903f718
  28. nailgun_sha: b18bd21c2a777c62d2bf0dfbf0674315438396d6
  29. ostf_sha: b47bb2ad09e60a25040e21f250018e256f3bebdd
  30. production: docker
  31. python-fuelclient_sha: 7c8c5f77776daf13c04003b42a2727f94e838030
  32. release: '6.1'
  33.  
  34.  
  35. Current settings
  36.  
  37. [root@nailgun ~]# fuel node
  38. DEPRECATION WARNING: file /etc/fuel/client/config.yaml is found and will be used as a source for settings. However, it deprecated and will not be used by default in the ongoing version of python-fuelclient.
  39. id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
  40. ---|--------|------------------|---------|------------|-------------------|-------------------|---------------|--------|---------
  41. 10 | ready | Untitled (5e:ab) | 2 | 10.122.0.8 | ae:e9:a9:90:27:41 | ceph-osd, compute | | True | 2
  42. 7 | ready | Untitled (9c:4c) | 2 | 10.122.0.5 | de:3c:0a:0c:bc:4f | controller | | True | 2
  43. 9 | ready | Untitled (36:c3) | 2 | 10.122.0.4 | a2:78:1e:d3:0e:4b | ceph-osd, compute | | True | 2
  44. 8 | ready | Untitled (b5:e5) | 2 | 10.122.0.6 | 12:18:b5:bc:bc:40 | controller | | True | 2
  45. 6 | ready | Untitled (ef:76) | 2 | 10.122.0.7 | 52:2f:13:80:0e:49 | controller | | True | 2
  46.  
  47. [root@nailgun ~]# for i in $(fuel node | grep controller | awk '{print $10}'); do ssh 2>/dev/null $i "grep 'nameserver' /etc/resolv.conf; host 10.122.0.8" ; done
  48. DEPRECATION WARNING: file /etc/fuel/client/config.yaml is found and will be used as a source for settings. However, it deprecated and will not be used by default in the ongoing version of python-fuelclient.
  49. nameserver 10.122.0.2
  50. 8.0.122.10.in-addr.arpa domain name pointer node-10.test.domain.local.
  51. nameserver 10.122.0.2
  52. 8.0.122.10.in-addr.arpa domain name pointer node-10.test.domain.local.
  53. nameserver 10.122.0.2
  54. 8.0.122.10.in-addr.arpa domain name pointer node-10.test.domain.local.
  55.  
  56. Break DNS
  57.  
  58. [root@nailgun ~]# for i in $(fuel node | grep controller | awk '{print $10}'); do ssh 2>/dev/null $i "sed -i 's/10.122.0.2/10.122.0.253/g' /etc/resolv.conf; host 10.122.0.8" ; done
  59. DEPRECATION WARNING: file /etc/fuel/client/config.yaml is found and will be used as a source for settings. However, it deprecated and will not be used by default in the ongoing version of python-fuelclient.
  60. ;; connection timed out; no servers could be reached
  61. ;; connection timed out; no servers could be reached
  62. ;; connection timed out; no servers could be reached
  63. [root@node-6 ~]# nova list
  64. +--------------------------------------+---------+--------+----------------------+-------------+----------------------+
  65. | ID | Name | Status | Task State | Power State | Networks |
  66. +--------------------------------------+---------+--------+----------------------+-------------+----------------------+
  67. | 8751fb9c-3a84-4efe-8cd7-dd8f9e5a503c | test | ERROR | block_device_mapping | NOSTATE | |
  68. | 53962b03-a5cc-4b97-908f-c07eef1f6b06 | test123 | ACTIVE | - | Running | net04=192.168.111.10 |
  69. | 62f8c7b5-9b52-4dc5-a9e2-2d33434d8216 | test15 | ACTIVE | - | Running | net04=192.168.111.9 |
  70. | c92e97d9-a35f-4f40-9da1-bb417b926110 | test5 | ERROR | block_device_mapping | NOSTATE | |
  71. +--------------------------------------+---------+--------+----------------------+-------------+----------------------+
  72. [root@node-6 ~]# nova get-vnc-console test123 novnc
  73. +-------+---------------------------------------------------------------------------------+
  74. | Type | Url |
  75. +-------+---------------------------------------------------------------------------------+
  76. | novnc | http://10.122.1.2:6080/vnc_auto.html?token=f97591ee-47bc-4964-bb8c-c61f6bea2c73 |
  77. +-------+---------------------------------------------------------------------------------+
  78.  
  79. Verify via browser that VNC is working fine. (127.0.0.1 it's SSH tunnel to openstack)
  80. Screenshot http://s9.postimg.org/r4soerya7/VNC_6_1.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement