question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker-up-vinyldns.sh fails to reliably start VinylDNS services

See original GitHub issue

Describe the bug

bin/docker-up-vinyldns.sh frequently fails to start VinylDNS services.

VinylDNS Version

master

To Reproduce Steps to reproduce the behavior:

  1. Run bin/docker-up-vinyldns.sh from within the root of the vinyldns repository
  2. Observe that the script frequently exits with messages such as Exceeded retries waiting for VinylDNS API to be ready, failing.

Expected behavior I would expect bin/docker-up-vinyldns.sh to reliably start VinylDNS services.

Stack trace or error log output

bin/docker-up-vinyldns.sh
Starting portal server and all dependencies in the background...
Creating network "docker_default" with the default driver
Creating vinyldns-bind9     ... done
Creating vinyldns-dynamodb  ... done
Creating vinyldns-mysql     ... done
Creating vinyldns-elasticmq ... done
Creating vinyldns-api       ... done
Creating vinyldns-portal    ... done
Waiting for API to be ready at http://localhost:9000 ...
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Retrying Again
Exceeded retries waiting for VinylDNS API to be ready, failing

Additional context I have observed this problem on my local Macbook Pro, as well as in TravisCI.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
nimaeskandarycommented, Nov 13, 2018

@mdb @NorseGaud a fix for this was just merged. Also allows you start up the docker-up-vinyldns.sh script without the portal using the --api-only flag

1reaction
nimaeskandarycommented, Oct 31, 2018

@mdb Will try to kill two birds with one stone and fix this issue, and allow for you to just start up the api if you want

Read more comments on GitHub >

github_iconTop Results From Across the Web

API Configuration Guide - VinylDNS
In the example, if any of the values in ${xxx} are not found in the environment, the application will not start up! Configuring...
Read more >
VinylDNS: Home
VinylDNS is a vendor agnostic front-end for enabling self-service DNS and streamlining DNS operations. It is designed to integrate with your existing DNS ......
Read more >
FAQ - VinylDNS
To get started with VinylDNS, you must have an existing DNS zone. VinylDNS currently does not create zones, rather it connects to existing...
Read more >
Portal Configuration Guide - VinylDNS
Note: Unlike the API server, not all configuration resides under a vinyldns namespace. Configuration. Database Configuration; LDAP; Cryptography; Custom Links ...
Read more >
Pre-requisites - VinylDNS
DNS - your DNS servers VinylDNS will interact with; Database - the database houses all of VinylDNS information including history, records, zones, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found