[one-users] ask to password when add ceph datastore

12navidb2 at gmail.com 12navidb2 at gmail.com
Tue Nov 19 03:31:33 PST 2013


thx man, i solved it and the  problem was about passwordlessly :)

On Tuesday, November 19, 2013, Jaime Melis wrote:

> Hi,
>
> can you ssh from the frontend to oneadmin at one-server2 passwordlessly?
>
> cheers,
> Jaime
>
>
> On Sun, Nov 10, 2013 at 10:56 AM, 12navidb2 at gmail.com <javascript:_e({},
> 'cvml', '12navidb2 at gmail.com');> <12navidb2 at gmail.com <javascript:_e({},
> 'cvml', '12navidb2 at gmail.com');>> wrote:
>
>> hi all
>>
>>
>> when i add new ceph datastore, opennebula run a command like this with
>> oneadmin user that needs  password
>>
>>
>> oneadmin at one-server2:~$ /var/lib/one/remotes/datastore/ceph/monitor
>> PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMTM8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5jZXBoZHM8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjE8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PERTX01BRD5jZXBoPC9EU19NQUQ+PFRNX01BRD5jZXBoPC9UTV9NQUQ+PEJBU0VfUEFUSD4vdmFyL2xpYi9vbmUvZGF0YXN0b3Jlcy8xMTM8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MzwvRElTS19UWVBFPjxDTFVTVEVSX0lEPi0xPC9DTFVTVEVSX0lEPjxDTFVTVEVSPjwvQ0xVU1RFUj48VE9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CPjxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxEU19NQUQ+PCFbQ0RBVEFbY2VwaF1dPjwvRFNfTUFEPjxIT1NUPjwhW0NEQVRBW29uZS1zZXJ2ZXIyXV0+PC9IT1NUPjxQT09MX05BTUU+PCFbQ0RBVEFbcmJkXV0+PC9QT09MX05BTUU+PFNBRkVfRElSUz48IVtDREFUQVsvXV0+PC9TQUZFX0RJUlM+PFRNX01BRD48IVtDREFUQVtjZXBoXV0+PC9UTV9NQUQ+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=
>> 113
>> oneadmin at one-server2's password:
>>
>> because it, opennebula cant show datastore space and show (0MB)
>>
>>
>> output this command is
>>
>> USED_MB=3015
>> FREE_MB=1184747
>> TOTAL_MB=1193984
>>
>>
>> the point here is that i cant run this command with oneadmin user !
>>
>> sudo rados df
>>
>> or even rados df  (without sudo)
>>
>> i add these  lines  to  /etc/sudoers
>>
>> oneadmin    ALL=(ALL) NOPASSWD: /usr/bin/rbd*,/usr/bin/rados*
>>
>>
>>
>> best regards
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org <javascript:_e({}, 'cvml',
>> 'Users at lists.opennebula.org');>
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jmelis at opennebula.org <javascript:_e({}, 'cvml',
> 'jmelis at opennebula.org');>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131119/51984205/attachment-0002.htm>


More information about the Users mailing list