Ask Your Question

Unable to create image from local .iso in razor

asked 2015-05-14 15:19:13 -0500

Kranach gravatar image


I am trying to create razor server on VirtualBox with Ubuntu12 and I have problem with creating the image. I run:

$razor create-repo --name ubuntu_precise --iso-url file:///tmp/ubuntu-12.04.2-server-amd64.iso --task ubuntu_precise_amd64

And the command went in successfully, but when I check its status:

{"spec":"","id":"","name":"16","command":"create-repo","params":{"name":"ubuntu_precise","iso-url":"file:///tmp/ubuntu-12.04.2-server-amd64.iso","task":"ubuntu_precise_amd64"},"errors":[{"exception":"RuntimeError","message":"unable to read local file /tmp/ubuntu-12.04.2-server-amd64.iso","attempted_at":"2015-05-14T21:04:39+01:00"},{"exception":"RuntimeError","message":"unable to read local file /tmp/ubuntu-12.04.2-server-amd64.iso","attempted_at":"2015-05-14T21:04:40+01:00"},{"exception":"RuntimeError","message":"unable to read local file /tmp/ubuntu-12.04.2-server-amd64.iso","attempted_at":"2015-05-14T21:04:40+01:00"},{"exception":"RuntimeError","message":"unable to read local file /tmp/ubuntu-12.04.2-server-amd64.iso","attempted_at":"2015-05-14T21:04:41+01:00"},

Any ideas? (Obviously I checked that file is there)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-02 12:20:18 -0500

smcclellan gravatar image

What permissions do you have on the /tmp/ubuntu-12.04.2-server-amd64.iso file? I would ensure that the file is readable by Razor's user. Something like chmod 644 /tmp/ubuntu-12.04.2-server-amd64.iso should do the trick.

Let me know if the issue persists.


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



Asked: 2015-05-14 15:19:13 -0500

Seen: 469 times

Last updated: Sep 02 '15