[SOLVED] Win deployment issue

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
eliottiph
Messages: 32
Registration: May 2, 2022 - 10:41

May 4, 2022 - 11:35

- Installed WAPT version: WAPT 2.2.11899
- Server OS: Debian 10
- DHCP Server: Win19 Server
- Operating system of the administration/package creation machine: Windows 10

Good morning,
I am currently testing WAPT on a virtual environment (Virtualbox).

I'm having a problem during deployment:
screen deployment.png
screen deployment.png (11.79 KB) Viewed 4632 times


The task remains stuck at 0%, I can't find the source of this problem...

Thanks in advance.
Last edited by eliottiph on Jul 29, 2022 - 13:52, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 4, 2022 - 2:28 PM

Can you try accessing this URL from the VirtualBox machine? (You'll need an operating system for this) (via HTTP)
eliottiph
Messages: 32
Registration: May 2, 2022 - 10:41

May 4, 2022 - 2:35 PM

Yes, here's what I get:
wapt forum.png
wapt forum.png (8.8 KB) Viewed 4616 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 4, 2022 - 2:51 PM

Your capture is using HTTPS.

Do you have an automatic redirect to HTTPS on your server?

If you want to use HTTPS with IPXE, you need a valid HTTPS certificate or you'll need to recompile IPXE...
eliottiph
Messages: 32
Registration: May 2, 2022 - 10:41

May 4, 2022 - 3:33 PM

Yes, indeed I used the --force-https parameter when running the post-conf script.

Thank you for the information.
eliottiph
Messages: 32
Registration: May 2, 2022 - 10:41

May 4, 2022 - 4:49 PM

I still have some concerns:

-Deployment crashes during launch; the deployment remains stuck on the line media/sources/boot.wim ok
error during deployment.png
Error during deployment.png (18.66 KB) Viewed 4596 times
-When I want to prepare the offline Djoin, only one OU is offered even though I have other OUs created in my AD.
DJOIN ERROR.png
DJOIN ERROR.png (6 KB) Viewed 4596 times
We're making slow but steady progress ;)
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 4, 2022 - 8:17 PM

Judging from the screenshot, you have a VirtualBox legacy BIOS, not a UEFI one

However, the machine is trying to boot in UEFI mode according to the screenshots

In this type of case, the address should be http://srvwapt.mydomain.lan/api/v3/baseipxe?uefi=false

The DHCP configuration that automatically redirects based on the BIOS type must be incorrect.

To understand how this works in DHCP:

Code: Select all

# Si la machine est une machine avec un bios legacy (client-architecture = 00:00) alors:
filename "undionly.kpxe"     (on indique ici de démarer ipxe)

# Si la machine est une machine avec un bios legacy (client-architecture = 00:00) ET que c'est ipxe qui demande alors :
filename "http://srvwapt.mydomain.lan/api/v3/baseipxe?uefi=false"

# Si la machine est une machine avec un bios uefi (client-architecture != 00:00) alors:
filename "ipxe.efi";
    
# Si la machine est une machine avec un bios uefi (client-architecture != 00:00) ET que c'est ipxe qui demande alors : 
filename "http://srvwapt.mydomain.lan/api/v3/baseipxe

The machine therefore makes two DHCP requests: one to retrieve the IPXE file, and once IPXE has started, IPXE itself makes another DHCP request to retrieve its configuration URL

Note that our documentation does not mention legacy for Windows DHCP servers:
https://www.wapt.fr/fr/doc/wapt-wads-tf ... hcp-server


Regarding OUs, wapt only displays OUs that are known through the already installed wapt agent. If you want to mention an OU that does not appear, directly modify the field in the top right of the "OU" window

In your example, you selected the domain root, which isn't possible; you need to use an OU. We just haven't implemented security at that level yet
eliottiph
Messages: 32
Registration: May 2, 2022 - 10:41

May 5, 2022 - 11:01

Good morning,

I modified my DHCP settings as follows, but the crash occurred at the same point:
legacy modif options.png
legacy modif options.png (10.6 KB) Viewed 4526 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 5, 2022 - 11:39

UEFI no longer appears in the screenshot?
eliottiph
Messages: 32
Registration: May 2, 2022 - 10:41

May 5, 2022 - 12:12

boot error.wim.png
boot error.wim.png (19.97 KB) Viewed 4520 times
Locked