Cleanup XenAPI related devstack code

Registered by Mate Lakat on 2013-05-07

The XenAPI specific devstack code contains some outdated/non-used elements, and it is not self documenting. Lot of users are experiencing problems, when trying to get a stack up and running. The aim of this blueprint is to revisit that code, and clean up.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
Mate Lakat
Direction:
Approved
Assignee:
Mate Lakat
Definition:
Obsolete
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Dean Troyer on 2014-02-28
Completed by
Mate Lakat on 2016-11-11

Related branches

Sprints

Whiteboard

Some issues that were identified:
- localrc is used as a placeholder for all the variables
- global variables used all over the script
- non-used code fragments
- network configuration is not flexible enough (if you change the network config, you need to do some manual cleanup steps)
- static IP configuration is broken
- internal XenAPI interface does not seem to be used

Thinking about the steps:
- Dom0 modifications (plugins, symlinks, ssh keys)
- Hypervisor configuration (create networks if needed)
- OSVM installation - setup a clean JeOS using installer network and installer config => OSVM-RAW
- OSVM modification - modify the JeOS filesystem: inject drivers, and driver installer script => OSVM-TOOLED
- OSVM modification - add network cards, inject network configuration => OSVM-STACK
- log in to OSVM-STACK, and run devstack

Gerrit topic: https://review.openstack.org/#q,topic:bp/xenapi-devstack-cleanup,n,z

Addressed by: https://review.openstack.org/28430
    xenapi - cleanup

Addressed by: https://review.openstack.org/28673
    xenapi: Ubuntu installation repository/proxy fix

Gerrit topic: https://review.openstack.org/#q,topic:bp/blueprint,n,z

Addressed by: https://review.openstack.org/28912
    xenapi - use management network to reach OS VM

Addressed by: https://review.openstack.org/31035
    xenapi: kernel_cmdline moved out from template

Addressed by: https://review.openstack.org/31977
    xenapi: separate disk for cinder volumes

Addressed by: https://review.openstack.org/33424
    xenapi: Get rid of internal xapi interface

Addressed by: https://review.openstack.org/33632
    xenapi: cleanup VM Installation

Addressed by: https://review.openstack.org/36697
    xenapi: extract vm installation

Addressed by: https://review.openstack.org/39360
    xenapi: Use a jeos vm as a template

(?)

Work Items

Work items:
Get rid of VLAN configuration: DONE
Add proxy settings for Ubuntu install: DONE
Better network defaults: INPROGRESS
Reconfigure networking without Ubuntu VM re-install: INPROGRESS
Add virtual disk for cinder volumes: INPROGRESS

This blueprint contains Public information 
Everyone can see this information.