Re: Problem executing ceph-deploy on RHEL6

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

 



I changed the protocol to http, but I still could not make the script run. However, I found the line on install.py that sets this command (line 183):

args='su -c \'rpm --import "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/{key}.asc"\''.format(key=key),

I changed it to a dummy command: args='uname',

And I executed the command myself, as root, on the servers:

rpm --import "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";

then, deploy install ran OK.


I would suggest to add the instruction about commenting "Defaults    requiretty" on /etc/sudoers on the servers. I didn't find this step on the documentation.

Thanks,

José

> -----Original Message-----
> From: Terekhov, Mikhail [mailto:mikhail.terekhov@xxxxxxx]
> Sent: Thursday, July 18, 2013 4:16 PM
> To: Valerio Oropeza José, ITS-CPT-DEV-TAD; olli@xxxxxxxxxxx
> Cc: ceph-users@xxxxxxxxxxxxxx
> Subject: RE:  Problem executing ceph-deploy on RHEL6
> 
> > -----Original Message-----
> > From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-
> > bounces@xxxxxxxxxxxxxx] On Behalf Of jose.valeriooropeza@xxxxxxxxxxxx
> > Sent: Thursday, July 18, 2013 8:12 AM
> > To: olli@xxxxxxxxxxx
> > Cc: ceph-users@xxxxxxxxxxxxxx
> > Subject: Re:  Problem executing ceph-deploy on RHEL6
> >
> > I did it now and it partially solved the problem. Thanks!
> >
> > However, now I face another error:
> >
> > curl: (7) couldn't connect to host
> > error: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc:
> > import read failed(2).
> > Traceback (most recent call last):
> >   File "/usr/bin/ceph-deploy", line 21, in <module>
> >     main()
> >   File "/usr/lib/python2.6/site-packages/ceph_deploy/cli.py", line 112, in main
> >     return args.func(args)
> >   File "/usr/lib/python2.6/site-packages/ceph_deploy/install.py", line
> > 384, in install
> >     version=version,
> >   File "/usr/lib/python2.6/site-packages/pushy/protocol/proxy.py",
> > line 255, in <lambda>
> >     (conn.operator(type_, self, args, kwargs))
> >   File
> > "/usr/lib/python2.6/site-packages/pushy/protocol/connection.py", line 66, in
> operator
> >     return self.send_request(type_, (object, args, kwargs))
> >   File
> > "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py",
> > line 323, in send_request
> >     return self.__handle(m)
> >   File
> > "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py",
> > line 639, in __handle
> >     raise e
> > pushy.protocol.proxy.ExceptionProxy: 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
> >
> >
> >
> > when I type the command 'su -c 'rpm --import
> > "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";'
> > directly as user ceph in cephserver2, it works.
> >
> 
> I had similar problem on SLES11 SP2 but in my case it didn't work from the
> command line either. When I run the command under strace I've found that
> WEB server returns an error saying that my client tries to access https resource
> but can't talk SSL protocol. Changing https to http in this URL solved the
> problem.
> 
> Regards,
> Mikhail
> 

_______________________________________________
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