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

SetEnqueueReinitializeServer and vm.reinitialize() failure when ConfigureIPv6=True #57

Open
mz0 opened this issue Dec 10, 2018 · 1 comment

Comments

@mz0
Copy link

mz0 commented Dec 10, 2018

tried both (via API and by posting to the respective URL), got error:
{"ExceptionInfo":null,"ResultCode":-500,"ResultMessage":"Object reference not set to an instance of an object.\u000d\u000aExceptionCode=-500\u000d\u000a","Success":false}

(Sure both my code snippets work when ConfigureIPv6=False)

@mz0
Copy link
Author

mz0 commented Dec 11, 2018

fortunately a workaround exists:

  • reinitilize (ConfigureIPv6=false)
  • from GetServerDetails get ['Value']['NetworkAdapters'][0]['IPAddresses'][0]['StartRangeIPv6'] and ['Value']['NetworkAdapters'][0]['IPAddresses'][0]['PrefixIPv6'] (for Smart VM)
  • add them to static IP configuration (the 7 lines below for Debian/Ubuntu) && reboot

append to /etc/network/interfaces:

iface eth0 inet6 static
pre-up modprobe ipv6
	address <StartRangeIPv6>
	netmask <PrefixIPv6>
	autoconf 0
	gateway fe80::1
	dns-nameservers 2001:4860:4860::8888

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