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

agent stops reporting instance-id on hp cloud compute #554

Closed
xcolour opened this issue Jun 26, 2013 · 1 comment
Closed

agent stops reporting instance-id on hp cloud compute #554

xcolour opened this issue Jun 26, 2013 · 1 comment
Assignees

Comments

@xcolour
Copy link
Contributor

xcolour commented Jun 26, 2013

When the agent first starts up, info reports:

  Hostnames
  =========

    ec2-hostname: dev-1
    local-ipv4: 10.5.135.198
    local-hostname: dev-1
    socket-hostname: dev-1
    public-hostname: dev-1
    hostname: dev-1.novalocal
    instance-id: i-0018ef9b
    public-ipv4: 15.185.125.129
    socket-fqdn: dev-1.novalocal

But then later it reports:

  Hostnames
  =========

    socket-hostname: dev-1
    local-ipv4: 10.5.135.198
    public-hostname: dev-1
    hostname: dev-1.novalocal
    public-ipv4: 15.185.125.129
    socket-fqdn: dev-1.novalocal

The metadata service is still available, though:

$ echo $(curl -s http://169.254.169.254/1.0/meta-data/instance-id)
i-0018ef9b
@ghost ghost assigned xcolour Jun 26, 2013
@xcolour
Copy link
Contributor Author

xcolour commented Jul 10, 2013

Looks like the metadata service times out occasionally. When it times out, we treat it as if the metadata doesn't exist. Instead, we should stick with the last good value.

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