dsccommunity / dsccommunity/SqlServerDsc

SqlSetup: Copied install files are not deleted from temp folder

Open
#781 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Details of the scenario you tried and the problem that is occurring:

After installing SQL Server, xSQLServerSetup does not clean up the install files that were copied from SourcePath, resulting in an extra 3GB of disk usage. Not a huge deal, but if there is an error in the DSC Configuration and the install fails, DSC will keep retrying and eventually exhaust the server's disk space.

The DSC configuration that is using the resource (as detailed as possible):

n/a

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:

n/a

What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:

n/a

Version of the DSC module you're using, or 'dev' if you're using current dev branch:

8.0.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a SqlSetup installation that copies files from SourcePath, then inspect where the resource handles temporary install files. Done means copied files are removed after installation and failed DSC retries do not keep consuming disk space.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
databases, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.