Skip to content

Smoke test errand fails #182

@voelzmo

Description

@voelzmo

Steps to reproduce

  • deploy with bosh deploy -d logsearch ~/workspace/logsearch-boshrelease/deployment/logsearch-deployment.yml -o ~/workspace/logsearch-boshrelease/deployment/operations/enable-router.yml -o ~/workspace/logsearch-boshrelease/deployment/operations/enable-tls.yml -o ~/workspace/logsearch-boshrelease/deployment/operations/disable-post-start.yml -o ~/workspace/logsearch-boshrelease/deployment/operations/change-azs.yml -v="azs=[z1,z2]"
  • deploy a second time without disable-post-start
  • bosh run-errand -d logsearch smoke_test

Expected

  • smoke test successful

Actual

  • smoke test fails because it cannot reach the master node on :9200. This is because the port is localhost accessible only.

Possible fixes

  • change the way the smoke test accesses the API
  • co-locate the smoke test with a master node
  • expose the API on the regular network interface and not only localhost

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions