Cannot distribute content to CMG ScaleSet after 2303 update

Andrey Fedosov 6 Reputation points
2023-06-08T18:37:26.76+00:00

After we upgraded our SCCM to 2303 the any content failed to distribute to the CMG.

Tried other apps and packages but all failed.

PkgXferMgr.log

• Storage access verified

• Current thread lock token SCCM1_5592_143

• Creating container: content-ctl000c1 in StorageAccount:valleycitiescmg if it does not exist

• Getting URL for container: content-ctl000c1 in StorageAccount:valleycitiescmg

• Sending thread starting for Job: 25195, package: CTL001CE, Version: 2, Priority: 2, server: VALLEYCITIESCMG.WESTUS2.CLOUDAPP.AZURE.COM, DPPriority: 200

• Sent status to the distribution manager for pkg CTL001CE, version 2, status 0 and distribution point ["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com\

• ["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com\ is a cloud distribution point. Will attempt to upload the package to this Cloud distribution point

• Start uploading package with ID CTL001CE to the cloud distribution point ["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com\

• Copying package CTL001CE to the package share location \?\D:\SMSPKGSIG\CTL001CE on the server sccm1.vccc.local

• Clearing the proxy as no proxy address has been set

• Resource Manager - Initializing... Acquiring access token to resource manager and accessing the subscription

• Resource Manager - Initialized

• Resource Manager - Listing keys of storage service valleycitiescmg

• Resource Manager - Key retrieved for storage service valleycitiescmg

• Getting container Ids for StorageAccount:valleycitiescmg

• Storage access verified

• Current thread lock token SCCM1_5592_123

• Creating container: content-ctl001ce in StorageAccount:valleycitiescmg if it does not exist

• Deleting container: content-ctl001ce from StorageAccount:valleycitiescmg if it exists

• Deleted container CTL001CE.

• Algorithm KeySize (in Bits) = 256, BlockSize (in Bits) = 128

• Getting container Ids for StorageAccount:valleycitiescmg

• Storage access verified

• Current thread lock token SCCM1_5592_123

• Creating container: content-ctl001ce in StorageAccount:valleycitiescmg if it does not exist

• Getting URL for container: content-ctl001ce in StorageAccount:valleycitiescmg

• Package upload location is https://valleycitiescmg.blob.core.windows.net/content-ctl001ce

• About to upload files from package source directory D:\SMSPKGSIG\CTL001CE

• WARNING: Caught exception System.Reflection.TargetInvocationException - Exception has been thrown by the target of an invocation.

• Call stack: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)~~ at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)~~ at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)~~ at System.Security.Cryptography.MD5.Create()~~ at Microsoft.WindowsAzure.Storage.Core.Util.MD5Wrapper..ctor()~~ at Microsoft.WindowsAzure.Storage.Blob.BlobWriteStreamBase..ctor(CloudBlobClient serviceClient, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)~~ at Microsoft.WindowsAzure.Storage.Blob.BlobWriteStreamBase..ctor(CloudBlockBlob blockBlob, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.OpenWrite(AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)~~ at Microsoft.ConfigurationManager.AzureManagement.AzureStorageBlobOperation.EncryptAndUploadFileToBlob(String containerName, String blobName, String filePath, ICryptoTransform cryptoTransform)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.CryptoUtilities.EncryptAndUploadFileAndSaveContentInfo(String fileName, String contentInfoFullPath, AzureStorageBlobOperation blobOperation, String containerName, String blobName, EncryptionParams encryptionParams, IsCanceledCallback isCanceledDelegate)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.UploadContent(String packageId, String contentId, String contentSource, String contentInfoPath, Boolean uploadFiles, EncryptionParams encryptionParams, ContentRouter contentRouter, String& contentInfoFile)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.UploadPackageToCloudWithContentInfo(String packageId, String contentSource, String contentInfoPath, String cloudDP, String encryptionKey, String algName, Int32 keySize, Int32 blockSize, String& contentInfoFile)

• STATMSG: ID=9300 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_CLOUD_CONTENT_MANAGER" SYS=SCCM1.VCCC.LOCAL SITE=CTL PID=5592 TID=5820 GMTDATE=Thu Jun 08 17:19:42.953 2023 ISTR0="Exception has been thrown by the target of an invocation." ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 LE=0X0 AID0=400 AVAL0="CTL001CE" AID1=404 AVAL1="["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com"

• WARNING: Warning - returning null/empty download address from content upload CTL001CE

• STATMSG: ID=9310 SEV=W LEV=M SOURCE="SMS Server" COMP="SMS_CLOUD_CONTENT_MANAGER" SYS=SCCM1.VCCC.LOCAL SITE=CTL PID=5592 TID=5820 GMTDATE=Thu Jun 08 17:19:42.962 2023 ISTR0="CTL001CE" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 LE=0X0 AID0=400 AVAL0="CTL001CE" AID1=404 AVAL1="["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com"

• UploadPackageToCloudWithContentInfo() failed. Error = 0x80131604

• Failed to distribute content to the cloud DP.

• Sending failed. Failure count = 2, Restart time = 6/8/2023 10:49:42 AM -0700

• Sent status to the distribution manager for pkg CTL001CE, version 2, status 4 and distribution point ["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com\

• Sending thread complete

In the cloudmgr.log

Uploading file C:\Program Files\Microsoft Configuration Manager\inboxes\cloudmgr.box\CloudManagementGateway.zip to container stageartifacts with blob name valleycitiescmg.zip using storage account valleycitiescmg.zip

ERROR: Exception occured for service valleycitiescmg : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.~~ at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()~~ --- End of inner exception stack trace ---~~ at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)~~ at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)~~ at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)~~ at System.Security.Cryptography.MD5.Create()~~ at Microsoft.WindowsAzure.Storage.Core.Util.MD5Wrapper..ctor()~~ at Microsoft.WindowsAzure.Storage.Core.Util.AsyncStreamCopier1..ctor(Stream src, Stream dest, ExecutionState1 state, IBufferManager bufferManager, Nullable1 buffSize, Boolean calculateMd5, StreamDescriptor streamCopyState)~~ at Microsoft.WindowsAzure.Storage.Core.Util.StreamExtensions.WriteToAsync[T](Stream stream, Stream toStream, IBufferManager bufferManager, Nullable1 copyLength, Nullable1 maxLength, Boolean calculateMd5, ExecutionState1 executionState, StreamDescriptor streamCopyState, Action1 completed)~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.<>c__DisplayClass1d.<BeginUploadFromStreamHelper>b__b(Action continuation)~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.BeginUploadFromStreamHelper(Stream source, Nullable1 length, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, AggregatingProgressIncrementer progressIncrementer, AsyncCallback callback, Object state)~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.BeginUploadFromFile(String path, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, AggregatingProgressIncrementer progressIncrementer, AsyncCallback callback, Object state)~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.BeginUploadFromFile(String path, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, AsyncCallback callback, Object state)~~ at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.TaskFromVoidApmT1,T2,T3,T4~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.UploadFromFileAsync(String path, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)~~ at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.UploadFromFileAsync(String path, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)~~ at Microsoft.ConfigurationManager.Azur

