daily pastebin goal
90%
SHARE
TWEET

fuel-bootstrap-image-build.log

ttcong Mar 26th, 2017 (edited) 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. initialize app
  2. preparing following command to run: BuildCommand
  3. Try to build image with data:
  4. bootstrap:
  5.   certs: null
  6.   container: {format: tar.gz, meta_file: metadata.yaml}
  7.   extend_kopts: biosdevname=0 net.ifnames=1 debug ignore_loglevel log_buf_len=10M
  8.     print_fatal_signals=1 LOGLEVEL=8
  9.   extra_files: [/usr/share/fuel_bootstrap_cli/files/trusty]
  10.   label: 129ac083-3571-4991-b645-9a4532efd6c1
  11.   modules:
  12.   - {mask: kernel, name: kernel, uri: 'http://127.0.0.1:8080/bootstraps/129ac083-3571-4991-b645-9a4532efd6c1/vmlinuz'}
  13.   - {compress_format: xz, mask: initrd, name: initrd, uri: 'http://127.0.0.1:8080/bootstraps/129ac083-3571-4991-b645-9a4532efd6c1/initrd.img'}
  14.   - &id001 {compress_format: xz, container: raw, format: ext4, mask: rootfs, name: rootfs,
  15.     uri: 'http://127.0.0.1:8080/bootstraps/129ac083-3571-4991-b645-9a4532efd6c1/root.squashfs'}
  16.   post_script_file: null
  17.   root_ssh_authorized_file: /root/.ssh/id_rsa.pub
  18.   uuid: 129ac083-3571-4991-b645-9a4532efd6c1
  19. codename: trusty
  20. hashed_root_password: null
  21. image_data:
  22.   /: *id001
  23. output: /tmp/129ac083-3571-4991-b645-9a4532efd6c1.tar.gz
  24. packages: [squashfs-tools, nailgun-agent, nailgun-mcagents, live-boot, openssh-server,
  25.   i40e-dkms, vim, fuel-agent, mcollective, xz-utils, msmtp-mta, wget, hpsa-dkms, multipath-tools-boot,
  26.   multipath-tools, hwloc, openssh-client, mc, ntp, linux-firmware, linux-firmware-nonfree,
  27.   network-checker, live-boot-initramfs-tools, linux-headers-generic, linux-image-generic-lts-trusty,
  28.   ubuntu-minimal]
  29. proxies: {}
  30. repos:
  31. - {name: ubuntu, priority: null, section: main universe multiverse, suite: trusty,
  32.   type: deb, uri: 'http://127.0.0.1:8080/mirrors/ubuntu'}
  33. - {name: ubuntu-updates, priority: null, section: main universe multiverse, suite: trusty-updates,
  34.   type: deb, uri: 'http://127.0.0.1:8080/mirrors/ubuntu'}
  35. - {name: ubuntu-security, priority: null, section: main universe multiverse, suite: trusty-security,
  36.   type: deb, uri: 'http://127.0.0.1:8080/mirrors/ubuntu'}
  37. - {name: mos, priority: 1050, section: main restricted, suite: mos9.0, type: deb,
  38.   uri: 'http://127.0.0.1:8080/ubuntu/x86_64'}
  39. root_password: null
  40.  
  41. Trying to get driver: fuel_agent.drivers.bootstrap_build_image
  42. found extension EntryPoint.parse('bootstrap_build_image = fuel_agent.drivers.bootstrap:BootstrapBuildImage')
  43. found extension EntryPoint.parse('ironic = fuel_agent.drivers.nailgun:Ironic')
  44. found extension EntryPoint.parse('nailgun = fuel_agent.drivers.nailgun:Nailgun')
  45. found extension EntryPoint.parse('nailgun_build_image = fuel_agent.drivers.nailgun:NailgunBuildImage')
  46. found extension EntryPoint.parse('nailgun_simple = fuel_agent.drivers.simple:NailgunSimpleDriver')
  47. Found driver: BootstrapBuildImage
  48. Build process is in progress. Usually it takes 15-20 minutes. It depends on your internet connection and hardware performance.
  49. --- Building bootstrap image (do_mkbootstrap) ---
  50. Creating bootstrap container folder
  51. Creating temporary chroot directory
  52. Temporary chroot dir: /tmp/tmpylfj8l.fuel-agent-image_container
  53. Creating temporary chroot directory
  54. Temporary chroot dir: /tmp/tmpZPi9Cb.fuel-agent-image
  55. *** Preparing image space ***
  56. Creating temporary sparsed file for the image: file:///tmp/129ac083-3571-4991-b645-9a4532efd6c1.tar.gz/root.squashfs
  57. Trying to execute command: truncate -s 8192M /tmp/tmpQ7RHi8.fuel-agent-image
  58. Temporary file: /tmp/tmpQ7RHi8.fuel-agent-image
  59. Looking for a free loop device
  60. Trying to execute command: losetup --find
  61. Attaching image file '/tmp/tmpQ7RHi8.fuel-agent-image' to free loop device '/dev/loop2'
  62. Trying to execute command: losetup /dev/loop2 /tmp/tmpQ7RHi8.fuel-agent-image
  63. Creating file system on the image
  64. Trying to execute command: mkfs.ext4 /dev/loop2
  65. Trying to execute command: blkid -c /dev/null -o value -s UUID /dev/loop2
  66. Trying to disable journaling for ext4 in order to speed up the build
  67. Trying to execute command: tune2fs -O ^has_journal /dev/loop2
  68. Mounting target file systems: /tmp/tmpZPi9Cb.fuel-agent-image
  69. Trying to execute command: mount -t ext4 /dev/loop2 /tmp/tmpZPi9Cb.fuel-agent-image/
  70. Installing BASE operating system into image
  71. Preventing services from being get started
  72. Installing base operating system using debootstrap
  73. Trying to execute command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  74. Env variables: {'LANG': 'en_US.UTF8', 'TERM': 'linux', 'SHELL': '/bin/bash', 'XDG_RUNTIME_DIR': '/run/user/0', 'SHLVL': '1', 'HOSTNAME': 'fuel.domain.tld', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:', 'XDG_SEAT': 'seat0', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'HISTCONTROL': 'ignoredups', 'PWD': '/root', 'LOGNAME': 'root', 'USER': 'root', 'ADMIN_INTERFACE': 'eth0', 'MAIL': '/var/spool/mail/root', 'XDG_VTNR': '1', 'HOME': '/root', 'HISTSIZE': '1000', 'XDG_SESSION_ID': '1', '_': '/bin/fuel-bootstrap', 'PATH': '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin'}
  75. Failed to execute command: Unexpected error while running command.
  76. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  77. Exit code: 1
  78. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  79. Stderr: ''
  80. Failed to execute command: Unexpected error while running command.
  81. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  82. Exit code: 1
  83. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  84. Stderr: ''
  85. Failed to execute command: Unexpected error while running command.
  86. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  87. Exit code: 1
  88. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  89. Stderr: ''
  90. Failed to execute command: Unexpected error while running command.
  91. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  92. Exit code: 1
  93. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  94. Stderr: ''
  95. Failed to execute command: Unexpected error while running command.
  96. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  97. Exit code: 1
  98. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  99. Stderr: ''
  100. Failed to execute command: Unexpected error while running command.
  101. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  102. Exit code: 1
  103. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  104. Stderr: ''
  105. Failed to execute command: Unexpected error while running command.
  106. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  107. Exit code: 1
  108. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  109. Stderr: ''
  110. Failed to execute command: Unexpected error while running command.
  111. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  112. Exit code: 1
  113. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  114. Stderr: ''
  115. Failed to execute command: Unexpected error while running command.
  116. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  117. Exit code: 1
  118. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  119. Stderr: ''
  120. Failed to execute command: Unexpected error while running command.
  121. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  122. Exit code: 1
  123. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  124. Stderr: ''
  125. Failed to build bootstrap image: Unexpected error while running command.
  126. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  127. Exit code: 1
  128. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  129. Stderr: ''
  130. Cleanup chroot
  131. Trying to execute command: fuser -v /tmp/tmpZPi9Cb.fuel-agent-image
  132. There are no running processes in /tmp/tmpZPi9Cb.fuel-agent-image
  133. Finally: umounting procfs /tmp/tmpZPi9Cb.fuel-agent-image/proc
  134. Trying to execute command: mountpoint -q /tmp/tmpZPi9Cb.fuel-agent-image/proc
  135. Failed to execute command: Unexpected error while running command.
  136. Command: mountpoint -q /tmp/tmpZPi9Cb.fuel-agent-image/proc
  137. Exit code: 1
  138. Stdout: ''
  139. Stderr: ''
  140. /tmp/tmpZPi9Cb.fuel-agent-image/proc is not a mountpoint, skipping umount
  141. Finally: umounting chroot tree /tmp/tmpZPi9Cb.fuel-agent-image
  142. Umounting target file systems: /tmp/tmpZPi9Cb.fuel-agent-image
  143. Trying to execute command: mountpoint -q /tmp/tmpZPi9Cb.fuel-agent-image/
  144. Trying to umount /tmp/tmpZPi9Cb.fuel-agent-image/
  145. Trying to execute command: umount /tmp/tmpZPi9Cb.fuel-agent-image/
  146. Finally: detaching loop device: /dev/loop2
  147. Trying to figure out if loop device /dev/loop2 is attached
  148. Trying to execute command: losetup -a
  149. Loop device /dev/loop2 seems to be attached. Trying to detach.
  150. Trying to execute command: losetup -d /dev/loop2
  151. Finally: removing temporary file: /tmp/tmpQ7RHi8.fuel-agent-image
  152. Unexpected error while running command.
  153. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  154. Exit code: 1
  155. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  156. Stderr: ''
  157. Traceback (most recent call last):
  158.   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
  159.     result = cmd.run(parsed_args)
  160.   File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in run
  161.     self.take_action(parsed_args)
  162.   File "/usr/lib/python2.7/site-packages/fuel_bootstrap/commands/build.py", line 177, in take_action
  163.     image_uuid, path = bs_image.make_bootstrap(vars(parsed_args))
  164.   File "/usr/lib/python2.7/site-packages/fuel_bootstrap/utils/bootstrap_image.py", line 174, in make_bootstrap
  165.     mngr.do_mkbootstrap()
  166.   File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 1004, in do_mkbootstrap
  167.     self.install_base_os(chroot)
  168.   File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 730, in install_base_os
  169.     direct_repo_addr=proxies.direct_repo_addr_list)
  170.   File "/usr/lib/python2.7/site-packages/fuel_agent/utils/build.py", line 87, in run_debootstrap
  171.     env_variables=env_vars)
  172.   File "/usr/lib/python2.7/site-packages/fuel_agent/utils/utils.py", line 141, in execute
  173.     stderr=stderr, cmd=command)
  174. ProcessExecutionError: Unexpected error while running command.
  175. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  176. Exit code: 1
  177. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  178. Stderr: ''
  179. clean up BuildCommand
  180. got an error: Unexpected error while running command.
  181. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  182. Exit code: 1
  183. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  184. Stderr: ''
  185. Traceback (most recent call last):
  186.   File "/bin/fuel-bootstrap", line 10, in <module>
  187.     sys.exit(main())
  188.   File "/usr/lib/python2.7/site-packages/fuel_bootstrap/main.py", line 54, in main
  189.     return fuel_bootstrap_app.run(argv)
  190.   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 255, in run
  191.     result = self.run_subcommand(remainder)
  192.   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
  193.     result = cmd.run(parsed_args)
  194.   File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in run
  195.     self.take_action(parsed_args)
  196.   File "/usr/lib/python2.7/site-packages/fuel_bootstrap/commands/build.py", line 177, in take_action
  197.     image_uuid, path = bs_image.make_bootstrap(vars(parsed_args))
  198.   File "/usr/lib/python2.7/site-packages/fuel_bootstrap/utils/bootstrap_image.py", line 174, in make_bootstrap
  199.     mngr.do_mkbootstrap()
  200.   File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 1004, in do_mkbootstrap
  201.     self.install_base_os(chroot)
  202.   File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 730, in install_base_os
  203.     direct_repo_addr=proxies.direct_repo_addr_list)
  204.   File "/usr/lib/python2.7/site-packages/fuel_agent/utils/build.py", line 87, in run_debootstrap
  205.     env_variables=env_vars)
  206.   File "/usr/lib/python2.7/site-packages/fuel_agent/utils/utils.py", line 141, in execute
  207.     stderr=stderr, cmd=command)
  208. fuel_agent.errors.ProcessExecutionError: Unexpected error while running command.
  209. Command: debootstrap --include=ca-certificates,apt-transport-https --verbose --no-check-gpg --arch=amd64 trusty /tmp/tmpZPi9Cb.fuel-agent-image http://127.0.0.1:8080/mirrors/ubuntu
  210. Exit code: 1
  211. Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
  212. Stderr: ''
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top