DHCP CD does not respond request
First, thank you for your amazing tool, it saved my life and my time so many times !
I'm trying to setup a CloneDeploy server on Ubuntu Server 16.04 to deploy macOS images (High Sierra), I use cd dhcp proxy but it seems to not answer to my MacBookPro requests.
I can see the 2 Netboot.img created but nothing more when I select one...
I don't know if this is a cd dhcp proxy misconfiguration, or tftp, or anything else...
Please find attach the cd dhcp logs, tftp service status and dhcp proxy config file.
Thanks for your help!
PS: btw, [code]http://192.168.1.14/clonedeploy/public/macos_nbis/0002/NetBoot.dmg[/code] give me nothing, only [code]http://192.168.1.14/clonedeploy/api/public/macos_nbis/0002/NetBoot.dmg[/code] works. Strange or normal ?
Yes the apple root path is wrong, it should include the api part. This way changed in 1.3.x version of CloneDeploy but never updated correctly in proxy dhcp.
I did change the apple-root-path in the config.ini file but nothing change, still the same logs and issues.
Also, is this normal that TFTP server says [code]client does not accept options[/code] ?
The server is only used for CD
Since you can see the netboot selection, it's not dhcp or proxy issue. It's either tftp or http. After you select one of the boot options, it next goes tftp then http, I would check the apache logs
I checked apache logs but nothing inside it.
tftp seems to work well (cf. screen).
http seems to work well too, [quote]http://192.168.1.14/clonedeploy/api/public/macos_nbis/0002/NetBoot.dmg[/quote] in a browser download the file
I tried to use Wireshark but anyone try to talk to 192.168.1.14 cd server
Your apache access and error logs are empty?
It's not empty, it's just there is nothing interessing inside
Still can't determine if it's tftp or http. After you select the option from the menu what happens on screen? Question mark or any type of progress bar?
You could try turning up the log level for tftp.
add -vvvv to the options
Restart the service, try a netboot and monitor /var/log/syslog
I got the globe when downloading booter using tftp, then got a progress bar... but the progress bar never ends... I wait more than 12h but nothing, it seems full at 100% but never ends.
Seems like a http issue ? tftp seems good except for "tftp: client does not accept options".
Nothing more in syslog than the screenshot attached.
Also attached the access.log
Thanks for the access log, I see the issue.
find [code]<Location "/clonedeploy/public/macos_nbis">[/code]
change to [code]<Location "/clonedeploy/api/public/macos_nbis">[/code]
Again, looks like it wasn't updated properly for 1.3.x, not many people using the mac environment, at least not on Linux.
I did the correction, then restarted the server but it's still not working.
Same issue, it seems to load (access.log is different now) but when arround 100% anything more in access.log and progress bar seems to freeze on the macbook pro.
I just tried with an another NetInstall built from AutoCasperNBI and it's working..
The 1st that didn't worked is a NetRestore image built from Apple Image Utility System
Can't we use a NetRestore image ?
PS: By the way the script launched after booting on NetInstall display an error :
[quote]Could Not Contact CloneDeploy Server. Enter http://192.168.1.14/clonedeploy//api/ClientImaging/Test In A Web Browser.[/quote] There is a double / before api.
I have never tested a NetRestore. Seems like it should work.
Not sure about your api error. You should just be able to copy that url into safari from the nbi to see if it can reach the server. The double / doesn't matter.
NetRestore images are named "NetInstall.dmg" inside the [i]macos_nbis[/i] folder, not NetBoot.dmg
And the logs give me a file not found... did you hardcoded "NetBoot.dmg" somewhere?
(I tried to rename to NetBoot.dmg but it's not working).
The double / should not be important but it is, I tried this in my browser:
[code]http://192.168.1.14/clonedeploy//api/ClientImaging/Test[/code] give me 404 Http Exception.
[code]http://192.168.1.14/clonedeploy/api/ClientImaging/Test[/code] give me "true"