"Check compliance with Image” subtask in SDDC Manager fails with error "Task failed with Unknown Error: Failed to create temporary file. Error: Permission denied"
search cancel

"Check compliance with Image” subtask in SDDC Manager fails with error "Task failed with Unknown Error: Failed to create temporary file. Error: Permission denied"

book

Article ID: 425082

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • SDDC Manager subtask "Check compliance with Image” fails and reports the following problem:

    Data value is required

  • Domain Manager logs shows the following errors:

    /var/log/vmware/vcf/domainmanager/domainmanager.log
    yyyy-mm-ddThh:mm:ss.zzz+0000 INFO  [vcf_dm,<task_id>,2360] [c.v.v.v.v.PersonalityImageManager,dm-exec-19]  Status of task :Info (com.vmware.cis.task.info) => {
        progress = Progress (com.vmware.cis.task.progress) => {
            total = 100,
            completed = 15,
            message = LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
                id = com.vmware.vcIntegrity.lifecycle.Task.Progress,
                defaultMessage = Current progress for task created by VMware vSphere Lifecycle Manager,
                localized = Current progress for task created by VMware vSphere Lifecycle Manager
            }
       ..
        error = Error (com.vmware.vapi.std.errors.error) => {
            messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
        id = com.vmware.vcIntegrity.lifecycle.TaskError.UnknownError,
        defaultMessage = Task failed with Unknown Error: Failed to create temporary file. Error: Permission denied,
        args = [Failed to create temporary file. Error: Permission denied],
        params = <null>,
        localized = Task failed with Unknown Error: Failed to create temporary file. Error: Permission denied
    }],
            data = <null>,
            errorType = ERROR



  • On the vCenter we seeing a similar error:

    /var/log/vmware/vmware-updatemgr/vmware-vum-server.log
    yyyy-mm-ddThh:mm:ss.zzz+01:00 info vmware-vum-server[418646] [Originator@6876 sub=HostUpdateDepotManager opID=<operation_id>] [patchDepotManager 533] Start downloading patch binaries,
    4
    yyyy-mm-ddThh:mm:ss.zzz+01:00 verbose vmware-vum-server[418646] [Originator@6876 sub=httpDownload opID=<operation_id>] [httpDownloadPosix 1059] The url /tmp/offlineBundle######/vib20/<VIB_COMPONENT> is not a http or https URL.
    yyyy-mm-ddThh:mm:ss.zzz+01:00 verbose vmware-vum-server[418646] [Originator@6876 sub=httpDownload opID=<operation_id>] [httpDownloadPosix 1059] The url /tmp/offlineBundle######/vib20/<VIB_COMPONENT> is not a http or https URL.
    yyyy-mm-ddThh:mm:ss.zzz+01:00 info vmware-vum-server[418646] [Originator@6876 sub=ClusterDPMConfigShield opID=<operation_id>] [ClusterDPMConfigShield 183] [~ClusterDPMConfigShield] Re-
    enabled DPM on cluster domain-c### by the last operaiton in the series of concurrent VLCM workflow.
    ..
    yyyy-mm-ddThh:mm:ss.zzz+01:00 error vmware-vum-server[418646] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.DesiredScanClusterTask] [Task, 524] Task:com.vmware.vcIntegrity.lifecycle.DesiredScanClust
    erTask ID:<task_id>. Task Failed. Error: Error:
    -->    com.vmware.vapi.std.errors.error
    --> Messages:
    -->    com.vmware.vcIntegrity.lifecycle.TaskError.UnknownError<Task failed with Unknown Error: Failed to create temporary file. Error: Permission denied>

Environment

VMware Cloud Foundation 5.x
VCenter Server 8.0.3x

Resolution

To remediate the issue, reboot the vCenter appliance and retry the failed workflow.