apeunit / LaunchControlD

LaunchControl orchestration and deployment service
MIT License
1 stars 0 forks source link

Error deploying fauncet, command not found #24

Closed noandrea closed 3 years ago

noandrea commented 3 years ago

following this command I get an error about a missing command in the payload:

"/payload/configurefaucet.sh\": stat /payload/configurefaucet.sh: no such file or directory"

here the full log

➜ lctrld payload setup drop-c34efbd55083665002d2 --config config_virtualbox.yml

┌─┐┬  ┬┌┬┐┬  ┬┌─┐╔╦╗
├┤ └┐┌┘ │ └┐┌┘┌─┘ ║║
└─┘ └┘  ┴  └┘ └─┘═╩╝ v1.0.0-2-g360d24d
Using config file: config_virtualbox.yml
INFO[0000] downloading payload binaries from https://github.com/apeunit/LaunchPayload/releases/download/v0.0.0/launchpayload-v0.0.0.zip to /lctrld/workspace/bin/payloadBinaries.zip 
INFO[0043] Initializing daemon configs for each node    
INFO[0043] Generating keys for validator accounts       
INFO[0043] alice@apeunit.com -> cosmos12ykcncg7y97w06wqjt75lzzfqjzrngnrcsp7es 
INFO[0043] bob@apeunit.com -> cosmos12szunlrmfypvhs28fdmfs6nm9jxmyx56lz8l76 
INFO[0043] Generating keys for non-validator accounts   
INFO[0043] dropgiver -> cosmos1ceqlqtlftre3c5wjf4yd8sf05rgghrc6nw9k3r 
INFO[0043] Adding accounts to the genesis.json files    
INFO[0043] Creating genesis transactions to turn accounts into validators 
INFO[0043] Collecting genesis transactions and writing final genesis.json 
INFO[0043] Copying node 0's genesis.json to others and setting up p2p.persistent_peers 
INFO[0043] otherGenesis: /lctrld/workspace/evts/drop-c34efbd55083665002d2/nodeconfig/1/daemon/config/genesis.json 
alice@apeunit.com's node is ed31261400f8263b7fc7efd915702b1a2145291d@192.168.99.100:26656 
bob@apeunit.com's node is 91c5deb8f2018e913cf7a95729837bf5ce0a434c@192.168.99.101:26656 
INFO[0043] Generating faucet configuration              

ERRO[0196] [docker run -v /lctrld/workspace/evts/drop-c34efbd55083665002d2/nodeconfig:/payload/config apeunit/launchpayload:1.0.0 /payload/configurefaucet.sh drop-c34efbd55083665002d2 cosmos1ceqlqtlftre3c5wjf4yd8sf05rgghrc6nw9k3r drop 192.168.99.100] failed with exit status 127, docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/payload/configurefaucet.sh\": stat /payload/configurefaucet.sh: no such file or directory": unknown.
time="2021-01-27T00:31:36+01:00" level=error msg="error waiting for container: context canceled"

Error: exit status 127
Usage:
  lctrld payload setup EVENTID [flags]

Flags:
  -h, --help   help for setup

Global Flags:
      --config string   config file (default is /etc/lctrld/config.yaml)
  -d, --debug           Enable debug logging

exit status 127
randomshinichi commented 3 years ago

Hmm this shouldn't happen. Try redownloading apeunit/launchpayload:1.0.0. It should have the hash accec0f6669d

noandrea commented 3 years ago

in the log says

INFO[0000] downloading payload binaries from https://github.com/apeunit/LaunchPayload/releases/download/v0.0.0/launchpayload-v0.0.0.zip to /lctrld/workspace/bin/payloadBinaries.zip 

but it does it automatically, I did not initiate the download

randomshinichi commented 3 years ago

The zip file has nothing to do with it. Your machine is trying to run apeunit/launchpayload:v1.0.0, but it has an outdated version of that (I reused the tag v1.0.0 for the official release last week before the presentation with ICF)

noandrea commented 3 years ago

removed the image but I still get the error

noandrea commented 3 years ago

turns out it was the wrong image version