Hi Karan, Usually, in jetstream, centos user is the admin user. So you have first login to centos user and then become root. Can you login to [email protected] from your terminal? And please send the content of airavata/dev-tools/ansible/inventories/<inventory-name>/hosts file.
Thanks Dimuthu On Mon, Dec 3, 2018 at 11:29 PM Eroma Abeysinghe <[email protected]> wrote: > Hi Karan, > > Did you try what we discussed? do you still get this error? > 1. Get rid of the 'centos@' > 2. try to ssh to the jetstream vm as root user from your local machine. If > you can't add your key to the 'root' user; not airavata user with root > access. > hope this helps. > also if you can't ssh as root, to add key try sudo to change user to root > user from centos user. Then add the key to root. > > Thanks, > Eroma > > On Mon, Dec 3, 2018 at 12:42 PM Karan Kamatgi <[email protected]> > wrote: > >> Hello Team, >> We are trying to deploy airavata on the jetsream instance to add >> loglines for profiling. >> But we are facing issues with ansible script. Any help would be >> appreciated. >> >> >> Below is the error message, >> >> TASK [database : Adds Python MySQL support on RedHat/CentOS] >> ******************* >> fatal: [[email protected]]: FAILED! => {"changed": true, "failed": >> true, "msg": "You need to be root to perform this command.\n", "rc": 1, >> "results": ["Loaded plugins: fastestmirror\n"]} >> >> Even though we added airavata as root user, it still throws permission >> denied error. >> >> Best Regards, >> Karan >> > > > -- > Thank You, > Best Regards, > Eroma >
