Skip to content

david-hill/cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud repository containing various scripts

analyze_failure.sh : Analyze failed overcloud deployment
cinder_database_cleanup.sh : Delete old volume entries from cinder database
create_snapshots.sh : Create snapshots for VMs
create_undercloud.sh : Create the undercloud VM
delete_snapshots.sh : Delete VMs snapshots
delete_overcloud.sh : Delete overcloud
delete_undercloud.sh : Delete undercloud VM
generate_image.sh : Generate a Linux image
generate_fencing_yaml.sh : Generate a fencing.yaml file from the instackenv.json file
glance_database_cleanup.sh : Delete queued image entries from glance database
inject_rpms_to_image.sh : Inject /home/stack/images/rpms/ content to /home/stack/images/overcloud-full.qcow2
pull_images.sh : Pulls remote docker images into local registry
watch.sh : Watch an overcloud deployment status
redeploy_undercloud.sh : Redeploy undercloud
setup_image.sh : Download cirros and send it to glance
deploy_overcloud.sh : Deploy the overcloud
redeploy_overcloud.sh : Delete/Deploy the overcloud
create_network.sh : Create neutron test network
delete_network.sh : Delete neutron test network
boot_vm.sh : Create a test VM
functions : Contains common functions
template.xml : Default domain XML template
create_virsh_vm.sh : Create required virsh VMs for an overcloud deployment
delete_virsh_vm.sh : Delete virsh VMs of the overcloud deployment
customize_image.sh : Customize overcloud-full image
neutron_bridge_sync.pl : Synchronise neutron bridges with existing instances on given compute
undercloud_database_cleanup.sh : Cleans up mysql database
update_overcloud.sh : Updates the overcloud
test_overcloud.sh : Tests the overcloud
resume_vms.sh : Resume suspended VMs
revert_snapshots : Revert VM snapshots
start_vms.sh : Start VMs
stop_vms.sh : Stop VMs
suspend_vms.sh : Suspend VMs
update_to_rhosp8.sh : Update from 7.X to RHOSP 8.X

Requirements

  • 9GB of RAM ( 1 undercloud, 3 controllers, 1 compute)
    OR
  • 5GB of RAM ( 1 undercloud, 1 controller, 1 compute)

Notes

  • Make sure you kill local dnsmasq on the KVM host otherwise you'll have 2 DHCP servers running.
  • Configure a static IP address on the undercloud VM

Deploying the Undercloud/Overcloud on a KVM host

The default setup.cfg configuration permits a full Undercloud/Overcloud deployment on a laptop with 16GB of available RAM. This is against memory recommendations but can work at some extent. 32GB of available RAM is recommended in order to allocate more memory to the controller VMs.

  1. git clone https://github.com/david-hill/cloud on the KVM host
  2. Generate a root key as root (ssh-keygen -b 2048)
  3. Copy the public key on the KVM host in authorized_keys
  4. Edit setup.cfg
  5. Run create_virsh_vm.sh on the KVM host
  6. Run redeploy_undercloud.sh on the KVM undercloud guest
  7. In a different window, run "watch.sh" on the KVM undercloud guest

Deploying the Undercloud/Overcloud on Baremetal

  1. git clone https://github.com/david-hill/cloud on the undercloud host
  2. Edit setup.cfg
  3. Run redeploy_undercloud.sh
  4. In a different window, run "watch.sh"

Side notes

subscription-manager list --available
subscription-manager orgs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published