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

Key not found: "consul_0.6.3_linux_amd64" #294

Closed
MichaelKueller opened this issue Mar 17, 2016 · 9 comments
Closed

Key not found: "consul_0.6.3_linux_amd64" #294

MichaelKueller opened this issue Mar 17, 2016 · 9 comments

Comments

@MichaelKueller
Copy link
Contributor

When I try to run the latest master of this cookbook I get this error. It seems that this key is not provided in consul_installation_binary.rb. Only linux-x86_64 is listed there. It still worked in version 1.4.3, when these keys were part of the attributes file

@johnbellone
Copy link
Contributor

What are you trying to do?

@MichaelKueller
Copy link
Contributor Author

I'm trying to install consul though this cookbook on debian 7. To be more specific I am running a kitchen test using vagrant and a debian 7.8 base box.

@johnbellone
Copy link
Contributor

Yes, I guess I am confused with your error message. Would you be able to put the log in Gist? You should be able to run kitchen converge default-debian-79 to get an instance with Consul installing and running.

@MichaelKueller
Copy link
Contributor Author

I assume the problem is that this node attribute "node['kernel']['machine']" contains: amd64. But this is not listed anymore. It basically is the same as x86_64.

The error is:

       Error executing action `enable` on resource 'consul_service[consul]'
       ================================================================================
       KeyError
       --------
       key not found: "consul_0.6.3_linux_amd64"

@johnbellone
Copy link
Contributor

Please try again!

@MichaelKueller
Copy link
Contributor Author

unfortunately the error still comes up.

This is what I use in my kitchen file:

---
driver:
  name: vagrant

provisioner:
  name: chef_zero

platforms:
  - name: debian-7.9
    driver:
      box_check_update: true
      platform: debian
      provision_command:
        - apt-get update

@johnbellone
Copy link
Contributor

Okay!

I'll give that a try this afternoon.

Sent from my iPhone
JB

On Mar 17, 2016, at 12:09, Michael Küller notifications@github.com wrote:

unfortunately the error still comes up.

This is what I use in my kitchen file:

driver:
name: vagrant

provisioner:
name: chef_zero

platforms:

name: debian-7.9 driver: box_check_update: true platform: debian provision_command: - apt-get update

You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub

@MichaelKueller
Copy link
Contributor Author

Oh, sorry for bothering you! I just noticed my tests were referencing an older commit of you github repository, which is why the errormessage did not make sense with your current code.

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants