![]() ![]() 01:15:02,461 INFO CreateKeytabFilesServerAction:193 - Creating keytab file for on host flx93 01:15:02,433 INFO CreateKeytabFilesServerAction:193 - Creating keytab file for on host flx93 01:15:02,432 INFO CreateKeytabFilesServerAction:193 - Creating keytab file for on host flx93 T01:15:04.012+0800, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Update Service Configurations), Status(ABORTED), RequestId(281), TaskId(4745), Hostname(null) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4744), Hostname(flx93) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4743), Hostname(flx92) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4742), Hostname(flx91) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4741), Hostname(flx90) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4740), Hostname(flx89) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4739), Hostname(flx87) T01:15:04.012+0800, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(SET_KEYTAB KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(281), TaskId(4738), Hostname(flx86) T01:15:03.062+0800, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Configure Ambari Identity), Status(FAILED), RequestId(281), TaskId(4737), Hostname(null) T01:15:02.998+0800, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Configure Ambari Identity), Status(IN_PROGRESS), RequestId(281), TaskId(4737), Hostname(null) T01:15:02.985+0800, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Configure Ambari Identity), Status(QUEUED), RequestId(281), TaskId(4737), Hostname(null) T01:15:02.518+0800, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Create Keytabs), Status(COMPLETED), RequestId(281), TaskId(4736), Hostname(null) T01:15:02.489+0800, Operation(Keytab file creation), Status(Success), RequestId(281), TaskId(4736), Hostname(ambari_server), Keytab file(/etc/security/keytabs/) When I was enabling kerberos."sudo: no tty present and no askpass program specified" just occured on step 7 "Kerberize Cluster-Configure Ambari Identity".ĭo I have to visudo as non-root user ? I really puzzled. The command was a python shell script that ran some of the above commands just adding the script name itself wasn't enough.I am running ambari-server with root user. For example, I just needed one command run and ended up changing it to this: erp ALL = NOPASSWD: /usr/sbin/serviceĮrp ALL = NOPASSWD: /usr/sbin/service nginx *Įrp ALL = NOPASSWD: /usr/sbin/service supervisord *Įrp ALL = NOPASSWD: /bin/systemctl * nginxĮrp ALL = NOPASSWD: /bin/systemctl * supervisordĮrp ALL = NOPASSWD: /usr/bin/supervisorctl The actual lines in your visudo file will probably be much more complicated, and may take some fiddling. To keep things secure, I'm not doing the ALL command that sysadmins that haven't been hacked yet recommend. In the interests of time, I'm just doing the visudo approach listed above. Sudo: no tty present and no askpass program specified This is what it looked like in the GitHub action log: # printf "***\n" | sudo -S myscript myparams ![]() uses: name: Use Node.js $\n" | sudo -S myscript myparams ![]() # Steps represent a sequence of tasks that will be executed as part of the job # The type of runner that the job will run on # This workflow contains a single job called "build" # A workflow run is made up of one or more jobs that can run sequentially or in parallel # Allows you to run this workflow manually from the Actions tabĭescription: 'repos built out for the job.' Hey so I have this github action for saving a package-lock and package.json file like so: # workflow that generates the package files for my webapp :) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |