Support passing extra args to network create if NETWORK_CREATE_ARGS is defined

Change-Id: I17b96b74bc7c137589e9af85379c9c6c1bed76c8
Don't use $USERNAME in openrc.

Fix bug 967429.

Don't use $USERNAME as a variable in openrc.  It's commonly set by
default and can result in $OS_USERNAME getting set to something else
unexpectedly, resulting in an environment that doesn't work.

Change-Id: I6083a871209d30c81ca6876b1ef6c154aef7f598
Add local.sh support and samples of local.sh and locarc

Run $TOP_DIR/local.sh at the end of stack.sh if it exists and is executable.
This allows the user to automatically perform local actions on every re-stack,
such as creating custom flavors or specific tenants/users.  Like localrc, this
file is not distributed with DevStack so user modifications will be undisturbed.

Add local.sh to .gitignore

Examples of local.sh and localrc are in the samples/ directory.

Change-Id: I0be6b4d80ce084981cac8a3a8f1dc9bc8c3bbd4e
blueprint host-aggregates

add some inital tests for the host-aggregates blueprint

Change-Id: I0c07f2e7fd123bbda6d26f4ff64bea3949e57157
Add support for qcow2 images in $IMAGE_URLS.

This patch adds support for loading a qcow2 image and using the 'bare'
container format for all single file images.

I tested this successfully by setting:

IMAGE_URLS="http://berrange.fedorapeople.org/images/2012-02-29/f16-x86_64-openstack-sda.qcow2"

Change-Id: Ia55ffd4957866a3d7b9fd7ba4c62e38663b35080
Handle additional directory structures in image upload

There appear to be multiple forms if AMI archive directory structures
in common use.  Add the one used by the tty-linux so we can get rid of
the special case for it to support UPLOAD_LEGACY_TTY

(new):
image-name/aki-tty/image
image-name/ami-tty/image
image-name/ari-tty/image

and

(existing):
image-name/*.img
image-name/*.initrd
image-name/*.vmlinuz

Change-Id: Ia7d88d53760f571c6a488c3139049502b484d33e
Fix oversight in container format handling

https://review.openstack.org/5934 changed the container and disk format handling,
but I forgot to reset the variables at the top of the loop (DOH!)

Change-Id: I2782c06e7b4da1b69ecb72f847a5593bda522b7d
Merge "Handle additional directory structures in image upload"
Merge "Add local.sh support and samples of local.sh and locarc"
Converts all tables and connections to UTF8.

This is https://review.openstack.org/4221 resurrected as the original
was auto-abandoned.

Nova database is handled in db migrations; this adds the nova.conf
change noted by Naveed Massjouni in the original proposal.

Connections to quantum and melange DB changed to utf8

References bug 933208.

Change-Id: Ifc4e5cd71cafb719da62214aafc394563ed1aa29
Fix quantum deps

* Compile linux headers
* Install quantum before libvirt/n-cpu since openvswitch
  complains if bridges are present during installation
* Fixes bug 968424

Rebased

Change-Id: Iec7c029f264998ad9e23901bdf2129a404d057cd
A) Add/move functions to 'functions' file

Add ini*() and tests
Add GetOSVersion()
Add install_package(), yum_install()
Add *_service()

Rebased

Change-Id: I570dba5ed4d2b988cdd1771cf6bed0aaf8e0fe27
Merge "Support passing extra args to network create if NETWORK_CREATE_ARGS is defined"
bug 965199: quantum devstack broken by previous commit that moved config files

Change-Id: Id323e53d206304f4628e5710bb60252c48e4b615
Merge "A) Add/move functions to 'functions' file"
Merge "bug 965199: quantum devstack broken by previous commit that moved config files"
Get tempest configuration file up2date with trunk

The old configure_tempest script wasn't writing an
appropriate Tempest config file. This should get things
updated to the point where Tempest should at least run
properly without erroring out on configuration issues like
we've been seeing...

Change-Id: Ice7aca10e74c0a365e1638f7b3e423aa768d3074
C) Move swift defaults for config & data

* change config vars _LOCATION to _DIR to be consistient with other vars
* let config files live in /etc/swift like they want to
* move swift backing files to $DEST/data/swift

Change-Id: Idbd507736b46c5c2330e0255cc87f40068d3faf6
Make the screen hardstatus line configurable.

The default hardstatus line now includes the system load along with the hostname. Minor color changes.

Change-Id: I70ebeef0981c741dd647c0e98df3f4b7e09de9cd
D) Reorganize top of stack.sh

Pull stack.sh sanity check reorg from multi-distro branch.
This performs OS detection checks earlier and moves the
Sanity Check section later so we have more information available.

Change-Id: I5b9e64c4dc024a9ad90bd4f7e5ed86d601c0f610