Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • O OpenStack-Cloud
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Christopher Hauser
  • OpenStack-Cloud
  • Wiki
  • Add Computenode to Beta cluster

Last edited by Christopher Hauser Aug 02, 2016
Page history

Add Computenode to Beta cluster

  1. Install Centos 7, bring it up to date yum update
  2. Define two network interfaces ethctrl and ethdata (see wiki how to change names)
  3. Stop and disable NetworkManager, restart network
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl restart network
  1. Setup SSH key-based access for user omi and user root!
  2. On omistack-beta:
  3. add new host to /etc/hosts
  4. add new host to CONFIG_COMPUTE_HOSTS in /root/packstack/answer-file.txt make sure to have all other hosts in EXCLUDE_SERVERS
  5. run packstack packstack --answer-file=answer-file.txt

Troubleshooting

Live Migration not working

Error message: "ERROR nova.virt.libvirt.driver [...] Live Migration failure: internal error: unable to execute QEMU command 'migrate': this feature or command is not currently supported"

Solution:

Install qemu* from oVirt repositories:

  1. yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm
  2. yum update -y qemu-img qemu-kvm qemu-kvm-common

The yum update will replace the packages qemu-img qemu-kvm qemu-kvm-common with the newer versions qemu-kvm-common-ev qemu-img-ev qemu-kvm-ev

Second, nova must be configured correctly to use qemu-kvm for migration directly:

crudini --set /etc/nova/nova.conf libvirt live_migration_flag VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST

crudini --set /etc/nova/nova.conf libvirt block_migration_flag VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_NON_SHARED_INC

After changing the nova configuration file, the nova-compute service must be restarted, e.g. openstack-service openstack-nova-compute restart

Clone repository
  • Add Computenode to Beta cluster
  • disk partitioning
  • eth if names
  • ganglia
  • Home
  • ipmitool
  • kickstart
  • networking
  • neutron external
  • nova migration
  • omi clusterlab addnode
  • omi clusterlab index
  • omi clusterlab nodes
  • opendaylight
  • openstack export image
View All Pages