bnc#893877 - trove not installed after upgrade

Have the update script install the trove barclamp
Merge pull request #13 from nkrinner/install-trove

bnc#893877 - trove not installed after upgrade
fix test for user answering Y
fix post step error message
Check the nodes have packages updated to SUSE Cloud 4 packages

We do that before the reboot (and the migration of neutron bits).

https://bugzilla.novell.com/show_bug.cgi?id=892500
(cherry picked from commit 8e86e1df687cc0238917548fd603e4bcf101c93f)
Do not output the result of "rpm -q" in our logs

It's useless.
Merge pull request #15 from dirkmueller/suse-cloud-4

Check the nodes have packages updated to SUSE Cloud 4 packages
Improved the scrapping of the suse cloud version
Use local variables in functions

This will avoid undesired side-effects.
Make get_allocated_nodes always set get_allocated_nodes_retval as retval

The old code was broken because the name of the variable passed to
get_allocated_nodes to save the result should not be used inside the
function; but it was...
Fix log in get_allocated_nodes to mention role
Merge pull request #20 from rhafer/fix-variables-mess

Make get_allocated_nodes always set get_allocated_nodes_retval as retval
Merge pull request #17 from lewismarshall/suse-cloud-4

Improved the scrapping of the suse cloud version
Clarify variable names
Remove duplicated agents in neutron database before doing db migration

Otherwise, we can hit an error like this during the migration:

sqlalchemy.exc.IntegrityError: (IntegrityError) could not create unique index
"uniq_agents0agent_type0host"
DETAIL:  Key (agent_type, host)=(Open vSwitch agent, d00-19-b9-e2-22-b5) is
duplicated.
 'ALTER TABLE agents ADD CONSTRAINT uniq_agents0agent_type0host UNIQUE
(agent_type, host)' {}

https://bugzilla.novell.com/show_bug.cgi?id=892503