Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException returned when changing VPN Customer Gateway settings #821

Open
shoekstra opened this issue Feb 24, 2019 · 0 comments
Open

Comments

@shoekstra
Copy link
Member

shoekstra commented Feb 24, 2019

When trying to modify an existing VPN Customer Gateway via the API NullPointerException: is returned:

$ cloudmonkey list vpncustomergateways id=cc9942b9-e953-4f2b-88e6-05467b6c1075
count = 1
vpncustomergateway:
name = terraform-foo
id = cc9942b9-e953-4f2b-88e6-05467b6c1075
account = ...
cidrlist = 10.0.1.0/24
domain = SBP
domainid = f7842270-6097-45af-ad1e-a678e06d0f22
dpd = False
esplifetime = 86400
esppolicy = aes256-sha1
forceencap = False
gateway = 1.2.3.4
ikelifetime = 86400
ikepolicy = aes256-sha1;modp1024
ipsecpsk = test


$ cloudmonkey update vpncustomergateway id=cc9942b9-e953-4f2b-88e6-05467b6c1075 cidrlist=10.0.1.0/24 gateway=1.2.3.4 esppolicy=aes256-sha1 ikepolicy='aes256-sha1;modp2048' ipsecpsk=test
Async job 35181e0a-e1b8-43b3-9204-79952c79cc4c failed
Error 530, NullPointerException:
accountid = 1ac7a8ae-c639-4f8c-b934-a01e23be7cab
cmd = com.cloud.api.command.user.vpn.UpdateVpnCustomerGatewayCmd
created = 2019-02-24T16:18:13+0100
jobid = 35181e0a-e1b8-43b3-9204-79952c79cc4c
jobprocstatus = 0
jobresult:
errorcode = 530
errortext = NullPointerException:
jobresultcode = 530
jobresulttype = object
jobstatus = 2
userid = 1fac3ec1-0ae7-40d7-85b5-83d073c77aac

Can't replicate this when modifying properties of the VPN Customer Gateway via the UI, after saving and refreshing the new settings are visible (and returned correctly via the API).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant