Merge pull request #8 from crowbar/release/pebbles/master

pull last changes
Fix image_cache_dir in glance-api.conf
Always make glance-registry bind to admin IP address

glance-registry is not public and is only used internally to OpenStack.
So it doesn't make sense to make it accessible from public IP addresses.
Fix image_cache_dir in glance-api.conf
SSL support
Register endpoints with public name and FQDN when possible

When using SSL, the common name field in the certificates is checked,
and using IP addresses won't work with that.

Internally to the OpenStack setup, it is always fine to use the FQDN
from the node, so we use this in the internal and admin URLs of the
endpoints.

For the public URL, we prefer to use the public name if it is set. If it
it not set, then we use the public FQDN only if SSL is enabled;
otherwise, we prefer the IP address (like before) because we're not 100%
sure that the administrator will have completed a proper DNS setup where
the public FQDN generated by Crowbar will be announced externally.
Merge pull request #104 from saschpe/release/pebbles/master

https://github.com/crowbar/barclamp-glance/pull/104

Merged by devtool for cloudsleuth
Merge pull request #105 from saschpe/release/pebbles/master-ssl

Release/pebbles/master ssl
Merge pull request #109 from vuntz/use-public-name

Register endpoints with public name and FQDN when possible
Fix initial call to glance-manage

Right now, on installation of glance, there will be a glance-manage
crash (visible in the glance-registry log). This is because we run
glance-manage in the api recipe, before glance-registry.conf is created
while glance-manage read settings from the glance-registry.conf file.

As it makes no sense to call glance-manage twice, we can simply stop
calling it from the api recipe and call it from the registry recipe; we
also make the registry recipe run before the api one.
Merge pull request #107 from vuntz/registry-admin-only

Always make glance-registry bind to admin IP address
Stop installing python-keystone package

This is not needed since commit 930f273, when we moved to using
keystoneclient.middleware.auth_token.
Only use -H -p args with glance when not using keystone
Use --os-* arguments instead of -I/-K/etc. which are deprecated
Use internalURL endpoint for glance commands during the chef run

This is safer than using the publicURL.
Merge pull request #113 from vuntz/use-internalUrl

Use internalURL endpoint for commands during the chef run
Merge pull request #110 from vuntz/glance-manage-fix

Fix initial call to glance-manage
Merge pull request #111 from vuntz/no-python-keystone

Stop installing python-keystone package
Merge pull request #9 from crowbar/release/pebbles/master

pull changes from dell
backing_type was changed into default_store for some reasons, obviously not working after that