Hi,
Try editing /etc/sudoers and changing following line:
Defaults    requiretty
to
Defaults    !requiretty

Thanks
PK



On Tue, Oct 8, 2013 at 1:49 PM, Alfredo Deza <[email protected]>wrote:

> On Tue, Oct 8, 2013 at 1:09 PM,  <[email protected]> wrote:
> > Hello,
> >
> >
> >
> > I have reached the stage on the install where I am running the
> ceph-deploy
> > install command from the admin node to the server node.
> >
> >
> >
> > I get the following output:
> >
> >
> >
> > [ceph_deploy.install][DEBUG ] Installing stable version dumpling on
> cluster
> > ceph hosts ldtdsr02se18
> >
> > [ceph_deploy.install][DEBUG ] Detecting platform for host ldtdsr02se18
> ...
> >
> > [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection without
> sudo
> >
> > [email protected]'s password:
> >
> > [ceph_deploy.install][INFO  ] Distro info: RedHatEnterpriseServer 6.4
> > Santiago
> >
> > [ldtdsr02se18][INFO  ] installing ceph on ldtdsr02se18
> >
> > [ldtdsr02se18][INFO  ] Running command: su -c 'rpm --import
> > "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";'
> >
> > [ldtdsr02se18][ERROR ] Traceback (most recent call last):
> >
> > [ldtdsr02se18][ERROR ]   File
> > "/usr/lib/python2.6/site-packages/ceph_deploy/hosts/centos/install.py",
> line
> > 23, in install
> >
> > [ldtdsr02se18][ERROR ]   File
> > "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line
> 10,
> > in inner
> >
> > [ldtdsr02se18][ERROR ]   File
> > "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6,
> in
> > remote_call
> >
> > [ldtdsr02se18][ERROR ]   File "/usr/lib64/python2.6/subprocess.py", line
> > 502, in check_call
> >
> > [ldtdsr02se18][ERROR ]     raise CalledProcessError(retcode, cmd)
> >
> > [ldtdsr02se18][ERROR ] CalledProcessError: Command '['su -c \'rpm
> --import
> > "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc"\'']'
> > returned non-zero exit status 1
> >
> > [ldtdsr02se18][ERROR ] standard in must be a tty
> >
> > [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: su -c 'rpm
> > --import "
> https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";'
> >
> >
> >
> > Given my hosts do not have access to the outside world, is there a way I
> can
> > change it to look for this file locally?   I have a local copy which I
> > managed to get yum to use....
> >
> >
> >
> > I did also run this import outside of this script in the hope that it
> would
> > realise the key was already imported but that did not seem to help.
>
> The docs for ceph-deploy got updated recently to help here, if you are
> running the latest version
> of ceph-deploy you can use the new flags to not do any key/repo mangling:
>
> https://github.com/ceph/ceph-deploy#proxy-or-firewall-installs
>
>
> >
> >
> >
> > Any advice would be appreciated...
> >
> >
> >
> > Alistair
> >
> > _______________________________________________
> >
> > This message is for information purposes only, it is not a
> recommendation,
> > advice, offer or solicitation to buy or sell a product or service nor an
> > official confirmation of any transaction. It is directed at persons who
> are
> > professionals and is not intended for retail customer use. Intended for
> > recipient only. This message is subject to the terms at:
> > www.barclays.com/emaildisclaimer.
> >
> > For important disclosures, please see:
> > www.barclays.com/salesandtradingdisclaimer regarding market commentary
> from
> > Barclays Sales and/or Trading, who are active market participants; and in
> > respect of Barclays Research, including disclosures relating to specific
> > issuers, please see http://publicresearch.barclays.com.
> >
> > _______________________________________________
> >
> >
> > _______________________________________________
> > ceph-users mailing list
> > [email protected]
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to