Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- initialize app
- preparing following command to run: BuildCommand
- Try to build image with data:
- bootstrap:
- certs: null
- container: {format: tar.gz, meta_file: metadata.yaml}
- extend_kopts: biosdevname=0 net.ifnames=1 debug ignore_loglevel log_buf_len=10M
- print_fatal_signals=1 LOGLEVEL=8
- extra_files: [/usr/share/fuel_bootstrap_cli/files/trusty]
- label: 129ac083-3571-4991-b645-9a4532efd6c1
- modules:
- - {mask: kernel, name: kernel, uri: 'http://127.0.0.1:8080/bootstraps/129ac083-3571-4991-b645-9a4532efd6c1/vmlinuz'}
- - {compress_format: xz, mask: initrd, name: initrd, uri: 'http://127.0.0.1:8080/bootstraps/129ac083-3571-4991-b645-9a4532efd6c1/initrd.img'}
- - &id001 {compress_format: xz, container: raw, format: ext4, mask: rootfs, name: rootfs,
- uri: 'http://127.0.0.1:8080/bootstraps/129ac083-3571-4991-b645-9a4532efd6c1/root.squashfs'}
- post_script_file: null
- root_ssh_authorized_file: /root/.ssh/id_rsa.pub
- uuid: 129ac083-3571-4991-b645-9a4532efd6c1
- codename: trusty
- hashed_root_password: null
- image_data:
- /: *id001
- output: /tmp/129ac083-3571-4991-b645-9a4532efd6c1.tar.gz
- packages: [squashfs-tools, nailgun-agent, nailgun-mcagents, live-boot, openssh-server,
- i40e-dkms, vim, fuel-agent, mcollective, xz-utils, msmtp-mta, wget, hpsa-dkms, multipath-tools-boot,
- multipath-tools, hwloc, openssh-client, mc, ntp, linux-firmware, linux-firmware-nonfree,
- network-checker, live-boot-initramfs-tools, linux-headers-generic, linux-image-generic-lts-trusty,
- ubuntu-minimal]
- proxies: {}
- repos:
- - {name: ubuntu, priority: null, section: main universe multiverse, suite: trusty,
- type: deb, uri: 'http://127.0.0.1:8080/mirrors/ubuntu'}
- - {name: ubuntu-updates, priority: null, section: main universe multiverse, suite: trusty-updates,
- type: deb, uri: 'http://127.0.0.1:8080/mirrors/ubuntu'}
- - {name: ubuntu-security, priority: null, section: main universe multiverse, suite: trusty-security,
- type: deb, uri: 'http://127.0.0.1:8080/mirrors/ubuntu'}
- - {name: mos, priority: 1050, section: main restricted, suite: mos9.0, type: deb,
- uri: 'http://127.0.0.1:8080/ubuntu/x86_64'}
- root_password: null
- Trying to get driver: fuel_agent.drivers.bootstrap_build_image
- found extension EntryPoint.parse('bootstrap_build_image = fuel_agent.drivers.bootstrap:BootstrapBuildImage')
- found extension EntryPoint.parse('ironic = fuel_agent.drivers.nailgun:Ironic')
- found extension EntryPoint.parse('nailgun = fuel_agent.drivers.nailgun:Nailgun')
- found extension EntryPoint.parse('nailgun_build_image = fuel_agent.drivers.nailgun:NailgunBuildImage')
- found extension EntryPoint.parse('nailgun_simple = fuel_agent.drivers.simple:NailgunSimpleDriver')
- Found driver: BootstrapBuildImage
- Build process is in progress. Usually it takes 15-20 minutes. It depends on your internet connection and hardware performance.
- --- Building bootstrap image (do_mkbootstrap) ---
- Creating bootstrap container folder
- Creating temporary chroot directory
- Temporary chroot dir: /tmp/tmpylfj8l.fuel-agent-image_container
- Creating temporary chroot directory
- Temporary chroot dir: /tmp/tmpZPi9Cb.fuel-agent-image
- *** Preparing image space ***
- Creating temporary sparsed file for the image: file:///tmp/129ac083-3571-4991-b645-9a4532efd6c1.tar.gz/root.squashfs
- Trying to execute command: truncate -s 8192M /tmp/tmpQ7RHi8.fuel-agent-image
- Temporary file: /tmp/tmpQ7RHi8.fuel-agent-image
- Looking for a free loop device
- Trying to execute command: losetup --find
- Attaching image file '/tmp/tmpQ7RHi8.fuel-agent-image' to free loop device '/dev/loop2'
- Trying to execute command: losetup /dev/loop2 /tmp/tmpQ7RHi8.fuel-agent-image
- Creating file system on the image
- Trying to execute command: mkfs.ext4 /dev/loop2
- Trying to execute command: blkid -c /dev/null -o value -s UUID /dev/loop2
- Trying to disable journaling for ext4 in order to speed up the build
- Trying to execute command: tune2fs -O ^has_journal /dev/loop2
- Mounting target file systems: /tmp/tmpZPi9Cb.fuel-agent-image
- Trying to execute command: mount -t ext4 /dev/loop2 /tmp/tmpZPi9Cb.fuel-agent-image/
- Installing BASE operating system into image
- Preventing services from being get started
- Installing base operating system using debootstrap
- 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
- 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'}
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to execute command: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Failed to build bootstrap image: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Cleanup chroot
- Trying to execute command: fuser -v /tmp/tmpZPi9Cb.fuel-agent-image
- There are no running processes in /tmp/tmpZPi9Cb.fuel-agent-image
- Finally: umounting procfs /tmp/tmpZPi9Cb.fuel-agent-image/proc
- Trying to execute command: mountpoint -q /tmp/tmpZPi9Cb.fuel-agent-image/proc
- Failed to execute command: Unexpected error while running command.
- Command: mountpoint -q /tmp/tmpZPi9Cb.fuel-agent-image/proc
- Exit code: 1
- Stdout: ''
- Stderr: ''
- /tmp/tmpZPi9Cb.fuel-agent-image/proc is not a mountpoint, skipping umount
- Finally: umounting chroot tree /tmp/tmpZPi9Cb.fuel-agent-image
- Umounting target file systems: /tmp/tmpZPi9Cb.fuel-agent-image
- Trying to execute command: mountpoint -q /tmp/tmpZPi9Cb.fuel-agent-image/
- Trying to umount /tmp/tmpZPi9Cb.fuel-agent-image/
- Trying to execute command: umount /tmp/tmpZPi9Cb.fuel-agent-image/
- Finally: detaching loop device: /dev/loop2
- Trying to figure out if loop device /dev/loop2 is attached
- Trying to execute command: losetup -a
- Loop device /dev/loop2 seems to be attached. Trying to detach.
- Trying to execute command: losetup -d /dev/loop2
- Finally: removing temporary file: /tmp/tmpQ7RHi8.fuel-agent-image
- Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
- result = cmd.run(parsed_args)
- File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in run
- self.take_action(parsed_args)
- File "/usr/lib/python2.7/site-packages/fuel_bootstrap/commands/build.py", line 177, in take_action
- image_uuid, path = bs_image.make_bootstrap(vars(parsed_args))
- File "/usr/lib/python2.7/site-packages/fuel_bootstrap/utils/bootstrap_image.py", line 174, in make_bootstrap
- mngr.do_mkbootstrap()
- File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 1004, in do_mkbootstrap
- self.install_base_os(chroot)
- File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 730, in install_base_os
- direct_repo_addr=proxies.direct_repo_addr_list)
- File "/usr/lib/python2.7/site-packages/fuel_agent/utils/build.py", line 87, in run_debootstrap
- env_variables=env_vars)
- File "/usr/lib/python2.7/site-packages/fuel_agent/utils/utils.py", line 141, in execute
- stderr=stderr, cmd=command)
- ProcessExecutionError: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- clean up BuildCommand
- got an error: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
- Traceback (most recent call last):
- File "/bin/fuel-bootstrap", line 10, in <module>
- sys.exit(main())
- File "/usr/lib/python2.7/site-packages/fuel_bootstrap/main.py", line 54, in main
- return fuel_bootstrap_app.run(argv)
- File "/usr/lib/python2.7/site-packages/cliff/app.py", line 255, in run
- result = self.run_subcommand(remainder)
- File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
- result = cmd.run(parsed_args)
- File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in run
- self.take_action(parsed_args)
- File "/usr/lib/python2.7/site-packages/fuel_bootstrap/commands/build.py", line 177, in take_action
- image_uuid, path = bs_image.make_bootstrap(vars(parsed_args))
- File "/usr/lib/python2.7/site-packages/fuel_bootstrap/utils/bootstrap_image.py", line 174, in make_bootstrap
- mngr.do_mkbootstrap()
- File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 1004, in do_mkbootstrap
- self.install_base_os(chroot)
- File "/usr/lib/python2.7/site-packages/fuel_agent/manager.py", line 730, in install_base_os
- direct_repo_addr=proxies.direct_repo_addr_list)
- File "/usr/lib/python2.7/site-packages/fuel_agent/utils/build.py", line 87, in run_debootstrap
- env_variables=env_vars)
- File "/usr/lib/python2.7/site-packages/fuel_agent/utils/utils.py", line 141, in execute
- stderr=stderr, cmd=command)
- fuel_agent.errors.ProcessExecutionError: Unexpected error while running command.
- 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
- Exit code: 1
- Stdout: "I: Retrieving Release \nI: Retrieving Packages \nI: Retrieving Packages \nE: Couldn't download dists/trusty/main/binary-amd64/Packages\n"
- Stderr: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement