Advertisement
savsui

Untitled

Aug 28th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.56 KB | None | 0 0
  1. euca-describe-availability-zones verbose
  2. AVAILABILITYZONE        nova    available
  3. AVAILABILITYZONE        |- in01emt16
  4. AVAILABILITYZONE        | |- nova-scheduler     enabled :-) 2011-08-28 08:26:07
  5. AVAILABILITYZONE        | |- nova-network       enabled :-) 2011-08-28 08:26:09
  6. AVAILABILITYZONE        | |- nova-volume        enabled :-) 2011-08-28 08:26:08
  7. AVAILABILITYZONE        |- in01emt17
  8. AVAILABILITYZONE        | |- nova-compute       enabled :-) 2011-08-28 08:26:04
  9.  
  10.  
  11. root@in01emt16:~# cat /etc/network/interfaces
  12.  
  13. # The loopback network interface
  14. auto lo
  15. iface lo inet loopback
  16.  
  17. # The primary network interface
  18. auto eth0
  19. iface eth0 inet static
  20.         address 10.144.199.85
  21.         netmask 255.255.255.0
  22.         network 10.144.199.0
  23.         broadcast 10.144.199.255
  24.         gateway 10.144.199.254
  25.        
  26.         dns-nameservers 10.144.139.21
  27.        
  28.  
  29. auto br100
  30. iface br100 inet static
  31. bridge_ports eth1
  32. bridge_stp off
  33. bridge_maxwait 0
  34. bridge_fd 0
  35. address 192.168.3.1
  36. netmask 255.255.0.0
  37. broadcast 192.168.255.255
  38.  
  39.  
  40.  
  41.  
  42. root@in01emt17:~# cat /etc/network/interfaces
  43.  
  44. # The loopback network interface
  45. auto lo
  46. iface lo inet loopback
  47.  
  48. # The primary network interface
  49. auto eth0
  50. iface eth0 inet static
  51.         address 10.144.199.86
  52.         netmask 255.255.255.0
  53.         network 10.144.199.0
  54.         broadcast 10.144.199.255
  55.         gateway 10.144.199.254
  56.         # dns-* options are implemented by the resolvconf package, if installed
  57.         dns-nameservers 10.144.139.21
  58.  
  59. auto br100
  60. iface br100 inet static
  61. bridge_ports eth1
  62. bridge_stp off
  63. bridge_maxwait 0
  64. bridge_fd 0
  65. address 192.168.3.2
  66. netmask 255.255.0.0
  67. broadcast 192.168.255.255
  68.  
  69.  
  70.  
  71. root@in01emt16:~# cat /etc/hosts
  72. 127.0.0.1       localhost
  73. 192.168.3.1 in01emt16.synopsys.com  in01emt16
  74. 192.168.3.2 in01emt17.synopsys.com  in01emt17
  75.  
  76.  
  77.  
  78.  
  79. root@in01emt16:~# euca-describe-instances
  80. RESERVATION     r-urge0kkc      proj    default
  81. INSTANCE        i-0000000f      ami-00000002    192.168.3.3     192.168.3.3    running  None (proj, in01emt17)  0               m1.small        2011-08-28T07:39:42Z    nova
  82.  
  83.  
  84. root@in01emt16:~# cat /etc/nova/nova.conf
  85. --dhcpbridge_flagfile=/etc/nova/nova.conf
  86. --dhcpbridge=/usr/bin/nova-dhcpbridge
  87. --logdir=/var/log/nova
  88. --state_path=/var/lib/nova
  89. --lock_path=/var/lock/nova
  90. --verbose=1
  91. --s3_host=10.144.199.85
  92. --rabbit_host=192.168.3.1
  93. --cc_host=192.168.3.1
  94. --fixed_range=192.168.0.0/16
  95. --network_size=8
  96. --ec2_url=http://10.144.199.85:8773/services/Cloud
  97. --FAKE_subdomain=ec2
  98. --routing_source_ip=192.168.3.1
  99. --sql_connection=mysql://root:nova@10.144.199.85/nova
  100. --glance_host=192.168.3.1
  101. --image_service=nova.image.glance.GlanceImageService
  102. --iscsi_ip_prefix=193.168.3
  103. --network_manager=nova.network.manager.FlatDHCPManager
  104. --flat_interface=eth1
  105. --flat_injected=False
  106. --public_interface=eth0
  107. --flat_network_dhcp_start=192.168.3.3
  108. --volume_manager=nova.volume.manager.VolumeManager
  109. --volume_topic=volume
  110. --my_ip=10.144.199.85
  111.  
  112.  
  113.  
  114. 2011-08-28 13:18:36,813 WARNING nova.volume.driver [-] ISCSI provider_location n
  115. ot stored, using discovery
  116. 2011-08-28 13:18:36,813 DEBUG nova.utils [-] Running cmd (subprocess): sudo iscs
  117. iadm -m discovery -t sendtargets -p in01emt16 from (pid=1284) execute /usr/lib/p
  118. ymodules/python2.7/nova/utils.py:150
  119. 2011-08-28 13:18:37,027 ERROR nova [-] Exception during message handling
  120. (nova): TRACE: Traceback (most recent call last):
  121. (nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/rpc.py", line 188, in _receive
  122. (nova): TRACE:     rval = node_func(context=ctxt, **node_args)
  123. (nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/compute/manager.py", line 105, in decorated_function
  124. (nova): TRACE:     function(self, context, instance_id, *args, **kwargs)
  125. (nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/compute/manager.py", line 743, in attach_volume
  126. (nova): TRACE:     volume_id)
  127. (nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/volume/manager.py", line 164, in setup_compute_volume
  128. (nova): TRACE:     path = self.driver.discover_volume(context, volume_ref)
  129. (nova): TRACE:     path = self.driver.discover_volume(context, volume_ref)
  130. (nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/volume/driver.py", line 446, in discover_volume
  131. (nova): TRACE:     iscsi_properties = self._get_iscsi_properties(volume)
  132. (nova): TRACE:   File "/usr/lib/pymodules/python2.7/nova/volume/driver.py", line 407, in _get_iscsi_properties
  133. (nova): TRACE:     (volume['name']))
  134. (nova): TRACE: Error: Could not find iSCSI export  for volume volume-00000002
  135. (nova): TRACE:
  136.  
  137.  
  138. root@in01emt17:~# iscsiadm -m node
  139. 192.168.3.1:3260,1 iqn.2010-10.org.openstack:volume-00000002
  140. 10.144.199.85:3260,1 iqn.2010-10.org.openstack:volume-00000002
  141. 169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-00000002
  142. 192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-00000002
  143. 192.168.3.1:3260,1 iqn.2010-10.org.openstack:volume-00000005
  144. 10.144.199.85:3260,1 iqn.2010-10.org.openstack:volume-00000005
  145. 169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-00000005
  146. 192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-00000005
  147. 192.168.3.1:3260,1 iqn.2010-10.org.openstack:volume-00000003
  148. 10.144.199.85:3260,1 iqn.2010-10.org.openstack:volume-00000003
  149. 169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-00000003
  150. 192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-00000003
  151. 192.168.3.1:3260,1 iqn.2010-10.org.openstack:volume-00000006
  152. 10.144.199.85:3260,1 iqn.2010-10.org.openstack:volume-00000006
  153. 169.254.169.254:3260,1 iqn.2010-10.org.openstack:volume-00000006
  154. 192.168.122.1:3260,1 iqn.2010-10.org.openstack:volume-00000006
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement