Centos 7 Image Import failure - No '/dev/log' or 'logger' included for syslog logging"

272 views
Skip to first unread message

PabloG

unread,
Jan 28, 2019, 12:32:05 PM1/28/19
to gce-discussion
hi,

I am trying to import a Centos 7 virtual Disk using 
gcloud compute images import import1  --source-file gs://my-image/disk1.vmdk --os centos-7

but I am getting an error that the /dev/log is not there:
...
[import-and-translate]: 2019-01-27T10:35:02Z Error running workflow: step "translate" run error: step "translate-disk" run error: step "wait-for-translator" run error: WaitForInstancesSignal FailureMatch found for "inst-translator-import-and-translate-translate-translate-3lzlh": "TranslateFailed: error: command: No '/dev/log' or 'logger' included for syslog logging"
[import-and-translate]: 2019-01-27T10:35:02Z Workflow "import-and-translate" cleaning up (this may take up to 2 minutes).
[Daisy] Errors in one or more workflows:
  import-and-translate: step "translate" run error: step "translate-disk" run error: step "wait-for-translator" run error: WaitForInstancesSignal FailureMatch found for "inst-translator-import-and-translate-translate-translate-3lzlh": "TranslateFailed: error: command: No '/dev/log' or 'logger' included for syslog logging"
ERROR
ERROR: build step 0 "gcr.io/compute-image-tools/daisy:release" failed: exit status 1
ERROR: (gcloud.compute.images.import) build c23b5b7a-81e4-47ea-a95d-6a531d823165 completed with status "FAILURE"


I have the same image runnning in a VirtualBox and /dev/log is there:

[deploy@localhost deploy]$ ls -lrt /dev/log
 
srw-rw-rw- 1 root root 0 Jan 28 14:02 /dev/log






Jason

unread,
Jan 30, 2019, 7:36:28 PM1/30/19
to gce-discussion
Hi Pablo,

Before trying to import the Virtual Disk, did you make sure that the disk does not have any incompatibilities? As explained in the attached article, I would suggest using the precheck tool to make sure that it is compatible.

If you have already done this before trying to import the disk, you can migrate the Virtual Machine using Cloud Endure as well. Here are step by step instructions on how to migrate a Virtual Machine into GCE using Cloud Endure.
Reply all
Reply to author
Forward
0 new messages