Ask Your Question
0

Missing Packages?

asked 2016-05-05 03:46:25 -0700

bossbeasley gravatar image

Installing Bramahputra using FUEL:

At Fuel Bootstrap screen, enter public and admin network IP details - checks ok, applies OK. bootstrap image, enter proxy server IP, checks OK, applies OK Enter NTP server - checks and applies OK.

Save and quit Fuel Installs Login - create environment Change REPOS to point to fuel server via admin network Verify networks - OK Deploy - fails to install Ubuntu OS on any node with message -

Error Provision has failed. Failed to execute hook 'shell' Failed to run command cd / && fabuildimage --imagebuilddir /var/lib/fuel/ibp --log-file /var/log/fuel-agent-env-2.log --datadriver nailgunbuildimage --inputdata '{"imagedata": {"/boot": {"container": "gzip", "uri": "http://20.1.1.1:8080/targetimages/env2ubuntu1404amd64-boot.img.gz", "format": "ext2"}, "/": {"container": "gzip", "uri": "http://20.1.1.1:8080/targetimages/env2ubuntu1404amd64.img.gz", "format": "ext4"}}, "output": "/var/www/nailgun/targetimages", "repos": [{"name": "ubuntu", "section": "main", "uri": "http://20.1.1.1:8080/mirrors/ubuntu/", "priority": null, "suite": "trusty", "type": "deb"}, {"name": "ubuntu-updates", "section": "main", "uri": "http://20.1.1.1:8080/mirrors/ubuntu/", "priority": null, "suite": "trusty-updates", "type": "deb"}, {"name": "ubuntu-security", "section": "main", "uri": "http://20.1.1.1:8080/mirrors/ubuntu/", "priority": null, "suite": "trusty-security", "type": "deb"}, {"name": "mos", "section": "main restricted", "uri": "http://20.1.1.1:8080/liberty-8.0/ubuntu/x8664", "priority": 1050, "suite": "mos8.0", "type": "deb"}, {"name": "Auxiliary", "section": "main restricted", "uri": "http://20.1.1.1:8080/liberty-8.0/ubuntu/auxiliary", "priority": 1150, "suite": "auxiliary", "type": "deb"}], "codename": "trusty"}'

Docker Log -

invoke-rc.d: policy-rc.d denied execution of stop. Updating database of manual pages ... initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused invoke-rc.d: policy-rc.d denied execution of start. initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused invoke-rc.d: policy-rc.d denied execution of restart. initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused invoke-rc.d: policy-rc.d denied execution of restart.

2016-05-04 18:57:27.300 512 DEBUG fuelagent.utils.utils [-] Trying to execute command: chroot /var/lib/fuel/ibp/tmpCpUxj9.fuel-agent-i age apt-get -y install acl anacron bash-completion bridge-utils bsdmainutils build-essential cloud-init curl daemonize debconf-utils gd sk grub-pc hpsa-dkms i40e-dkms linux-firmware linux-firmware-nonfree linux-headers-generic-lts-trusty linux-image-generic-lts-trusty lv 2 mcollective mdadm nailgun-agent nailgun-mcagents network-checker ntp openssh-client openssh-server puppet python-amqp ruby-augeas rub -ipaddress ruby-json ruby-netaddr ruby-openstack ruby-shadow ruby-stomp telnet ubuntu-minimal ubuntu-standard uuid-runtime vim virt-wha vlan 2016-05-04 18:57:28.126 512 WARNING fuelagent.utils.utils [-] Failed to execute command: Unexpected error while running command. Command: chroot /var/lib/fuel/ibp/tmpCpUxj9.fuel-agent-image apt-get -y install acl anacron bash-completion bridge-utils bsdmainutils b ild-essential cloud-init curl daemonize debconf-utils gdisk grub-pc hpsa-dkms i40e-dkms linux-firmware linux-firmware-nonfree linux-hea ers-generic-lts-trusty linux-image-generic-lts-trusty lvm2 mcollective mdadm nailgun-agent nailgun-mcagents network-checker ntp openssh client openssh-server puppet python-amqp ruby-augeas ruby-ipaddress ruby-json ruby-netaddr ruby-openstack ruby-shadow ruby-stomp telnet ubuntu-minimal ubuntu-standard uuid-runtime vim virt-what vlan Exit code: 100 Stdout: 'Reading package lists...\nBuilding ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-05-07 04:27:15 -0700

bossbeasley gravatar image

updated 2016-05-07 04:28:00 -0700

Steps to resolve this issue:

Create local mirror on Fuel Master -

In order to use fuel-createmirror script, you must first issue the following commands:

1) wget http://mirror.fuel-infra.org/docker/u... -O /tmp/ubuntu.trusty.tar.xz 2) docker load -i /tmp/ubuntu.trusty.tar.xz

If you're behind a proxy, ensure environement is set for proxy server use:

1) export httpproxy=http://<proxy_ip>:<proxy_port> 2) export RSYNCPROXY:<proxy_ip>:<proxy_port>

Create the mirror:

fuel-createmirror

If the script fails with client error code 400, I found I had to delete my openstack environment first, then re-run the script.

Once the script complete, re-create the environment. All REPOS under the settings tab will now point to the fuel master.

Deploy should now work.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2016-05-05 03:46:25 -0700

Seen: 843 times

Last updated: May 07 '16