Linux serverNETWORK ADMINISTRATIONSredhat

Quick RHOSP labs with Infrared

Following on from our video on Tripleo Quickstart:

In this video, we’re looking at deploying Red Hat OpenStack Platform labs utilising the Infrared deployment tool:
https://infrared.readthedocs.io/en/latest/

Infrared leverages Ansible playbooks to provision RHOSP or TripleO environments. It’s possible to create any kind of deployment you can dream up with custom node and network topologies:
https://github.com/redhat-openstack/infrared/tree/master/plugins/virsh/defaults/topology

Tripleo Undercloud Docs:
https://infrared.readthedocs.io/en/latest/tripleo-undercloud.html

TripleO Overcloud Docs:
https://infrared.readthedocs.io/en/latest/tripleo-overcloud.html

Example cdn_creds file and the script I was using the deploy this. You should be able to run it against your own host to deploy a OSP16.2 environment:
https://gitlab.com/shep03/tripleo_yt/-/tree/master/infrared

Disclaimer: For OSP 16.2, you will also need this patch:
https://github.com/redhat-openstack/infrared/pull/412/commits/5db88855d3d7834c503fee81454bf39100318a87

0:00 Intro
1:00 Infrared overview
1:20 Infrared setup
2:08 Environment setup
2:50 Provision VM’s command
4:25 Node and Network topology
5:43 Ideas for use-cases
8:54 Undercloud deployment
10:00 The CDN file
11:45 Log into Undercloud VM and logs
12:48 Overcloud deployment
15:40 Overcloud progress, logs and artifacts
18:14 Briefly touch on Ephemeral Heat
19:12 Overcloud deployment finishing

source

by TripleWho?

redhat openstack

3 thoughts on “Quick RHOSP labs with Infrared

  • Ah damn, sorry about the insects in the background. I didn't realise how loud they were.

  • Thanks for the demo. I am getting an errors during the overcloud stage:

    failed: [undercloud-0] (item={'uid': 0, 'selevel': 's0', 'mtime': 1672808331.187315, 'owner': 'root', 'path': u'network/baremetal_deployment.yaml.j2', 'size': 8032, 'src': u'/root/.infrared/plugins/tripleo-overcloud/vars/deployment/files/virt/network/baremetal_deployment.yaml.j2', 'group': u'root', 'ctime': 1672847672.7687023, 'seuser': 'unconfined_u', 'serole': 'object_r', 'state': 'file', 'gid': 0, 'mode': '0644', 'root': u'/root/.infrared/plugins/tripleo-overcloud/vars/deployment/files/virt', 'setype': 'admin_home_t'}) => {
    "changed": false,
    "item": {
    "ctime": 1672847672.7687023,
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "mtime": 1672808331.187315,
    "owner": "root",
    "path": "network/baremetal_deployment.yaml.j2",
    "root": "/root/.infrared/plugins/tripleo-overcloud/vars/deployment/files/virt",
    "selevel": "s0",
    "serole": "object_r",
    "setype": "admin_home_t",
    "seuser": "unconfined_u",
    "size": 8032,
    "src": "/root/.infrared/plugins/tripleo-overcloud/vars/deployment/files/virt/network/baremetal_deployment.yaml.j2",
    "state": "file",
    "uid": 0
    },
    "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'srv'"
    }
    Kindly assist.

Comments are closed.