Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Questions about perfsonar 4: Q4

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Questions about perfsonar 4: Q4


Chronological Thread 
  • From: "Garnizov, Ivan (RRZE)" <>
  • To: Daniel Spisak <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] Questions about perfsonar 4: Q4
  • Date: Wed, 15 Feb 2017 17:47:53 +0000
  • Accept-language: en-GB, de-DE, en-US
  • Ironport-phdr: 9a23:/6JGVhBUpPGuiiv40eCFUyQJP3N1i/DPJgcQr6AfoPdwSP34p86wAkXT6L1XgUPTWs2DsrQf2reQ6/qrADRbqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdyIRmssQndqMYajZZ+Jqs/1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOiUn+2/LlMN/kKNboAqgpxNhxY7UfJqVP+d6cq/EYN8WWXZNUsNXWidcAI2zcpEPAvIBM+hGsof9u1UAoxiwBQauBePg1jBHi2Ts0qEm1+ksCx3K0BAiEt8IrX/arM/1NKAXUe2twqXGzC/Mb+lQ2Tf86YnIdQ4hremRVrxzb8re008vHB7BgluMtYLqPDyb2uEDv2OG6OdgVPyvhHQhqw1rrTig3N0sio/IhoMUzVDE6z50wIgvKt2lUkJ0fMCrHYJWuiqHOYV2RcYiTHtpuCY80rAGuJi7fDMWyJs9wx7fb+WLfoiG4h3/SumRJyt4hHV+eL6lhxay7U2gyunkWsWp1FtHoDRJn9jDu3wQ2RHe68uKRuZ980u41zuP2RrT5f9KIUwtm6fUNpghwrAompUJqUTDBjL5mUXwjKCMc0Uk+/Sn6//9brr6oZ+cMpd4igD4MqQ1hsywG+A4MgwXU2Wb9+SzyLrj/Uv3QLVLgf06i6nUsJ7UJcQavK65GBNV3p8j5haxEzem0dEYkmcdIFJFZBKHiozpN0nWIP/mF/e/jU+skDBtx//cJL3tGJPNIWbfkLv5Z7l981ZcxxczzNBZ/Z1UD7ABL+7oWkPprNzYFBg5Mwu6w+b/D9V914UeWX6VDqCFN6PStEeE5ucyI+mIeI8VuS/xJvgr5/7rl3A1gF8Qfaeo3ZsRc3C4Au5pI0GdYXb2gtcBDWIKvg44Qef3i1OCSSZea2iuU64g+z02DYOrAInAS42omrONwDu3EoFTa2xbFlyAD3fleoCBVvsRZy+eOtJtnzIZWbS7VoMs1hKjuBX5xrZ6NObY5CIVuJb72NRr++HfiQw++Dl1AsmT0GyASnt7kn8USzMq2a1zvFBxxkmD3KV9hvFVG95e6vVUWQkgL5Hc1fZ1C9XqVwLBYNiJTFGmT82jATA+V94x2d4Pb19gF9m4lBDDxSurDKEPm7yWApw087vQ0GbrJ8Z50XnG0qYhgEcgQsdVKGKpmLZz9wnVB4HXj0WUj7imebgA0CLQ8WqOzGSDsUJdXQFqTanJQWwTa07Lodjl+E/PT7qjBLE6PgZO0cKCL7FFatztjVVIXvfjP9Hebnqwm2euHxmIwKmAbIXwdGUH2iXdCUkFkwcN/XudOwgxHDqhr3jDAzNwDV7veV/j8fFiqHOnSU851xmKYFN717q74R4VgvqcROkJ3r4dpSchsCt7HEym0tLSCtqAvBZhfL5Cbd8n4VdH037ZuBJnPpymMa9imkASfx5psEzzyhUkQrlHxOQjqnInyEJJMaOD2VAJIz+R29brIrzMI2ra9Qi3Z7/Q01Tf283Q8aAKvqcWsVLm6UuGH1Ak8mdgzZ0d8mWV4N2KNjAgfNO7GhI26RF84b7TeC889YTK/XNlLO+4v2mRiJoSGOI5x0P4LJ9kO6SeGVq3SpVCCg==

Hi Daniel,

 

Please clarify which bundle did you use to install the centralmanagement host?

And again: Please clarify your need for user management on the centralmanagement host.

 

My expectation here is that you do not need to have this type of user management and therefore you do not need to deal with this in your Chef configuration management.

But I am not supposed to tell you what your needs are. We need to reach, that point together.

 

Speaking out of experience. I have done this implementation for configuration management of perfSONAR on Puppet. I did not have the need to implement such a functionality.

Nevertheless your point of view might be valid, hence I am not just overruling your case.

 

Regards,

Ivan Garnizov

 

