Untitled

From remo, 3 Years ago, written in Plain Text, viewed 335 times.
URL http://pastebin.mattei.co/index.php/view/27e5fd87 Embed
Download Paste or View Raw
  1. root@ubuntu:/opt/openstack-ansible# scripts/bootstrap-aio.sh -vvvvv
  2. + export BOOTSTRAP_OPTS=bootstrap_host_ubuntu_repo=http://mymirror.example.com/ubuntu
  3. + BOOTSTRAP_OPTS=bootstrap_host_ubuntu_repo=http://mymirror.example.com/ubuntu
  4. + pushd tests
  5. /opt/openstack-ansible/tests /opt/openstack-ansible
  6. + ansible-playbook -i 'localhost ansible-connection=local,' -e bootstrap_host_ubuntu_repo=http://mymirror.example.com/ubuntu bootstrap-aio.yml
  7.  
  8. PLAY [localhost] **************************************************************
  9.  
  10. GATHERING FACTS ***************************************************************
  11. ok: [localhost]
  12.  
  13. TASK: [sshd | Set OS dependent variables] *************************************
  14. ok: [localhost] => (item=/etc/ansible/roles/sshd/vars/Ubuntu_14.yml)
  15.  
  16. TASK: [sshd | OS is supported] ************************************************
  17. ok: [localhost]
  18.  
  19. TASK: [sshd | Installed] ******************************************************
  20. ok: [localhost] => (item=openssh-server)
  21. ok: [localhost] => (item=openssh-sftp-server)
  22.  
  23. TASK: [sshd | Run directory] **************************************************
  24. ok: [localhost]
  25.  
  26. TASK: [sshd | Configuration] **************************************************
  27. ok: [localhost]
  28.  
  29. TASK: [sshd | Service enabled and running] ************************************
  30. ok: [localhost]
  31.  
  32. TASK: [sshd | Register that this role has run] ********************************
  33. ok: [localhost]
  34.  
  35. TASK: [pip_install | Create pip config directory] *****************************
  36. ok: [localhost] => (item=/opt)
  37. ok: [localhost] => (item=/root/.cache)
  38. ok: [localhost] => (item=/root/.cache/pip)
  39.  
  40. TASK: [pip_install | Drop pip file(s)] ****************************************
  41. changed: [localhost] => (item={'dest': u'/root/.cache/pip/selfcheck.json', 'src': 'selfcheck.json'})
  42.  
  43. TASK: [pip_install | Get Modern PIP] ******************************************
  44. ok: [localhost]
  45.  
  46. TASK: [pip_install | Get Modern PIP using fallback URL] ***********************
  47. skipping: [localhost]
  48.  
  49. TASK: [pip_install | Install PIP] *********************************************
  50. changed: [localhost]
  51.  
  52. TASK: [pip_install | Install PIP (fall back mode)] ****************************
  53. skipping: [localhost]
  54.  
  55. TASK: [bootstrap-host | Check for a supported Operating System] ***************
  56. ok: [localhost]
  57.  
  58. TASK: [bootstrap-host | Identify the space available in /] ********************
  59. ok: [localhost]
  60.  
  61. TASK: [bootstrap-host | Set root disk facts] **********************************
  62. ok: [localhost]
  63.  
  64. TASK: [bootstrap-host | Set data disk facts] **********************************
  65. skipping: [localhost]
  66.  
  67. TASK: [bootstrap-host | Calculate data disk size] *****************************
  68. skipping: [localhost]
  69.  
  70. TASK: [bootstrap-host | Set min size fact] ************************************
  71. ok: [localhost]
  72.  
  73. TASK: [bootstrap-host | Fail if there is not enough space available in /] *****
  74. ok: [localhost]
  75.  
  76. TASK: [bootstrap-host | Fail if there is not enough disk space available (disk specified)] ***
  77. skipping: [localhost]
  78.  
  79. TASK: [bootstrap-host | Ensure that the kernel has VXLAN support] *************
  80. ok: [localhost]
  81.  
  82. TASK: [bootstrap-host | Gather variables for each operating system] ***********
  83. ok: [localhost] => (item=/opt/openstack-ansible/tests/roles/bootstrap-host/vars/ubuntu.yml)
  84.  
  85. TASK: [bootstrap-host | Create the required directories] **********************
  86. ok: [localhost] => (item=/openstack)
  87.  
  88. TASK: [bootstrap-host | Ensure that apt supports HTTPS package sources] *******
  89. ok: [localhost]
  90.  
  91. TASK: [bootstrap-host | Determine the list of apt configuration files on the host] ***
  92. changed: [localhost]
  93.  
  94. TASK: [bootstrap-host | Determine the existing Ubuntu repo configuration] *****
  95. skipping: [localhost]
  96.  
  97. TASK: [bootstrap-host | Determine the existing Ubuntu Security repo configuration] ***
  98. ok: [localhost]
  99.  
  100. TASK: [bootstrap-host | Set apt repo facts based on discovered information] ***
  101. skipping: [localhost]
  102.  
  103. TASK: [bootstrap-host | Configure apt's sources.list (Ubuntu only)] ***********
  104. skipping: [localhost]
  105.  
  106. TASK: [bootstrap-host | Update apt-cache] *************************************
  107. skipping: [localhost]
  108.  
  109. TASK: [bootstrap-host | Remove known problem packages] ************************
  110. ok: [localhost] => (item=libmysqlclient18,mysql-common)
  111.  
  112. TASK: [bootstrap-host | Install required packages] ****************************
  113. ok: [localhost] => (item=bridge-utils,build-essential,curl,ethtool,git-core,ipython,linux-image-extra-3.19.0-58-generic,lvm2,python2.7,python-dev,tmux,vim,vlan,xfsprogs)
  114.  
  115. TASK: [bootstrap-host | Install MongoDB packages] *****************************
  116. ok: [localhost] => (item=mongodb-clients,mongodb-server,python-pymongo)
  117.  
  118. TASK: [bootstrap-host | Install LibVirt packages] *****************************
  119. skipping: [localhost]
  120.  
  121. TASK: [bootstrap-host | Determine whether partitions labeled openstack-data{1,2} are present] ***
  122. skipping: [localhost]
  123.  
  124. TASK: [bootstrap-host | Dismount and remove fstab entries for anything on the data disk device] ***
  125. skipping: [localhost] => (item={u'options': u'rw,errors=remount-ro', u'uuid': u'010cad59-c752-416c-b167-c51f69de4665', u'size_total': 78770102272, u'device': u'/dev/sda1', u'mount': u'/', u'size_available': 69359030272, u'fstype': u'ext4'})
  126. skipping: [localhost] => (item={u'options': u'rw', u'uuid': u'8f884572-5915-4008-bbce-08194bab8884', u'size_total': 1082125373440, u'device': u'/dev/loop1', u'mount': u'/var/lib/nova/instances', u'size_available': 1027058282496, u'fstype': u'ext4'})
  127. skipping: [localhost] => (item={u'options': u'rw,noatime,nodiratime,nobarrier,logbufs=8', u'uuid': u'66fa9efb-ffe0-47aa-a9c2-63e1bb2581ba', u'size_total': 1098974756864, u'device': u'/dev/loop2', u'mount': u'/srv/swift1.img', u'size_available': 1098941038592, u'fstype': u'xfs'})
  128. skipping: [localhost] => (item={u'options': u'rw,noatime,nodiratime,nobarrier,logbufs=8', u'uuid': u'669048ac-890b-4516-8a29-85b5fe05a15d', u'size_total': 1098974756864, u'device': u'/dev/loop3', u'mount': u'/srv/swift2.img', u'size_available': 1098941038592, u'fstype': u'xfs'})
  129. skipping: [localhost] => (item={u'options': u'rw,noatime,nodiratime,nobarrier,logbufs=8', u'uuid': u'e4fdbc4d-b8c7-4e02-b05f-a44ac2a2f329', u'size_total': 1098974756864, u'device': u'/dev/loop4', u'mount': u'/srv/swift3.img', u'size_available': 1098941038592, u'fstype': u'xfs'})
  130.  
  131. TASK: [bootstrap-host | Partition the whole data disk for our usage] **********
  132. skipping: [localhost] => (item=parted --script /dev/{# bootstrap_host_data_disk_device #} mklabel gpt)
  133. skipping: [localhost] => (item=parted --align optimal --script /dev/{# bootstrap_host_data_disk_device #} mkpart openstack-data1 ext4 0% 40%)
  134. skipping: [localhost] => (item=parted --align optimal --script /dev/{# bootstrap_host_data_disk_device #} mkpart openstack-data2 ext4 40% 100%)
  135.  
  136. TASK: [bootstrap-host | Format the partitions] ********************************
  137. skipping: [localhost] => (item=/dev/{# bootstrap_host_data_disk_device  #}1)
  138. skipping: [localhost] => (item=/dev/{# bootstrap_host_data_disk_device  #}2)
  139.  
  140. TASK: [bootstrap-host | Create the mount points, fstab entries and mount the file systems] ***
  141. skipping: [localhost] => (item={'device': u'/dev/{# bootstrap_host_data_disk_device  #}1', 'mount_point': '/openstack'})
  142. skipping: [localhost] => (item={'device': u'/dev/{# bootstrap_host_data_disk_device  #}2', 'mount_point': '/var/lib/lxc'})
  143.  
  144. TASK: [bootstrap-host | Create swap file] *************************************
  145. skipping: [localhost]
  146.  
  147. TASK: [bootstrap-host | Set swap file permissions to 0600] ********************
  148. skipping: [localhost]
  149.  
  150. TASK: [bootstrap-host | Format the swap file] *********************************
  151. skipping: [localhost]
  152.  
  153. TASK: [bootstrap-host | Ensure that the swap file entry is in /etc/fstab] *****
  154. skipping: [localhost]
  155.  
  156. TASK: [bootstrap-host | Bring swap file online] *******************************
  157. skipping: [localhost]
  158.  
  159. TASK: [bootstrap-host | Set system swappiness] ********************************
  160. skipping: [localhost]
  161.  
  162. TASK: [bootstrap-host | Create sparse Cinder file] ****************************
  163. ok: [localhost]
  164.  
  165. TASK: [bootstrap-host | Get a loopback device for cinder file] ****************
  166. skipping: [localhost]
  167.  
  168. TASK: [bootstrap-host | Create the loopback device] ***************************
  169. skipping: [localhost]
  170.  
  171. TASK: [bootstrap-host | Ensure that rc.local exists] **************************
  172. changed: [localhost]
  173.  
  174. TASK: [bootstrap-host | Create loopback devices at boot time] *****************
  175. ok: [localhost]
  176.  
  177. TASK: [bootstrap-host | Make LVM physical volume on the cinder device] ********
  178. skipping: [localhost] => (item=pvcreate {# cinder_losetup.stdout #})
  179. skipping: [localhost] => (item=pvscan)
  180.  
  181. TASK: [bootstrap-host | Add cinder-volumes volume group] **********************
  182. skipping: [localhost]
  183.  
  184. TASK: [bootstrap-host | Create sparse Nova file] ******************************
  185. ok: [localhost]
  186.  
  187. TASK: [bootstrap-host | Format the Nova file] *********************************
  188. skipping: [localhost]
  189.  
  190. TASK: [bootstrap-host | Create the mount points, fstab entries and mount the file systems] ***
  191. ok: [localhost]
  192.  
  193. TASK: [bootstrap-host | Create sparse Swift files] ****************************
  194. ok: [localhost] => (item=swift1)
  195. ok: [localhost] => (item=swift2)
  196. ok: [localhost] => (item=swift3)
  197.  
  198. TASK: [bootstrap-host | Format the Swift files] *******************************
  199. skipping: [localhost] => (item=swift1)
  200. skipping: [localhost] => (item=swift2)
  201. skipping: [localhost] => (item=swift3)
  202.  
  203. TASK: [bootstrap-host | Create the Swift mount points, fstab entries and mount the file systems] ***
  204. changed: [localhost] => (item=swift1)
  205. changed: [localhost] => (item=swift2)
  206. changed: [localhost] => (item=swift3)
  207.  
  208. TASK: [bootstrap-host | Ensure that /etc/network/interfaces.d/ exists] ********
  209. ok: [localhost]
  210.  
  211. TASK: [bootstrap-host | Copy network configuration] ***************************
  212. ok: [localhost]
  213.  
  214. TASK: [bootstrap-host | Ensure our interfaces.d configuration files are loaded automatically] ***
  215. ok: [localhost]
  216.  
  217. TASK: [bootstrap-host | Shut down the network interfaces] *********************
  218. skipping: [localhost] => (item=br-mgmt)
  219. skipping: [localhost] => (item=br-storage)
  220. skipping: [localhost] => (item=br-vlan)
  221. skipping: [localhost] => (item=br-vxlan)
  222.  
  223. TASK: [bootstrap-host | Start the network interfaces] *************************
  224. skipping: [localhost] => (item=br-mgmt)
  225. skipping: [localhost] => (item=br-storage)
  226. skipping: [localhost] => (item=br-vlan)
  227. skipping: [localhost] => (item=br-vxlan)
  228.  
  229. TASK: [bootstrap-host | Ensure root has a .ssh directory] *********************
  230. ok: [localhost]
  231.  
  232. TASK: [bootstrap-host | Check for existing ssh private key file] **************
  233. ok: [localhost]
  234.  
  235. TASK: [bootstrap-host | Check for existing ssh public key file] ***************
  236. ok: [localhost]
  237.  
  238. TASK: [bootstrap-host | Remove an existing private/public ssh keys if one is missing] ***
  239. skipping: [localhost] => (item=id_rsa)
  240. skipping: [localhost] => (item=id_rsa.pub)
  241.  
  242. TASK: [bootstrap-host | Create ssh key pair for root] *************************
  243. ok: [localhost]
  244.  
  245. TASK: [bootstrap-host | Ensure root's new public ssh key is in authorized_keys] ***
  246. ok: [localhost]
  247.  
  248. TASK: [bootstrap-host | Create the required deployment directories] ***********
  249. ok: [localhost] => (item=/etc/openstack_deploy/)
  250. ok: [localhost] => (item=/etc/openstack_deploy/conf.d)
  251. ok: [localhost] => (item=/etc/openstack_deploy/env.d)
  252.  
  253. TASK: [bootstrap-host | Deploy environment (env.d) configuration] *************
  254. ok: [localhost] => (item={'override': {}, 'name': 'aodh.yml'})
  255. ok: [localhost] => (item={'override': {}, 'name': 'ceilometer.yml'})
  256. ok: [localhost] => (item={'override': {}, 'name': 'cinder.yml'})
  257. ok: [localhost] => (item={'override': {}, 'name': 'galera.yml'})
  258. ok: [localhost] => (item={'override': {}, 'name': 'glance.yml'})
  259. ok: [localhost] => (item={'override': {}, 'name': 'haproxy.yml'})
  260. ok: [localhost] => (item={'override': {}, 'name': 'heat.yml'})
  261. ok: [localhost] => (item={'override': {}, 'name': 'horizon.yml'})
  262. ok: [localhost] => (item={'override': {}, 'name': 'infra.yml'})
  263. ok: [localhost] => (item={'override': {}, 'name': 'ironic.yml'})
  264. ok: [localhost] => (item={'override': {}, 'name': 'keystone.yml'})
  265. ok: [localhost] => (item={'override': {}, 'name': 'memcache.yml'})
  266. ok: [localhost] => (item={'override': {}, 'name': 'neutron.yml'})
  267. ok: [localhost] => (item={'override': {}, 'name': 'nova.yml'})
  268. ok: [localhost] => (item={'override': {}, 'name': 'os-infra.yml'})
  269. ok: [localhost] => (item={'override': {}, 'name': 'pkg_repo.yml'})
  270. ok: [localhost] => (item={'override': {}, 'name': 'rabbitmq.yml'})
  271. ok: [localhost] => (item={'override': {}, 'name': 'rsyslog.yml'})
  272. ok: [localhost] => (item={'override': {}, 'name': 'shared-infra.yml'})
  273. ok: [localhost] => (item={'override': {}, 'name': 'swift-remote.yml'})
  274. ok: [localhost] => (item={'override': {}, 'name': 'swift.yml'})
  275. ok: [localhost] => (item={'override': {}, 'name': 'utility.yml'})
  276.  
  277. TASK: [bootstrap-host | Deploy user conf.d configuration] *********************
  278. ok: [localhost] => (item={'override': {}, 'name': 'aodh.yml.aio'})
  279. ok: [localhost] => (item={'override': {}, 'name': 'ceilometer.yml.aio'})
  280. ok: [localhost] => (item={'override': {}, 'name': 'swift.yml.aio'})
  281. ok: [localhost] => (item={'override': {}, 'name': 'ironic.yml.aio'})
  282.  
  283. TASK: [bootstrap-host | Deploy openstack_user_config] *************************
  284. ok: [localhost]
  285.  
  286. TASK: [bootstrap-host | Deploy user_secrets file] *****************************
  287. changed: [localhost]
  288.  
  289. TASK: [bootstrap-host | Generate any missing values in user_secrets] **********
  290. changed: [localhost]
  291.  
  292. TASK: [bootstrap-host | Get the DNS servers in use on the host] ***************
  293. changed: [localhost]
  294.  
  295. TASK: [bootstrap-host | Set lxc_cache_resolvers fact] *************************
  296. ok: [localhost]
  297.  
  298. TASK: [bootstrap-host | Set the user_variables] *******************************
  299. fatal: [localhost] => One or more undefined variables: 'bootstrap_host_ubuntu_security_repo' is undefined
  300.  
  301. FATAL: all hosts have already failed -- aborting
  302.  
  303. PLAY RECAP ********************************************************************
  304. bootstrap-host | Deploy environment (env.d) configuration --------------- 1.23s
  305. pip_install | Install PIP ----------------------------------------------- 1.20s
  306. pip_install | Get Modern PIP -------------------------------------------- 1.08s
  307. sshd | Installed -------------------------------------------------------- 1.01s
  308. bootstrap-host | Ensure that apt supports HTTPS package sources --------- 0.53s
  309. bootstrap-host | Install MongoDB packages ------------------------------- 0.53s
  310. bootstrap-host | Install required packages ------------------------------ 0.52s
  311. bootstrap-host | Remove known problem packages -------------------------- 0.51s
  312. bootstrap-host | Deploy user conf.d configuration ----------------------- 0.24s
  313. sshd | Configuration ---------------------------------------------------- 0.16s
  314.            to retry, use: --limit @/root/bootstrap-aio.retry
  315.  
  316. localhost                  : ok=58   changed=8    unreachable=1    failed=0

Reply to "Untitled"

Here you can reply to the paste above