+Ceph-devel On Thu, Aug 17, 2017 at 1:07 PM, Spandan Kumar Sahu <spandankumarsahu@xxxxxxxxx> wrote: > > On Mon, Aug 14, 2017 at 11:54 AM, liuchang0812 <liuchang0812@xxxxxxxxx> > wrote: >> >> yeah, try this command: sudo pip install pyOpenSSL >> >> 2017-08-12 5:13 GMT+08:00 Forumulator V <forumulator@xxxxxxxxx>: >> > Hey Liu, >> > >> > I'm getting the same error: So you're saying that installing python >> > OpenSSL >> > will fix this? >> > >> > Also, you can add "--mgr_num 0" to vstart make it go away >> > > > "--mgr_num 0" will prevent creation of any mgr daemons, AFAIK. A better way, > in my opinion, would be commenting out the RESTful part in "src/vstart.sh" > (L664 to L681). > >> > Pranjal >> > >> > On Fri, Aug 11, 2017 at 4:55 PM, liuchang0812 <liuchang0812@xxxxxxxxx> >> > wrote: >> >> >> >> ceph-mgr probably loads RESTful plugin failed. ceph-mgr's restful >> >> plugin depends on OpenSSL library. you need to resolve this >> >> dependency. you could check out/mgr.x.log, ceph-mgr prints error >> >> message. >> >> >> >> actually you could ignore this error if you don't use ceph-mgr's >> >> restful >> >> plugin. >> >> >> >> >> >> error logging: >> >> >> >> 2017-08-11 17:14:59.032574 7f37665b6700 -1 mgr load Module not found: >> >> 'restful' >> >> 2017-08-11 17:14:59.032617 7f37665b6700 -1 mgr load Traceback (most >> >> recent call last): >> >> File >> >> "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/restful/__init__.py", >> >> line 1, in <module> >> >> from module import * # NOQA >> >> File >> >> "/home/liuchang/WorkSpace/ceph/src/pybind/mgr/restful/module.py", >> >> line 18, in <module> >> >> from OpenSSL import crypto >> >> ImportError: No module named OpenSSL >> >> >> >> >> >> 2017-08-11 17:46 GMT+08:00 攀刘 <liupan1111@xxxxxxxxx>: >> >> > Hi All, >> >> > >> >> > I am trying to use vstart.sh to create a local cluster, and got the >> >> > problem below, could anybody give me some help? Thanks! >> >> > >> >> > ..... >> >> > set mgr/restful/x/server_port >> >> > Starting mgr.x >> >> > /mnt/aliceph/liupan1/ceph/build/bin/ceph-mgr -i x -c >> >> > /mnt/aliceph/liupan1/ceph/build/ceph.conf >> >> > /mnt/aliceph/liupan1/ceph/build/bin/ceph -c >> >> > /mnt/aliceph/liupan1/ceph/build/ceph.conf -k >> >> > /mnt/aliceph/liupan1/ceph/build/keyring restful >> >> > create-self-signed-cert >> >> > no valid command found; 10 closest matches: >> >> > osd setcrushmap {<int>} >> >> > osd crush set {<int>} >> >> > osd crush rule dump {<name>} >> >> > osd crush dump >> >> > osd crush rule list >> >> > osd crush rule ls >> >> > osd blacklist ls >> >> > osd blacklist clear >> >> > osd map <poolname> <objectname> {<nspace>} >> >> > osd lspools {<int>} >> >> > Error EINVAL: invalid command >> >> > MGR Restful is not working, perhaps the package is not installed? >> >> > started. stop.sh to stop. see out/* (e.g. 'tail -f out/????') for >> >> > debug output. >> >> > -- >> >> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" >> >> > in >> >> > the body of a message to majordomo@xxxxxxxxxxxxxxx >> >> > More majordomo info at http://vger.kernel.org/majordomo-info.html >> >> -- >> >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" >> >> in >> >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > >> > >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > -- > Regards > Spandan Kumar Sahu -- Regards Spandan Kumar Sahu -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html