GEANT SA1T2: pS deployments GN Operations

GEANT SA2T3: pS development team

GEANT SA3T5: eduPERT team

 

 

From: Daniel Spisak [mailto:]
Sent: Mit
twoch, 15. Februar 2017 17:00
To: Garnizov, Ivan (RRZE)
Cc:
Subject: RE: [perfsonar-user] Questions about perfsonar 4: Q4

 

Ivan,

 

I'm not expecting user management on the testpoints but I was asking how to do it on the centralmanagement host. My concern revolves around the fact that it seems like to get perfsonar functional on that host the end user is expected to console login as root and that presents me with a dilemma as to how to go about automating that step via chef. Basically, any step in setup that requires user interaction is not ideal. Hope that clears it up? 

 

 

On Feb 15, 2017 2:33 AM, "Garnizov, Ivan (RRZE)" <> wrote:

Hi Daniel,

 

Please correct me, if I am wrong, but I assume your questions and points are related to the same environment, right?

Well assuming this is the case and combining information you shared at Q1,  I believe there is a bit of misunderstanding there on your Q4.

 

You should not expect to have user management on a system with no GUI as the testpoint bundle suggests it.

Please clarify your need for user management on these deployments.

 

Regards,

Ivan Garnizov

 

GEANT SA1T2: pS deployments GN Operations

GEANT SA2T3: pS development team

GEANT SA3T5: eduPERT team

 

 

 

From: [mailto:] On Behalf Of Daniel Spisak
Sent: Mittwoch, 15. Februar 2017 04:39
To:
Subject: [perfsonar-user] Questions about perfsonar 4

 

Hi there! New user to perfsonar here, but been keeping an eye on this project for a while now. I'm currently in the middle of writing up some chef automation cookbooks to do a deployment of perfsonar and I am running into some issues. I realize that the 4.0 release is still in the RC phase and that documentation is somewhat fluid but I have some questions regardless. For all of these questions I'm on a centos 7.x distro and the system python is 2.7.5. By the way, if there is a better mailing list to discuss this I'm all ears. 

 

You should reference epel-release-7-9.noarch.rpm as 7-8 no longer exists it seems

 

1. http://docs.perfsonar.net/release_candidates/4.0rc1/install_centos.html
If I want to setup a central MA with a mesh of testpoints the current documentation is really disjointed and not clear. In step 6 you say the measurement services needs to be defined, but is this just for testpoints, testpoints and central management hosts or just central management hosts? I want the central management host to be the only MA with all my other nodes being just testpoints.

 

Under Step 7, starting services there is no mention of what services should be running on a central management server

 

Also under Step 2, its "perfsonar-toolkit-servicewatcher" not "perfsonar-toolkit-service-watcher" and the optional packages python install script simply doesnt exist at all as best as I can tell.

 

You have some kind of on console login setup to capture things like user account creation and make the web admin generally functional. But I cant find anywhere a mention of what script this is, nor how I would go about doing this via the CLI or other methods. As I intend to deploy this on virtual machines across multiple cloud providers in an automated fashion I need to find a way to achieve this without user intervention. I see a mention of /usr/lib/perfsonar/scripts/nptoolkit-configure.py for adding and deleting users, but this script is nowhere to be found on my system.

 

This section is in dire need of some love it seems and I am completely stuck here as you will see.

 

[root@management-centos-71 esmond]# python esmond/manage.py add_ps_metadata_post_user perfdata

Traceback (most recent call last):

  File "esmond/manage.py", line 2, in <module>

    from django.core.management import execute_from_command_line

ImportError: No module named django.core.management

[root@management-centos-71 esmond]# pip freeze | grep -i django

 

Okay, so no django, so I peeked at the python and went ahead and installed the following via pip

 

django

sphinx

django-discover-runner

django-netfields

pylint

 

[root@management-centos-71 esmond]# python esmond/manage.py add_ps_metadata_post_user perfdata

Error: Can't find the file 'settings.py' in the directory containing 'esmond/manage.py'. It appears you've customized things.

You'll have to run django-admin.py, passing it your settings module.

(If the file settings.py does indeed exist, it's causing an ImportError somehow.)

 

Well settings.py exists but for the life of me I dont see why its not working (i'm pretty new to python however).

 

Anyways, I know that 4.0 is a moving target still but it sounded like rc3 was maybe going to be stable enough to start working on my automation recipes in chef. If anyone has any advice or guidance for what's down the road still I'd greatly appreciate it!

 

--

Daniel Spisak | Senior Dev Ops Engineer
AppDynamics
Monitor your Apps in Production. Now.

Watch our Video | Download AppDynamics for Free
Twitter | Facebook | appdynamics.com

 




Archive powered by MHonArc 2.6.19.

Top of Page