libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoosh <>
Subject [GitHub] libcloud pull request: fixing missing parameter exception for ex_a...
Date Sun, 18 Jan 2015 00:15:59 GMT
GitHub user pmoosh opened a pull request:

    fixing missing parameter exception for ex_add_access_config function

    Missing nic parameter throws exception in gce.ex_add_access_config
    stderr: Traceback (most recent call last):
      File "/Users/pmoosh/.ansible/tmp/ansible-tmp-1421538564.46-10999847043196/",
line 139, in <module>
      File "/Users/pmoosh/.ansible/tmp/ansible-tmp-1421538564.46-10999847043196/",
line 128, in main
        gce.ex_add_access_config(node = my_instance, name = ACC_CNF_NM, nic = 'nic0', nat_ip
= item.address)
      File "/Users/pmoosh/src/apache-libcloud/libcloud/compute/drivers/", line 941,
in ex_add_access_config
        self.connection.async_request(request, method='POST', data=config)
      File "/Users/pmoosh/src/apache-libcloud/libcloud/common/", line 866, in async_request
        response = request(**kwargs)
      File "/Users/pmoosh/src/apache-libcloud/libcloud/common/", line 669, in request
        *args, **kwargs)
      File "/Users/pmoosh/src/apache-libcloud/libcloud/common/", line 736, in request
        response = responseCls(**kwargs)
      File "/Users/pmoosh/src/apache-libcloud/libcloud/common/", line 119, in __init__
        self.object = self.parse_body()
      File "/Users/pmoosh/src/apache-libcloud/libcloud/common/", line 267, in parse_body
        raise InvalidRequestError(message, self.status, code) {'locationType': 'parameter', 'domain': 'global',
'message': 'Required parameter: networkInterface', 'reason': 'required', 'location': 'networkInterface'}

You can merge this pull request into a Git repository by running:

    $ git pull trunk

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #435
commit a9d20be56084150dfdbf23bed20f39249e8a66bf
Author: Peter Mooshammer <>
Date:   2015-01-18T00:08:37Z

    fixing missing parameter exception for ex_add_access_config function


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message