Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xenserver-iso: Step: export artifact - Error #19

Open
abielikesu opened this issue Nov 13, 2016 · 0 comments
Open

xenserver-iso: Step: export artifact - Error #19

abielikesu opened this issue Nov 13, 2016 · 0 comments

Comments

@abielikesu
Copy link

When following the example to build CentOS7, I am facing the following error:

==> xenserver-iso: Step: export artifact
==> xenserver-iso: Getting VHD centos-7-x86_64-xenserver-acs-minimal/nfs/445475c7-d02a-ffbf-8c6e-012f1068570a/f289c127-cef4-4e43-8479-6e66568217ee.vhd
==> xenserver-iso: Could not open source VHD: open centos-7-x86_64-xenserver-acs-minimal/nfs/445475c7-d02a-ffbf-8c6e-012f1068570a/f289c127-cef4-4e43-8479-6e66568217ee.vhd: no such file or directory

I have tracked it down to the following code:

Program: builder/xenserver/common/step_export.go
Line:
source_filename := fmt.Sprintf("%s/nfs/%s/%s.vhd", config.OutputDir, state.Get("instance_sr_uuid").(string), disk_uuid)

The program is expecting an instance_sr_uuid directory, but in my installation, it's not present:

Expected on the NFS share:
centos-7-x86_64-xenserver-acs-minimal/nfs/445475c7-d02a-ffbf-8c6e-012f1068570a/f289c127-cef4-4e43-8479-6e66568217ee.vhd

Actual file on the NFS share:
centos-7-x86_64-xenserver-acs-minimal/nfs/f289c127-cef4-4e43-8479-6e66568217ee.vhd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant