Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] issues with setting up a maddash mesh

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] issues with setting up a maddash mesh


Chronological Thread 
  • From: "Robinson, John-Paul" <>
  • To: "" <>
  • Subject: Re: [perfsonar-user] issues with setting up a maddash mesh
  • Date: Fri, 21 Sep 2018 18:38:39 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:sT6Xgx1PbnYCskBQsmDT+DRfVm0co7zxezQtwd8ZseMfLfad9pjvdHbS+e9qxAeQG9mDtLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmiDkJOSMl8G/ZicJwgqBUrxygpxNjzIDbb5qYNOZlca7HYd8WWWRMU8RXWidcAo28dYwPD+8ZMOpWs4f9oEABrRq4BQm3A+PvzCdEjWLy06090+QhFxjK0hY6ENITtHTYosj+OaAQUeCt1qnF1ijDYOlN1jvn9ofHbw0hrOiKULltf8TRzkwvGBnEjlWWsYHlJDSV1+sXv2id8eVgSeSigHMkpQFpujWj2N0jhpXUio8Q11zI6Dh1zYM7JdC3VEJ3fdupEJVOuCyVM4Z7R8YvTmN0tCkn0rEKp5+2cDUWxJki2hLSZP+Kfo2V7hLtSOqdPTJ1iXN5dL6jmxq/9EetxvPzW8S31VtFtCRIncfMu30IyRDc9suKR/9480qj1juDyg7T5vlKIU8qlqfXN5ssz7swm5cTsUnOESr7lUvtg6KSdEgp//Wk5/n5bbr4o5KTLIx5hh/kPakoh8exG/43MhIUUGie4em81KPs/Un+QLhSlvM7jq7XvIzUKMgCqKC3BAFY3p8k6xmkETiqytMYnWQbLF1efxKHko7pNEzULPDgF/e/hEisnyl3yPDaP73hBZPNImLEkLf8YbZ970lcyA0wzdxF+51UDbQBLOryWk/3qtPYEgc0PxKuzOr7Fdlw054SVX+SDqKcPqPfvkOE6v4qLumCeoAYtzLwJv0g6vPskXM2hEcRfayz0psWbHC4EO5mI0KcYXf0gNcBCX0KsxEjTOPwk1KOSyBcaGuvX64k/DE0FJqmDZvfRoCqmLGBxDm0HodYZmBdDVCMF23nd5+dV/cRcyKdPNVhnycAVbigUI8hyQquuBHgx7pmKOrU5jMXtYjl1Ndr++3fiws++iJpAMSAgCmxSDQ+hm4SSSQx2qll5FFmx02r0K5kjuZeGMAJof5FT01yYYbR1eJhDNb7QEfcZdqTYFegXti8BzwtFJQ8z8JYMGhnHND3xCrE1SusGLgT0/SpA5wyt5rVwny7b5J/02zuyaAryVQqX50cZiWdmqdj+l2LVMbymEKDmvPyL/5O1TPR9GqF0WuFtV1ZVwg1S6jeQHQDfRaM/8/h6BbESLmjQfQ8Pw1NxNTKC5MCa8ahzB1dQev7ftHXYma/gWC1UBSQ3JuRZYCsdmkAj23Q
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

More evidence that esmond is happy with cassandra:

workshop@soxws14:/usr/lib/esmond$ sudo /usr/sbin/esmond_manage check
cassandra_db [INFO] Checking/creating column families
cassandra_db [INFO] Schema check done
cassandra_db [DEBUG] Opening ConnectionPool
cassandra_db [INFO] Connected to ['localhost:9160']
cassandra_db [INFO] Checking/creating column families
cassandra_db [INFO] Checking/creating column families
cassandra_db [INFO] Schema check done
cassandra_db [INFO] Schema check done
cassandra_db [DEBUG] Opening ConnectionPool
cassandra_db [DEBUG] Opening ConnectionPool
cassandra_db [INFO] Connected to ['localhost:9160']
cassandra_db [INFO] Connected to ['localhost:9160']
System check identified no issues (0 silenced).

I'm focusing on the esmond permissions from clients now.

sudo /usr/sbin/esmond_manage help add_user_ip_addr

On 09/21/2018 02:29 PM, Robinson, John-Paul wrote:
> Thanks for the hints.  I agree these are the likely problem places.
>
> I stopped cassandra and that cleaned up the processes.   Started it up
> but it has the same status.  While it was down, django did log
> complaints about not getting to cassandra.  It doesn't say anything
> about getting to cassandra, so it either is or is not reaching cassandra. :)
>
> The systemctl status may be due to systemctl loosing track of the
> process it starts.  I'll look there.
>
> Considering the danjgo config, does it need a user/pass to connect
> cassandra?  In the config that go created we have:
>
> cassandra_servers = localhost:9160
> cassandra_user =
> cassandra_pass =
>
> Given the complaints when cassandra went down, I'm favoring the IP authz
> rules issue.  Any hints on what needs to be set here?  Is using a
> generic user name valid or does that need to be explicitly configured?
>
> I do see clients connecting to the maddash server via netstat (https and
> owamp) so I assume they are succeeding on the TCP level at least.
>
> John-Paul
>
>
> On 09/21/2018 02:10 PM, Michael Johnson wrote:
>> Hi,
>>
>> Comments below:
>>
>> On Fri, Sep 21, 2018 at 05:12:37PM +0000, Robinson, John-Paul wrote:
>>
>>> We suspect something is up with cassandra the status shows somewhat
>>> confusing output "active (exited)":
>>>
>>> workshop@soxws14:~/projects/mesh$ sudo systemctl status cassandra
>>> ● cassandra.service - SYSV: Starts and stops Cassandra
>>>    Loaded: loaded (/etc/rc.d/init.d/cassandra; bad; vendor preset:
>>> disabled)
>>>    Active: active (exited) since Fri 2018-09-21 16:43:46 UTC; 24min ago
>>>      Docs: man:systemd-sysv-generator(8)
>>>   Process: 5622 ExecStop=/etc/rc.d/init.d/cassandra stop (code=exited,
>>> status=1/FAILURE)
>>>   Process: 5934 ExecStart=/etc/rc.d/init.d/cassandra start
>>> (code=exited, status=0/SUCCESS)
>>>
>>> Sep 21 16:43:46 soxws14.sox.net systemd[1]: Starting SYSV: Starts and
>>> stops Cassandra...
>>> Sep 21 16:43:46 soxws14.sox.net su[5943]: (to cassandra) root on none
>>> Sep 21 16:43:46 soxws14.sox.net cassandra[5934]: Starting Cassandra: OK
>>> Sep 21 16:43:46 soxws14.sox.net systemd[1]: Started SYSV: Starts and
>>> stops Cassandra.
>> To clarify a couple points, "active (exited)" means the service is
>> *enabled* (this is what "active" means in this context), but it is not
>> running (exited).
>>
>> I would suggest stopping cassandra using
>> $ sudo systemctl stop cassandra
>>
>> and then checking to make sure there are no more cassandra processes
>> running:
>>
>> $ ps aux | grep cassandra
>>
>> If there are any remaining processes, kill them. Then start cassandra
>> back up.
>>
>> Your statement that local tests are being archived leads me to believe
>> that cassandra is running and your other hosts are unable to
>> authenticate (in this case, your ip auth may not be working).
>>
>> On the other hand, those Django errors usually mean Cassandra is
>> down/unreachable from the point of view of esmond, regardless of what
>> cassandra itself tells you.
>> These two ideas do seem to conflict, but I'd try these steps to see
>> where they gets you.
>>
>> Thanks,
>> Michael
>>




Archive powered by MHonArc 2.6.19.

Top of Page