System configuration for OpenStack Infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.5 KiB

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2018 Red Hat, Inc.
  4. #
  5. # Licensed under the Apache License, Version 2.0 (the "License");
  6. # you may not use this file except in compliance with the License.
  7. # You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  14. # implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. # This file is required to wrap the ansible playbook invocation because
  18. # we need to set config options via environment variables. There are parts
  19. # of this that could be cleaned up upstream, but doing so makes the actual
  20. # os_ module invocations really chatty.
  21. cd "$(dirname "$0")"
  22. eval $(python3 tools/cloud-to-env.py --cloud=openstackci-vexxhost --region=sjc1)
  23. export KEY="bridge-root-2014-09-15"
  24. export NAME="opendev-k8s"
  25. export IMAGE="Ubuntu 16.04 LTS (x86_64) [2018-08-24]"
  26. export MASTER_FLAVOR="v2-highcpu-4"
  27. export MASTER_BOOT_FROM_VOLUME="True"
  28. export IGNORE_VOLUME_AZ="True"
  29. export FLOATING_IP_NETWORK_UUID="0048fce6-c715-4106-a810-473620326cb0"
  30. export NODE_COUNT="4"
  31. export NODE_FLAVOR="v2-highcpu-8"
  32. export NODE_AUTO_IP="True"
  33. export NODE_BOOT_FROM_VOLUME="True"
  34. export NODE_VOLUME_SIZE="64"
  35. export NODE_EXTRA_VOLUME="True"
  36. export NODE_EXTRA_VOLUME_SIZE="80"
  37. export USE_OCTAVIA="True"
  38. export BLOCK_STORAGE_VERSION='v3'
  39. cd /opt/k8s-on-openstack
  40. ansible-playbook -v site.yaml