GithubHelp home page GithubHelp logo

osp-vcontrolplane-rhv's Introduction

OSP control plane on RHV playbooks

This is a temporary repo to hold some of the work being done on deploying Openstack control plane on RHV infrastracture

Requirements

Bastion host:

  • Ansible version 2.5 or higher
  • oVirt/RHV Python SDK version 4 or higher

RHV:

Example Playbook

  • osp_vm_infra.yml - this playbooks creats the VM infrastracture for the undercloud and 3 controllers, including nics, anti-affinity between the VMs, tagging and more. based on oVirt.vm_infra role
  • Best practice is to move credentials to a vault file

Run: ansible-playbook osp_vm_infra.yml -e @extra.yml

extra.yml should look like this:

---
#RHV credentials 
engine_url: https://your.rhvm.fqdn/ovirt-engine/api
engine_user: admin@internal
engine_password: changeme

#Undercloud VM
undercould_primary_mac: 00:1a:4a:16:01:f9
undercould_secondery_mac: 00:1a:4a:16:01:fa
undercloud_ip: 10.12.50.148
undercloud_vm_name: my-undercloud
rhel_template: rhel75

#RHSM credentials
rhsm_url: subscription.rhsm.redhat.com
rhsm_username: username
rhsm_password: password

#undercloud.conf
local_ip: 172.16.0.1/24
undercloud_public_vip: 10.12.50.148
undercloud_admin_vip: 172.16.0.11
local_interface: eth1
masquerade_network: 172.16.0.0/24
dhcp_start: 172.16.0.20
dhcp_end: 172.16.0.120
network_cidr: 172.16.0.0/24
network_gateway: 172.16.0.1
inspection_iprange: 172.16.0.150,172.16.0.180

enable_node_discovery: false
enable_ui: true
generate_service_certificate: true

License

Apache License 2.0

osp-vcontrolplane-rhv's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.