Change service id to compute for compute/api.py

Now the default service id for nova api notification is aggregate,
this is not accurate, we should change it to compute.

Fix bug 1225579

Change-Id: Ife558024c57d9fd035cd1a618063c656e03c52a3
VMware: fix bug for incorrect cluster access

For a number of methods only the first cluster would be accessed
and not the correct cluster.

Fixes bug: 1226211

Change-Id: I4eb3c360fc81de172e46418d5a16dd2bd7077fea
Ensure we don't end up with invalid exceptions again

We've recently had a few (three?) exceptions where the messages
didn't work because there was a typo in the exception variable
name. This change adds a very simple unit test which ensures that
we don't end up in that state again.

Change-Id: I00423b4ce82428959e7591d5c5c47c1f25ec3029
Update rootwrap with code from oslo

These are all minor changes bringing nova up to commit c03f247

c03f247 Skip hidden files while traversion rootwrap filters
3f4d1d5 Fix os.getlogin() problem with no tty
fc04531 Send rootwrap exit error message to stderr
3663010 rootwrap: improve Python 3 compatibility
28395d9 Fixes files with wrong bitmode

Fixes bug #1231206

Change-Id: I9f5faefc769fb37d37b6f093fe3a11a6e9f650d4
Add flavor name validation when create flavor

Check flavor name when create flavor, raise bad request instead
of internal error when flavor name isn't present in request.

Change flavor unit tests to make flavor create request body
validation being tested.

Closes-Bug: 1220087

Co-authored-by: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: I3ec1642305590aff61e54252405420082ac2f596
xenapi: ignore 500 errors from agent resetnetwork

Old versions of the FreeBSD and Gentoo agent return 500 on successful
resetnetwork calls. This changes the current error checking to treat 500
as a successful response for resetnetwork calls.

Fixes bug 1223818
Change-Id: Ia3eea109b6c3186af77124c704f13b70b0b91e81
Merge "VMware: fix bug for incorrect cluster access"
Merge "Update rootwrap with code from oslo"
Merge "Add flavor name validation when create flavor"
Merge "Ensure we don't end up with invalid exceptions again"
Merge "xenapi: ignore 500 errors from agent resetnetwork"
Merge "Change service id to compute for compute/api.py"