Ask Your Question


asked 2015-02-05 06:29:33 -0600

meob gravatar image

updated 2015-02-05 07:30:55 -0600


having issues deploying razor

I am using class parameters for microkernelurl & petarballbaseurl because of CA cert issues I am experiencing when trying to pull down the files via the web.

microkernel_url = ""

petarballbase_url = ""

the files are stored on a a local web-server [downloaded them several times...]

so when I run puppet agent -t on razor server i get:

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + umask 0022

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + dest=/opt/puppet/var/razor/repo/microkernel

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + tmpdir=/opt/puppet/var/razor/repo/microkernel-29973

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + trap 'rm -rf '\''/opt/puppet/var/razor/repo/microkernel-29973'\''' exit

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + mkdir -p /opt/puppet/var/razor/repo/microkernel-29973

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + curl -Lo /opt/puppet/var/razor/repo/microkernel-29973/mk.tar

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: % Total % Received % Xferd Average Speed Time Time Time Current

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: Dload Upload Total Spent Left Speed

100 400 100 400 0 0 48520 0 --:--:-- --:--:-- --:--:-- 66666

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + tar xCf /opt/puppet/var/razor/repo/microkernel-29973 /opt/puppet/var/razor/repo/microkernel-29973/mk.tar

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: tar: This does not look like a tar archive

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: tar: Exiting with failure status due to previous errors

Notice: /Stage[main]/Pe_razor/Exec[unpack the microkernel]/returns: + rm -rf /opt/puppet/var/razor/repo/microkernel-29973

the copy of puppet-enterprise-razor-microkernel-3.7.1.tar file, i can extract manually:

[root@razor microkernel]# ls -l

total 147080

-rw-r--r--. 1 root root 145272332 May 21 2014 initrd0.img

-rw-r--r--. 1 root root 486 May 21 2014 README

-rw-r--r--. 1 root root 153 May 21 2014 SHA256SUM

-rw-rw-r--. 1 1000 1000 280 May 21 2014 SHA256SUM.sig

-r--r--r--. 1 root root 5320808 May 21 2014 vmlinuz0

[root@razor microkernel]# pwd


any idea what is wrong with this puppet-enterprise-razor-microkernel-3.7.1.tar file? its not corrupt.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-01 20:47:30 -0600

smcclellan gravatar image

Here is what I would do:

  • Run these commands from somewhere that can connect to the internet to verify that you can download the file from the official source: curl -Lko mk.tar; tar xCf . mk.tar; ls microkernel/

  • If that works, swap out the link for the local mirror you've set up: curl -Lo mk.tar; tar xCf . mk.tar; ls microkernel/

That should help you narrow in on what's causing the issue.

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

Question Tools

1 follower


Asked: 2015-02-05 06:29:33 -0600

Seen: 255 times

Last updated: Feb 05 '15