Skip to content

iptb start --wait fails with dockeripfs node #30

@dgrisham

Description

@dgrisham

When I spin up a node with iptb auto --type dockeripfs --count 1, starting the node with the --wait flag times out:

$ iptb start --wait
node QmbNGJ8hfSaepK96iZAycm3di6so9EU6syPEJKnqgVmxgn failed to come online in given time period
node[0]
gx/ipfs/QmckeQ2zrYLAXoSHYTGn5BDdb22BqbUoHEHm8KZ9YWRxd1/iptb/commands.mapWithOutput.func1
        /home/grish/.go/src/gx/ipfs/QmckeQ2zrYLAXoSHYTGn5BDdb22BqbUoHEHm8KZ9YWRxd1/iptb/commands/utils.go:195
runtime.goexit
        /usr/lib/go/src/runtime/asm_amd64.s:1337

However, the node is up when I run iptb shell 0 or check the container with docker container ls. I tried manually setting the IP address for the node from its default of 0.0.0.0 to the IP given by docker inspect <container> in the tryAPICheck() function, which fixed the issue. I glanced back at older commits of IPTB where iptb start --wait worked, but the code looks similar to the current implementation (it is late though, and I wasn't very thorough).

Any ideas what might be happening? @travisperson, @bigs?

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