halvards / vagrant-vm

Setup for my Vagrant VMs
21 stars 9 forks source link

The box file in ibmwas-centos64 is no longer available #1

Open chrisjblackburn opened 10 years ago

chrisjblackburn commented 10 years ago

Any chance you still have this? I am interested in seeing this solution work. Let me know, thanks!

halvards commented 10 years ago

Hi Chris,

It definitely worked, I'll look into what happened to the base box file.

Halvard

On Thursday, May 22, 2014, chrisjblackburn notifications@github.com wrote:

Any chance you still have this? I am interested in seeing this solution work. Let me know, thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/halvards/vagrant-vm/issues/1 .

halvards commented 10 years ago

Sorry for taking so long to get back to you. I can't locate the original CentOS 6.2 box, but in theory any CentOS 6.x x64 image with Puppet pre-installed should work.

How about trying it with this base box: https://dl.dropbox.com/u/5721940/vagrant-boxes/vagrant-centos-6.4-x86_64-vmware_fusion.box

I found it on http://www.vagrantbox.es/

Please let me know how you go.

xpavlic4 commented 9 years ago

So I used config.vm.box_url = 'https://dl.dropbox.com/sh/9rldlpj3cmdtntc/chqwU6EYaZ/centos-63-32bit-puppet.box'

Install puppet in it and run 'vagrant provision':

==> default: Configuring proxy environment variables... ==> default: Configuring proxy for Yum... ==> default: Running provisioner: puppet... ==> default: Running Puppet with ibmwas-centos64.pp... ==> default: notice: /Stage[main]/Ibm::Wps-prereqs/Package[libXmu]/ensure: created ==> default: notice: /Stage[main]/Ibm::Wps-prereqs/Package[compat-libstdc++-33]/ensure: created ==> default: notice: /Stage[main]/Utils::Base/Package[wget]/ensure: created ==> default: notice: /Stage[main]/Utils::Base/Package[zip]/ensure: created ==> default: notice: /Stage[main]/Ibm::Wps-prereqs/Package[libXp]/ensure: created ==> default: notice: /Stage[main]/Ibm::Wps-prereqs/Package[libXft]/ensure: created ==> default: err: /Stage[main]/Ibm::Wps-prereqs/Package[libgcc.i386]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install libgcc.i386' returned 1: Error: Nothi ng to do ==> default: notice: /Stage[main]/Ibm::Was/Wget::Fetch[ibm-im-was8]/Exec[wget-ibm-im-was8]/returns: /vagrant-share/apps/IBMIM_linuxx86.zip: No such file or directory ==> default: err: /Stage[main]/Ibm::Was/Wget::Fetch[ibm-im-was8]/Exec[wget-ibm-im-was8]/returns: change from notrun to 0 failed: /usr/bin/wget --no-verbose --output-document=/vagrant-share/apps/IBMIM linux_x86.zip http://public.dhe.ibm.com/software/rationalsdp/v7/im/144/zips/agent.installer.linux.gtk.x86_1.4.4000.20110525_1254.zip returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules-de4 12024a414ed18395b800be0876b1d/wget/manifests/fetch.pp:18 ==> default: notice: /Stage[main]/Ibm::Was/Exec[extract-ibm-im]: Dependency Exec[wget-ibm-im-was8] has failures: true ==> default: warning: /Stage[main]/Ibm::Was/Exec[extract-ibm-im]: Skipping because of failed dependencies ==> default: notice: /Stage[main]/Ibm::Was/Exec[create-ibm-keyring-file]: Dependency Exec[wget-ibm-im-was8] has failures: true ==> default: warning: /Stage[main]/Ibm::Was/Exec[create-ibm-keyring-file]: Skipping because of failed dependencies ==> default: notice: /Stage[main]/Ibm::Was/Exec[install-was8]: Dependency Exec[wget-ibm-im-was8] has failures: true ==> default: warning: /Stage[main]/Ibm::Was/Exec[install-was8]: Skipping because of failed dependencies ==> default: notice: /Stage[main]/Ibm::Was/Exec[create-was-profile]: Dependency Exec[wget-ibm-im-was8] has failures: true ==> default: warning: /Stage[main]/Ibm::Was/Exec[create-was-profile]: Skipping because of failed dependencies ==> default: notice: /Stage[main]/Ibm::Wps-prereqs/Package[libXtst]/ensure: created ==> default: notice: /Stage[main]/Timezone::Sydney/File[/etc/localtime]/ensure: ensure changed 'file' to 'link' ==> default: notice: Finished catalog run in 132.74 seconds The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

halvards commented 9 years ago

I can successfully download the file that failed (http://public.dhe.ibm.com/software/rationalsdp/v7/im/144/zips/agent.installer.linux.gtk.x86_1.4.4000.20110525_1254.zip)

Do you perhaps have proxies that's blocking the download?

A workaround is to manually download the file and place it in the share/apps directory in the repository before provisioning.

On another note, I always used 64-bit CentOS boxes for all the recipes, so some may fail with 32-bit base boxes.