New Question
0

Problem deploying WinSrv2019 Image with MaaS

asked 2019-10-25 15:41:07 +0200

tothgerold gravatar image

I have created a Windows Server 2019 Image with the windows-openstack-imaging-tools and imported it succesfully into Maas (2.6.1). MaaS Deployment is starting, the image gets downloaded and extracted. But after the following reboot I get the following message:

Booting under MAAS direction... error: (http,x.x.x.x:5240/images/custom/amd64/ga-18.04/WinSrv2019/no-such-image/boot-kernel has invalid signautre. error: you need to load the kernel first.

Heres the end of the MAAS install log:

6254592K ........ ........ ........ ........ ...... 100% 18.9M=5m44s 2019-10-25 11:48:23 (17.8 MB/s) - written to stdout [6407224840/6407224840] finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from http://10.10.140.100:5248/images/cust...uefi/uploaded/root-tgzApplying writefiles from config.finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extractstart: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooksRunning curtin builtin curthooksfinish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooksTraceback (most recent call last): File "/curtin/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/curtin/curtin/commands/curthooks.py", line 1442, in curthooks builtincurthooks(cfg, target, state) File "/curtin/curtin/commands/curthooks.py", line 1259, in builtincurthooks distroinfo = distro.getdistroinfo(target=target) File "/curtin/curtin/distro.py", line 116, in getdistroinfo variantname = osrelease(target=target)['ID']KeyError: 'ID''ID'curtin: Installation failed with exception: Unexpected error while running command.Command: ['curtin', 'curthooks']Exit code: 3Reason: -Stdout: start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks Running curtin builtin curthooks finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks Traceback (most recent call last): File "/curtin/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/curtin/curtin/commands/curthooks.py", line 1442, in curthooks builtincurthooks(cfg, target, state) File "/curtin/curtin/commands/curthooks.py", line 1259, in builtincurthooks distroinfo = distro.getdistroinfo(target=target) File "/curtin/curtin/distro.py", line 116, in getdistroinfo variantname = osrelease(target=target)['ID'] KeyError: 'ID' 'ID' Stderr: ''

Any hints what could cause the deplyoment to fail?

many thanks for your support, Gerold

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-10-25 17:14:17 +0200

avladu gravatar image

Hello,

At a first glance, it looks that the image was not properly registered / uploaded in maas.

Make sure the curtin hooks are installed in the image and that the image upload in maas is done like this:

maas root boot-resources create name=windows/win2012r2 architecture=amd64/generic filetype=ddtgz content@=/home/maasctrl/windows-win2012r2-amd64-root-dd

Thank you,

Adrian Vladu

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

Stats

Asked: 2019-10-25 15:41:07 +0200

Seen: 911 times

Last updated: Oct 25 '19