Cloudbase-init failed due to “Cannot load user profile: the device is not ready”

asked 2020-04-10 22:33:20 +0300

ercai gravatar image

Hi,

Do you know why cloudbase-init failed due to “Cannot load user profile: the device is not ready”?

C:>type "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Log\cloudbase-init.log” 2020-04-08 23:46:41.805 2424 DEBUG cloudbaseinit.utils.classloader [—] Loading class cloudbaseinit. osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbase-init\utils\classloader.py:27 12020-04-08 23:46:42.384 2424 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: clo udbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site -packages\cloudbase in it\osut ils\windows.py:895 2020-04-08 23:46:42.384 2424 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloud base—init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1028 2020-04-08 23:46:42.398 2424 DEBUG cloudbaseinit.osutils.windows [-] Besetting password for service [user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-initSpy thon\lib\site-packages\cloudbaseinit\osutils\windows.py:1051 2020-04-08 23:46:42.430 2424 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutionsNcloudbase-initNpythonNlibN site-packages\cloudbaseinit\osutiis\windows.py:1011 2020-04-08 23:46:42.476 2424 INFO cloudbasein it.in it [-] Bespawning current process with updated ere: dentials. 2020-04-08 23:46:42.476 2424 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user’' ,: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutiis\w indows.py: 567 l 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell [-] Cannot load user profile: 'The device is not ready.': WindowsCloudbaselnitException: Cannot load user profile: 'The device is not ready.' 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell Traceback (most recent call last): 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41,. in main • 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell init.InitManager<>.configurehost<> 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase—init\python\lib\site-packages\cloudbaseinitNinitpy", line 172, in configurehost 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.she 11 self.resetservicepasswordandrespawnO' osutils) 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packagescloudbaseinitNinit.py”, line 162, in resetservicepassword _andres pawn 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell logontype =osutils.LOGON32LOGONBATCH) 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutilsNwindows.py", line 588, in createuser_ logon_session 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell "Cannot load user profile: %r") 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell WindowsCloudbaselnitException: Cannot load user profile: 'The device is not ready.' 2020-04-08 23:46:42.476 2424 ERROR cloudbaseinit.shell C:>

Thanks, Erik

edit retag flag offensive close merge delete

Comments

do you get the root cause or solution ?

KevinLiangX gravatar imageKevinLiangX ( 2021-01-26 03:52:43 +0300 )edit