STATMSG: ID=9418 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_CLOUD_SERVICES_MANAGER" SYS=SCCM1.VCCC.LOCAL SITE=CTL PID=5592 TID=768 GMTDATE=Thu Jun 08 18:01:22.796 2023 ISTR0="valleycitiescmg" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 LE=0X0 AID0=404 AVAL0="["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com"

STATMSG: ID=9401 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_CLOUD_SERVICES_MANAGER" SYS=SCCM1.VCCC.LOCAL SITE=CTL PID=5592 TID=768 GMTDATE=Thu Jun 08 18:01:22.800 2023 ISTR0="Deployment Maintenance for service valleycitiescmg" ISTR1="Exception has been thrown by the target of an invocation." ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 LE=0X0 AID0=404 AVAL0="["Display=\valleycitiescmg.westus2.cloudapp.azure.com"]MSWNET:["SMS_SITE=CTL"]\valleycitiescmg.westus2.cloudapp.azure.com"

UpdateServiceInfo: Service 16777217 to ServiceState 2 ServiceInfoStateDetail 2005.

TaskManager: 1 task(s) running, 0 task(s) waiting to start.

TaskManager: Task [Deployment Maintenance for service valleycitiescmg] status is Faulted

TaskManager: Removing task [Deployment Maintenance for service valleycitiescmg] from running tasks.

ERROR: TaskManager: Task [Deployment Maintenance for service valleycitiescmg] has failed. Exception System.Reflection.TargetInvocationException, Exception has been thrown by the target of an invocation..

TaskManager: Scheduling task [Deployment Maintenance for service valleycitiescmg] for retry.

ERROR: Operation GetContainerUrl for container: content-ctl001ee in StorageAccount:valleycitiescmg failed with Microsoft.WindowsAzure.Storage.StorageException: Container: Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer does not exist in StorageAccount:valleycitiescmg~~ at Microsoft.ConfigurationManager.AzureManagement.AzureStorageBlobOperation.<GetContainerUrl>d__20.MoveNext()

Start to poll cloud service tasks from DB

TaskWorker: Starting task: [CloudServicesTaskBuilder]

TaskManager: 0 task(s) running, 0 task(s) waiting to start.

CloudServicesTaskBuilder: Starting.

TaskManager: Task [CloudServicesTaskBuilder] status is Running

CloudServicesTaskBuilder: Stopping.

Connection analyzer finds no problems with the CMG and as far as I can tell clients are still able to communicate and access existing content.

Microsoft Configuration Manager
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 40,881 Reputation points Microsoft Vendor
    2023-06-09T07:34:00.43+00:00

    Hi, @Andrey Fedosov

    Thank you for posting in Microsoft Q&A forum.

    WARNING: Warning - returning null/empty download address from content upload CTL001CE

    According to the warning, you may check this article to see if it helps:

    https://www.deploymentresearch.com/configmgr-error-distributing-content-to-a-cloud-dp/


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


  2. Andrey Fedosov 6 Reputation points
    2023-06-13T14:37:58.0266667+00:00

    Hello,

    Could someone please assist me? I still require assistance.