New Question
0

Extending volumes on Windows 2016 does not work with volumes over 93GB?

asked 2017-02-09 16:39:05 +0200

tomaben gravatar image

Hi,

I have an issue with extending volumes with cloudbase-init on Win2k16 when volumes are over 93GB.

  • If I create on Win2k16 volume with 94GB or more, automatic disk resize not working.
  • If I create onstrong text Win2k16 volume with 93GB or less everything is ok.

Is there any limitations in volume size in ExtendVolumesPlugin?

  • 93GB -> 99857989632 byte - OK

  • 94GB -> 100931731456 byte - don't work

Here is the output from cloudbase-init.log with volumes 93GB

2017-02-09 12:47:29.239 2984 INFO cloudbaseinit.init [-] Executing plugin 'ExtendVolumesPlugin' 2017-02-09 12:47:29.239 2984 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:47:29.255 2984 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.utils.windows.storage.wsmstoragemanager.WSMStorageManager' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:47:42.602 2984 INFO cloudbaseinit.utils.windows.storage.wsmstoragemanager [-] Extending partition "1" to 99855892480 bytes strong text

Here is the output from cloudbase-init.log with volumes 94GB

2017-02-09 12:51:00.949 2940 INFO cloudbaseinit.init [-] Executing plugin 'ExtendVolumesPlugin' 2017-02-09 12:51:00.949 2940 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:51:00.964 2940 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.utils.windows.storage.wsmstoragemanager.WSMStorageManager' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:51:14.021 2940 DEBUG cloudbaseinit.init [-] Plugin 'UserDataPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.030 2940 DEBUG cloudbaseinit.init [-] Plugin 'SetUserPasswordPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.037 2940 DEBUG cloudbaseinit.init [-] Plugin 'ConfigWinRMListenerPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.045 2940 DEBUG cloudbaseinit.init [-] Plugin 'ConfigWinRMCertificateAuthPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.052 2940 DEBUG cloudbaseinit.init [-] Plugin 'LocalScriptsPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.060 2940 INFO cloudbaseinit.init [-] Plugins execution done 2017-02-09 12:51:14.068 2940 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service 2017-02-09 12:51:17.077 2940 DEBUG cloudbaseinit.osutils.windows [-] Stopping service cloudbase-init stop_service c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:715

Best Regards,

Benjamin

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
0

answered 2017-02-09 18:49:13 +0200

avladu gravatar image

updated 2017-02-10 04:42:17 +0200

Hello,

I have yet to reproduce the error in our environments. We have recently replaced the storage api used for windows 10 / windows server 2016 and it's s already available in the latest code and nightly build installer. Using the nightly build will fix this issue you have.

Thank you, Adrian Vladu

edit flag offensive delete link more

Comments

Hi, I have downloaded nightly build installer and tested. Extending volumes over 93GB now working. Thank you. Benjamin

tomaben gravatar imagetomaben ( 2017-02-10 09:46:41 +0200 )edit
0

answered 2017-02-09 18:11:56 +0200

tomaben gravatar image

Thank's for very fast support.

It's working.

You are great!

Best Regards,

Benjamin

edit flag offensive delete link more
0

answered 2017-02-09 16:46:58 +0200

alexpilotti gravatar image

Hi, thanks for reporting this issue. While we investigate, can you please apply this one line change and run cloudbase-init again?

https://review.openstack.org/#/c/4290...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-02-09 16:39:05 +0200

Seen: 1,010 times

Last updated: Feb 10 '17