Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • stackspin stackspin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 151
    • Issues 151
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • stackspinstackspin
  • stackspinstackspin
  • Issues
  • #418
Closed
Open
Issue created Dec 05, 2019 by Varac@varacContributor

create-vps stage should be more verbose

See https://open.greenhost.net/openappstack/openappstack/-/jobs/11420:

$ sh .gitlab/ci_scripts/create_vps.sh

if [ -d clusters/$HOSTNAME/secrets ]
then
  ip_address=$(python -m openappstack ${HOSTNAME} info --ip-address)
  echo "Running python script"
  # Run a python script that checks if the cached machine still exists. The
  # script exits with 0 (true) if the machine can be reused
  if python3 $(dirname "$0")/can_reuse_machine.py $HOSTNAME $ip_address
  then
    exit 0
  fi
fi
Running python script
Machine status is running
Comparing IP address 213.108.108.134 with IP address 213.108.105.61

I have no idea wether the droplet got created or not, and beeing reused, why there are 2 IP, which one is the right one... Especially confusing because later in the pipeline in the setup-cluster job it can't ssh into:

msg: 'Failed to connect to the host via ssh: ssh: connect to host 213.108.105.61 port 22: Operation timed out'

This is probably because I deleted the droplet during a cleanup before ran another pipeline.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking