Re: RBD error when run under cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 11, 2019 at 7:48 AM Mike O'Connor <mike@xxxxxxxxxx> wrote:
>
> Hi All
>
> I'm having a problem running rbd export from cron, rbd expects a tty which cron does not provide.
> I tried the --no-progress but this did not help.
>
> Any ideas ?

I don't think that error is coming from the 'rbd' CLI:

$ (setsid /bin/bash -c 'tty ; ./bin/rbd export-diff --from-snap 1
foo@2 - > export') < /dev/null
not a tty
Exporting image: 100% complete...done.

>
> ---
> rbd export-diff --from-snap 1909091751 rbd/vm-100-disk-1@1909091817 - | seccure-encrypt <public key> | aws s3 cp  - s3://<backup_url>1909091817.diff
> FATAL: Cannot open tty: No such device or address.
> rbd: export-diff error: (32) Broken pipe
> Error in upload
> ---
>
> Thanks
> Mike
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux