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

Folder templates/visa-base/http missing? #1

Closed
Atlas974 opened this issue Jan 20, 2022 · 2 comments
Closed

Folder templates/visa-base/http missing? #1

Atlas974 opened this issue Jan 20, 2022 · 2 comments

Comments

@Atlas974
Copy link
Contributor

Atlas974 commented Jan 20, 2022

Hello,

I'm trying to reproduce the example image from the repo but it seems that the templates/visa-base/http folder is missing, which makes the build fail.
Is this an omission or should I add it myself?

Here is the error below. I have attached a file containing the complete log: visa-base_build.log.

Thank you.

Building image for visa-base:
...
==> qemu: Error finding "/opt/visa-image-template/templates/visa-base/http": stat /opt/visa-image-template/templates/visa-base/http: no such file or directory
2022/01/20 10:10:07 packer-builder-qemu plugin: stdout: Image resized.
2022/01/20 10:10:07 packer-builder-qemu plugin: stderr:
==> qemu: Deleting output directory...
2022/01/20 10:10:08 [INFO] (telemetry) ending qemu
==> Wait completed after 6 seconds 525 milliseconds
Build 'qemu' errored after 6 seconds 525 milliseconds: Error finding "/opt/visa-image-template/templates/visa-base/http": stat /opt/visa-image-template/templates/visa-base/http: no such file or directory
2022/01/20 10:10:08 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2022/01/20 10:10:08 machine readable: qemu,error []string{"Error finding \"/opt/visa-image-template/templates/visa-base/http\": stat /opt/visa-image-template/templates/visa-base/http: no such file or directory"}
==> Builds finished but no artifacts were created.
2022/01/20 10:10:08 [INFO] (telemetry) Finalizing.

==> Wait completed after 6 seconds 525 milliseconds

==> Some builds didn't complete successfully and had errors:
--> qemu: Error finding "/opt/visa-image-template/templates/visa-base/http": stat /opt/visa-image-template/templates/visa-base/http: no such file or directory

==> Builds finished but no artifacts were created.
...
@Atlas974
Copy link
Contributor Author

From what I understand, this could be related to the way packme generates the manifest.json files from the manifest.yml files.
Although the http_directory field is only present in system-base/manifest.yml, after running packme it is also generated in visa-base/manifest.json and visa-apps/manifest.json. Is this the expected behavior?

@stuartcaunt
Copy link
Member

Yes, this was indeed a problem due to an updated version of packer. The changes have already been integrated into the "dev" branch and will be merged into main shortly.

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

2 participants