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

vsphere-iso: ISO download failed. #7622

Closed
azzeddinefaik opened this issue May 8, 2019 · 3 comments
Closed

vsphere-iso: ISO download failed. #7622

azzeddinefaik opened this issue May 8, 2019 · 3 comments
Labels
stage/waiting-on-upstream This issue is waiting on an upstream change

Comments

@azzeddinefaik
Copy link

azzeddinefaik commented May 8, 2019

I tryed to build centos Image for Vsphere and it failed on docker container with image hashicorp/packer:light (with version 1.4.0) but it work fine with hashicorp/packer:1.3.5.

  • Afected Packer version : 1.4.0
  • Host platform: Docker container (hashicorp/packer:light)
  • Debug log output :
2019/05/08 09:11:45 ui: vsphere-iso output will be in this color.
2019/05/08 09:11:45 ui:
2019/05/08 09:11:45 Build debug mode: false
2019/05/08 09:11:45 Force build: false
2019/05/08 09:11:45 On error:
2019/05/08 09:11:45 Preparing build: vsphere-iso
2019/05/08 09:11:45 Waiting on builds to complete...
2019/05/08 09:11:45 Starting build run: vsphere-iso
2019/05/08 09:11:45 Running builder: vsphere-iso
2019/05/08 09:11:45 [INFO] (telemetry) Starting builder vsphere-iso
2019/05/08 09:11:45 ui: ==> vsphere-iso: Retrieving ISO
2019/05/08 09:11:45 packer-builder-vsphere-iso.linux: 2019/05/08 09:11:45 Acquiring lock to download: http://ftp.ember.se/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso
2019/05/08 09:11:45 packer-builder-vsphere-iso.linux: 2019/05/08 09:11:45 [ERR] Cache.Lock error: rpc: can't find service Cache.Lock
2019/05/08 09:11:45 packer-builder-vsphere-iso.linux: 2019/05/08 09:11:45 Parsed URL: &url.URL{Scheme:"http", Opaque:"", User:(*url.Userinfo)(nil), Host:"ftp.ember.se", Path:"/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso", RawPath:"", ForceQuery:false, Ra
wQuery:"", Fragment:""}
2019/05/08 09:11:45 ui:     vsphere-iso: Error downloading: open : no such file or directory
2019/05/08 09:11:45 ui error: ==> vsphere-iso: ISO download failed.
2019/05/08 09:11:45 packer-builder-vsphere-iso.linux: 2019/05/08 09:11:45 [ERR] Cache.Unlock error: rpc: can't find service Cache.Unlock
2019/05/08 09:11:45 [INFO] (telemetry) ending vsphere-iso
2019/05/08 09:11:45 ui error: Build 'vsphere-iso' errored: ISO download failed.
2019/05/08 09:11:45 Builds completed. Waiting on interrupt barrier...
2019/05/08 09:11:45 machine readable: error-count []string{"1"}
2019/05/08 09:11:45 ui error:
==> Some builds didn't complete successfully and had errors:
2019/05/08 09:11:45 machine readable: vsphere-iso,error []string{"ISO download failed."}
2019/05/08 09:11:45 ui error: --> vsphere-iso: ISO download failed.
2019/05/08 09:11:45 ui:
==> Builds finished but no artifacts were created.

e.g of configs: https://gist.github.com/azzeddinefaik/d76fbcd89fda20ab5f1b93bd21381895

@azr
Copy link
Contributor

azr commented May 8, 2019

Hey @azzeddinefaik, thanks for reporting, this error [ERR] Cache.Lock error: rpc: can't find service Cache.Lock tells me the builder is trying to use a cache lock that has recently been deprecated. It also looks like you are using the https://github.com/jetbrains-infra/packer-builder-vsphere builder which will soon be incorporated into packer as of this issue #7168

Here are some options I can think of to no be blocked by this :

@SwampDragons
Copy link
Contributor

Closing this since it appears the upstream incompatibility was resolved.

@ghost
Copy link

ghost commented Mar 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stage/waiting-on-upstream This issue is waiting on an upstream change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants