lp:~blamar/nova/pylint-undefined
- Get this branch:
- bzr branch lp:~blamar/nova/pylint-undefined
Branch merges
- Josh Kearney (community): Approve
- Devin Carlen (community): Approve
-
Diff: 67 lines (+7/-5)3 files modifiednova/api/openstack/accounts.py (+4/-3)
nova/db/sqlalchemy/api.py (+2/-1)
nova/virt/fake.py (+1/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 828. By Anthony Young
-
Make "ApiError" the default error code for ApiError instances, rather than "Unknown."
Note Dashoard's error handling code:
except boto.exception.
BotoServerError , e:
if e.status == 400 and e.error_code == 'ApiError':
raise NovaApiError(e)
elif e.status == 401:
raise NovaUnauthorize dError( )
elif e.status == 503:
raise NovaUnavailable Error(e)
raise NovaServerError(e)So an error_code of 'Unknown' will raise an ugly exception.
This change also makes the euca errors a bit prettier:
> euca-attach-volume -i i-1 vol-2 -d /dev/vdb
> ApiError: ApiError: Volume status must be availableRather than:
> euca-attach-volume -i i-1 vol-2 -d /dev/vdb
> Unknown: Unknown: Volume status must be availableThough the reiteration of the error code is still a bit ugly.
- 827. By Todd Willey
-
When changing the project manager, if the new manager is not yet a project member, be sure to make them be a project member.
- 826. By Todd Willey
-
Make the rpc cast/call debug calls show what topic they are sending to. This aides in debuugging.
- 825. By Dan Prince
-
Update the Openstack API to handle case where personality is set but null in the request to create a server.
- 823. By Soren Hansen
-
Fix a number of place in the volume driver where the argv hadn't been fully split
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/nova/trunk