Total Time -- 2 hrs (Folks can always participate the next day too). == Test environment == * An F19/F18 VM with atleast 4GB memory, 20G disk-space. * Should we consider 'devstack' too? (because most of these users walk-in with a laptop, and might not have decent memory/cpu to participate * Note to self: Send a note/blog post saying what's required for the test event as a heads up. == Test instructions == * Quick Start -- http://openstack.redhat.com/Quickstart * $ sudo yum install -y openstack-packstack * $ packstack --allinone --os-quantum-install=n * Neutron (OpenStack networking) packages are not avialable yet for Havana milestone-2 or upstream trunk. Will be available by 5th-Aug (Tentative). * http://openstack.redhat.com/PackStack_All-in-One_DIY_Configuration * Some common operations * http://kashyapc.fedorapeople.org/virt/openstack/rdo/rdo-common-commands.rst.txt * http://kashyapc.wordpress.com/2013/04/10/a-few-common-systemctl-operations-while-testing-openstack-on-systemd-based-distro/ * In-progress notes * http://kashyapc.fedorapeople.org/virt/openstack/two-node-cluster-in-VMs.txt * http://kashyapc.fedorapeople.org/virt/openstack/OpenStack-Grizzly-on-f19.txt * Test matrices from Fedora Test wiki * http://fedoraproject.org/wiki/Test_Day:2013-04-02_OpenStack * this is for Grizzly, I assume you want to test Havana? Or maybe not. * Networking notes * http://openstack.redhat.com/Floating_IP_range * http://openstack.redhat.com/Running_an_instance_with_Neutron == Package repositories == There are a couple of versions avaialbe. * Packages built from hourly upstream trunk -- http://repos.fedorapeople.org/repos/openstack/openstack-trunk/ * OpenStack Havana (milestone-2) packages -- http://rdo.fedorapeople.org/openstack/openstack-havana/ * Fedora 19 official repositories have Grizzly release packages. == IRC== * #fedora-test-day #rdo on Freenode == Test images to be imported into Glance == * Cirros (much smaller download) * https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img * Fedora 19 * QCOW2 -- $ wget http://cloud.fedoraproject.org/fedora-latest.x86_64.qcow2 * RAW -- $ wget http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.raw.xz To import the F19 image into Glance run: * Direct import from the internet (not recommended at Flock): * glance image-create --name "Fedora 19 x86_64" --container-format bare --disk-format qcow2 --is-public true --copy-from http://cloud.fedoraproject.org/fedora-latest.x86_64.qcow2 * Import from previously downloaded file (as per wet instructions above): * glance image-create --name "Fedora 19 x86_64" --container-format bare --disk-format qcow2 --is-public true < /path/to/Fedora-x86_64-19-20130627-sda.qcow2 == Slightly verbose Instructions for allinone [As of 3AUG2013] == $ yum update -y # Reboot if there's a Kernel update $ sudo yum install -y \ http://rdo.fedorapeople.org/openstack/openstack-havana/rdo-release-havana.rpm $ yum install ruby -y $ yum install openstack-packstack -y --enablerepo=updates-testing $ vi \ /usr/lib/python2.7/site-packages/packstack/puppet/templates/nova_compute.pp # Remove the below lines - Fixed by: # exec {'load_kvm': # user => 'root', # command => '/bin/sh /etc/sysconfig/modules/kvm.modules' # } # # Class['nova::compute']-> Exec["load_kvm"] # Run an all-in-one install $ packstack --allinone --os-quantum-install=n Once everything is running, to add an image: # . /root/keystonerc_admin # glance image-create --name cirros-0.3.0 --disk-format qcow2 --container-format bare --copy-from https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img Boot your first instance: # nova image-list +--------------------------------------+--------------+--------+--------+ | ID | Name | Status | Server | +--------------------------------------+--------------+--------+--------+ | e284ba78-d4b4-497f-9d6f-bf443c39922f | cirros-0.3.0 | ACTIVE | | +--------------------------------------+--------------+--------+--------+ # nova flavor-list +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs | +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+ | 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True | {} | | 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True | {} | | 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True | {} | | 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True | {} | | 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True | {} | +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+ # nova boot --flavor 1 --image e284ba78-d4b4-497f-9d6f-bf443c39922f test # nova list +--------------------------------------+------+--------+--------------------------+ | ID | Name | Status | Networks | +--------------------------------------+------+--------+--------------------------+ | 11e75a42-8154-4042-a5e6-07e3a5c48eed | test | BUILD | novanetwork=192.168.32.2 | +--------------------------------------+------+--------+--------------------------+ ... wait a bit ... # nova list +--------------------------------------+------+--------+--------------------------+ | ID | Name | Status | Networks | +--------------------------------------+------+--------+--------------------------+ | 11e75a42-8154-4042-a5e6-07e3a5c48eed | test | ACTIVE | novanetwork=192.168.32.2 | +--------------------------------------+------+--------+--------------------------+ # nova delete test More documentation on how to test out the deployment: * https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/3/html/Installation_and_Configuration_Guide/part-Validating_the_Installation.html == More info == * RDO -- http://openstack.redhat.com/ * http://rhsummit.files.wordpress.com/2013/07/radez_f_0900_deploying_rhos_on_rhel.pdf * http://fedorapeople.org/~russellb/openstack-lab-rhsummit-2012/ * Havana release schedule -- https://wiki.openstack.org/wiki/Havana_Release_Schedule Maybe helpful: http://docs.openstack.org/trunk/openstack-compute/admin/content/booting-a-test-image.html