Skip to content

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

@abielikesu

Description

@abielikesu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions