Skip to content

Error on container creation when /var/vcap/instance/dns does not exist #25

Open
@rkoster

Description

@rkoster
D, [2025-03-04T09:08:49.583593 #28921] [canary_update(worker/13090775-5621-4ec9-9987-cc81957d9cbb (0))] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-319346] response: {"result":null,"error":{"type":"Bosh::Clouds::CloudError","message":"
Attaching disk '{{vol-6cc0a940-8038-43c5-6b91-190d5bcfdc7d}}' to VM '{{c-b6f66eb3-00dc-4e80-6492-74e5ba9c005d}}': Restoring records.json: Copying to container: Error response from daemon: Could not find the file /var/vcap/instance/dns in c
ontainer c-b6f66eb3-00dc-4e80-6492-74e5ba9c005d","ok_to_retry":false},"log":""}, err: [File System] 2025/03/04 09:08:44 DEBUG - Reading file /var/vcap/jobs/docker_cpi/config/cpi.json

Ideally this file should only be copied when it exists. Or an empty file should be created on initial container creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      Pending Review | Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions