OSD Bare Metal Server Install fails to connect to the db

Hi,

OSD has been working fine up until now. We are now trying to upgrade the bare metal server to 7.1.120 (300.15) to allow for Windows 10 1703 to be deployed.

The native upgrade step failed. So I removed the OSD server and tried to reinstall. The install always fails to connect to the database during the ‘Perform Post Install Tasks’ step.

I can see in the updateidlescheme.log that it is having trouble to connecting to the db. We are using the installed SQLEXPRESS instance. Errors are like…

Attempt 1/3 to connect to the SQL database has failed
Waiting 30 seconds before retrying
A A A (called from DbGetSourceType (dbdb.rbc:4223))
A (called from DbRbcExecEx (dbdb.rbc:4285))
A (called from DbRbcExec (dbdb.rbc:4247))
A (called from LoadDbConfigInternal (dbdb.rbc:1811))
A (called from LoadDbConfig (dbdb.rbc:1891))
A (called from --toplevel-- (load.rbc:29571))

And at the end of the log file…

Stopping Web extension
Error raised by DbQuery in dbdb.rbc, line 4526 [VM:2993]
Resource temporarily unavailable (Unable to open database connection)
Error raised by DbQuery in dbdb.rbc, line 4526 [VM:2993]
Resource temporarily unavailable (Unable to open database connection)
Error raised by DbQuery in dbdb.rbc, line 4526 [VM:2993]
Resource temporarily unavailable (Unable to open database connection)
Error raised by LoadDbConfig in dbdb.rbc, line 1904 [:0]
Connection refused (Failed to connect to the SQL database [DBD:1904])
Error raised by load.rbc, line 11490 [VM:2806]
Type-protected variable
Invalid RbAgent command: rad-updateidlescheme

I can see the AutoDeploy DSN has been created successfully.

Can someone explain why the failure, and how to get around it? I have run the ‘Base Metal Server Clean up Post Uninstall or Install Failure’ more than once, and also manually removed SQL Express on a number of occasions. Neither fix the issue.

Thanks,
Simon.

Hi,
did you try, after uninstalling the previous version of OSd Bare Metal Server, to run the fixlet 134 on that computer (Bare Metal Server Clean Up Post Uninstall or Install Failure) and restart the computer itself before launching the new installation?
Please, note that the fixlet 134 will also totally remove you MSSQL installation.
Thanks.
Sergio

Hi Sergio,

thanks for the reply. Yes I did this already, on more than one occasion. :frowning:

Thanks,
Simon.

Racer, did you ever get this issue resolved? I’m running into the same thing even after a complete reinstall.

Hi uitouw,

Sadly no it was not resolved, even after a full reinstall.

In the end we stood up a whole new build server.

Thanks,
Racer.