Multiple warnings about "spGetIpRangeDataByTaskGuid" stored procedure
search cancel

Multiple warnings about "spGetIpRangeDataByTaskGuid" stored procedure

book

Article ID: 379850

calendar_today

Updated On:

Products

IT Management Suite Deployment Solution

Issue/Introduction

You recently upgraded to ITMS 8.7.2 release and while looking at the NS logs on your SMP Server, you noticed the following warning message:

Attempt to execute procedure 'spGetIpRangeDataByTaskGuid' that does not exist in the white list

Environment

ITMS 8.7.2

Cause

Known issue. This "spGetIpRangeDataByTaskGuid" stored procedure is introduced by Deployment Solution. This warning is not a reflection of something wrong. It usually means at the Deployment Solution install/upgrade setup time about this procedure, it was not added it into 'white list', that we use for SP's that are possible to run from tasks.

"spGetIpRangeDataByTaskGuid" is created by this config file:

C:\Program Files\Altiris\Deployment\Config\Altiris.Deployment_PostInstallSQL.config 

 

<sqlObject name="spGetIpRangeDataByTaskGuid">
        <sqlStatement exists="true"><![CDATA[
        drop proc dbo.spGetIpRangeDataByTaskGuid
      ]]></sqlStatement>
        <sqlStatement exists="both"><![CDATA[
        -- =============================================
        -- Author:        <Author, Mark>
        -- Desc: 
        -- =============================================

        create proc dbo.spGetIpRangeDataByTaskGuid
        @taskGuid uniqueidentifier
        as 
        begin
                SET TRANSACTION ISOLATION LEVEL READ COMMITTED
                BEGIN TRANSACTION
                  update IpRangeData
                    set NextIpAddress = c.NextIpAddress+1
                    from dbo.IpRangeData c
                    where Task =@taskGuid
                 
                  select Task, NICNumber, Network, NextIpAddress-1 as NextIpAddress, WildcardMask
                  from dbo.IpRangeData where Task = @taskGuid
                COMMIT
        end
      ]]></sqlStatement>
    </sqlObject>

Resolution

This issue has been reported to our Broadcom Development team. A fix for this has been targeted to our ITMS 8.8 release.

This warning can be ignored at the moment.