Apple NetBoot: iPXE Could not open net0

  1. ‹ Older
  2. 10 months ago

    My C/D is configured according to section II.B .
    Where exactly in /mnt/my_smb/resources/ should I place the 0001 image files?

  3. clonedeploy

    17 Jan 2018 Administrator

    How long is forever?
    What exact OS version did you make an NBI from? There is a bug with High Sierra that causes the transfer to take too long, sometimes.

    You can move the NBI anywhere you want, it just needs to be served from a web server, can't use smb.

  4. At least 30 minutes, and the C/D server's network upload seemed to average on 10KB/s.
    Sierra 10.12.6

    Why can't SMB be used like with the images?

  5. clonedeploy

    17 Jan 2018 Administrator

    It should only take about 5 minutes. Guessing that something still is not setup correct. If the Mac can't find the nbi it won't error out. It will just look like it's copying when it really isnt

  6. clonedeploy

    17 Jan 2018 Administrator

    You should be able to check the apache access logs to see what's happening

  7. The apache access log keeps repeating this:

    127.0.0.1 - - [17/Jan/2018:19:54:42 +0200] "GET /clonedeploy/api/Authorization/IsAuthorized/?requiredRight=AdminRead HTTP/1.1" 200 254 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:43 +0200] "GET /clonedeploy/api/Setting/GetSetting/?name=Operation%20Mode HTTP/1.1" 200 308 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:43 +0200] "GET /clonedeploy/api/Setting/GetSetting/?name=Server%20Identifier HTTP/1.1" 200 314 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:43 +0200] "GET /clonedeploy/api/Setting/GetSetting/?name=Operation%20Mode HTTP/1.1" 200 308 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:43 +0200] "GET /clonedeploy/api/ActiveImagingTask/GetActiveTasks/ HTTP/1.1" 200 241 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:43 +0200] "GET /clonedeploy/api/User/GetCurrentUserAuditLogs/?limit=1000 HTTP/1.1" 200 609572 "-" "RestSharp/105.2.3.0"
    10.0.0.101 - - [17/Jan/2018:19:54:44 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 139008 "-" "-"
    127.0.0.1 - - [17/Jan/2018:19:54:44 +0200] "GET /clonedeploy/api/ActiveImagingTask/GetAllActiveCount/ HTTP/1.1" 200 253 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:44 +0200] "GET /clonedeploy/api/ActiveImagingTask/GetActiveTasks/ HTTP/1.1" 200 241 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:44 +0200] "GET /clonedeploy/api/User/GetCurrentUserAuditLogs/?limit=1000 HTTP/1.1" 200 609572 "-" "RestSharp/105.2.3.0"
    127.0.0.1 - - [17/Jan/2018:19:54:45 +0200] "GET /clonedeploy/api/ActiveImagingTask/GetAllActiveCount/ HTTP/1.1" 200 253 "-" "RestSharp/105.2.3.0"
    192.168.20.100 - - [17/Jan/2018:19:54:42 +0200] "POST /clonedeploy/views/admin/dp/edit.aspx?level=2&dpid=1 HTTP/1.1" 200 38196 "http://censored/clonedeploy/views/admin/dp/edit.aspx?level=2&dpid=1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
    10.0.0.101 - - [17/Jan/2018:19:54:46 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:54:48 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:54:50 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:54:52 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:54:54 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:54:56 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:54:58 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:00 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:02 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:04 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:06 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:08 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:10 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:12 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:14 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"
    10.0.0.101 - - [17/Jan/2018:19:55:16 +0200] "GET /clonedeploy/api/public/macos_nbis/0001/NetBoot.dmg HTTP/1.1" 200 144800 "-" "-"

    So it looks like it finds the image but... transfers it very slowly? I dunno.

  8. clonedeploy

    17 Jan 2018 Administrator

    In your apache config for clonedepoy, clonedeploy.conf, do you have this block?

    <Location "/clonedeploy/public/macos_nbis">
    Allow from all
    Order allow,deny
    SetHandler default-handler
    </Location>

    If so try changing the location to /clonedeploy/api/public/macos_nbis

  9. You sir are a genius!
    I ended up just putting a soft link clonedeploy/public -> clonedeploy/api/public, it works now!

  10. Edited 10 months ago by eliadl

    Looks like it "finished" downloading (at not so fast rate), but Mac is still at loading screen.

    Screenshot from 2018-01-17 20-47-16.png
    (it's in MiB/s)

  11. Edited 10 months ago by eliadl

    Update:

    1. That MacMini never did finish loading. Any suggestions?
    2. Trying the same imaging environment on Macbook Pro only displays this icon shortly and then seems to shut down:

    IMG_20180117_190501.jpg

  12. clonedeploy

    18 Jan 2018 Administrator

    1.) What screen did it stop on?
    2.) Did the mac pro come with Sierra or High Sierra?

  13. 1. Progress indicator at 100%:
    mac-progress-bar-screen-icon.png

    2. Fairly certain the MacBook pro came with Sierra.

 

or Sign Up to reply!