Issue with ssh agent

My jobs were not running and then I saw from puma

I’m getting this problem:

-bash-4.2$ ssh login.archer2.ac.uk

Enter passphrase for key ‘/home/jgrist/.ssh/id_rsa_archerum’:

As opposed to the

“PTY allocation request failed on channel 0

Comand rejected by policy. Not in authorised list

Connection to login.archer2.ac.uk closed.”

Based on previous

I attempted

rm environment.pumanew.novalocal

ssh-add id_rsa_archerum

with not success

I also attempted to restart the ssh (12.2) but if I type

ssh-add

I do not get any prompt

On logging in I no longer get the prompt for mosr password

Could you advise on the steps to get back the setup/ ssh agent back?

Many thanks,

Jeremy

Hi Jeremy,

Your MOSRS password is cached for 12 hours so that’s why you weren’t prompted again for the password.

When you run ssh-add id_rsa_archerum what error message do you get?

Regards,
Ros.

Enter passphrase for id_rsa_archerum:

Bad passphrase, try again for id_rsa_archerum:

Bad passphrase, try again for id_rsa_archerum:

Bad passphrase, try again for id_rsa_archerum:

Thanks

Jeremy

Hi Jeremy,

If you can’t remember your id_rsa_archerum passphrase, you will have to regenerate the key. See instructions here: How to generate id_rsa_archerum key

Once you have regenerated the key let me know and I will get it sent over to ARCHER2 for them to install.

Cheers,
Ros.

Many thanks Ros,

I have the passphrase and now get the right message when I type ssh login.archer2.ac.uk:

-bash-4.2$ ssh-add ~/.ssh/id_rsa_archerum

Enter passphrase for /home/jgrist/.ssh/id_rsa_archerum:

Identity added: /home/jgrist/.ssh/id_rsa_archerum (/home/jgrist/.ssh/id_rsa_archerum)

-bash-4.2$ ssh login.archer2.ac.uk

PTY allocation request failed on channel 0

Comand rejected by policy. Not in authorised list

Connection to login.archer2.ac.uk closed.

-bash-4.2$ rosie go

However, I get the following error log when I run suite:

INFO] 2023-01-14T08:45:23+0000 cylc get-global-config -i [hosts][localhost]run\ directory

[INFO] 2023-01-14T08:45:24+0000 cylc get-global-config -i [hosts][localhost]work\ directory

[INFO] 2023-01-14T08:45:24+0000 Configuration: /home/jgrist/roses/u-ct014/

[INFO] 2023-01-14T08:45:24+0000 file: rose-suite.conf

[INFO] 2023-01-14T08:45:24+0000 cylc --version

[INFO] 2023-01-14T08:45:24+0000 export CYLC_VERSION=7.8.12

[INFO] 2023-01-14T08:45:24+0000 export ROSE_ORIG_HOST=pumanew.novalocal

[INFO] 2023-01-14T08:45:24+0000 export ROSE_SITE=

[INFO] 2023-01-14T08:45:24+0000 export ROSE_VERSION=2019.01.3

[INFO] 2023-01-14T08:45:24+0000 create: log.20230114T084524Z

[INFO] 2023-01-14T08:45:24+0000 delete: log

[INFO] 2023-01-14T08:45:24+0000 symlink: log.20230114T084524Z <= log

[INFO] 2023-01-14T08:45:24+0000 tar -czf log.20230114T083353Z.tar.gz log.20230114T083353Z

[INFO] 2023-01-14T08:45:24+0000 log.20230114T083353Z.tar.gz <= log.20230114T083353Z

[INFO] 2023-01-14T08:45:24+0000 delete: log.20230114T083353Z/

[INFO] 2023-01-14T08:45:24+0000 create: log/suite

[INFO] 2023-01-14T08:45:24+0000 create: log/rose-conf

[INFO] 2023-01-14T08:45:24+0000 svn info --non-interactive

[INFO] 2023-01-14T08:45:24+0000 svn status --non-interactive

[INFO] 2023-01-14T08:45:24+0000 svn diff --internal-diff --non-interactive

[INFO] 2023-01-14T08:45:24+0000 git describe

[INFO] 2023-01-14T08:45:24+0000 symlink: rose-conf/20230114T084524-run.conf <= log/rose-suite-run.conf

[INFO] 2023-01-14T08:45:24+0000 symlink: rose-conf/20230114T084524-run.version <= log/rose-suite-run.version

[INFO] 2023-01-14T08:45:24+0000 fcm info --xml fcm:um.xm_tr/rose-stem/ana/mule_cumf.py@vn11.6

[INFO] 2023-01-14T08:45:24+0000 fcm info --xml fcm:ancil_contrib.xm_br/dev/simonwilson/r9929_ozone_pp_header/OzoneConc/bin/redistribute_ozone.sh

[INFO] 2023-01-14T08:45:24+0000 fcm info --xml fcm:moci.xm_tr/Utilities/ozone_redistribution/retrieve_ozone_data.py@postproc_2.4

[INFO] 2023-01-14T08:45:24+0000 fcm info --xml fcm:ancil_contrib.xm_br/dev/simonwilson/r9929_ozone_pp_header/OzoneConc/bin/redistribute_ozone.py

[INFO] 2023-01-14T08:45:25+0000 unchanged: README.ozone

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/README.ozone

[INFO] 2023-01-14T08:45:25+0000 unchanged: ana

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/ana

[INFO] 2023-01-14T08:45:25+0000 unchanged: app

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/app

[INFO] 2023-01-14T08:45:25+0000 unchanged: bin

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/bin

[INFO] 2023-01-14T08:45:25+0000 unchanged: bin/redistribute_ozone.py

[INFO] 2023-01-14T08:45:25+0000 source: svn://pumanew/ancil.xm_svn/contrib/branches/dev/simonwilson/r9929_ozone_pp_header/OzoneConc/bin/redistribute_ozone.py@13589 (fcm:ancil_contrib.xm_br/dev/simonwilson/r9929_ozone_pp_header/OzoneConc/bin/redistribute_ozone.py)

[INFO] 2023-01-14T08:45:25+0000 unchanged: bin/redistribute_ozone.sh

[INFO] 2023-01-14T08:45:25+0000 source: svn://pumanew/ancil.xm_svn/contrib/branches/dev/simonwilson/r9929_ozone_pp_header/OzoneConc/bin/redistribute_ozone.sh@13589 (fcm:ancil_contrib.xm_br/dev/simonwilson/r9929_ozone_pp_header/OzoneConc/bin/redistribute_ozone.sh)

[INFO] 2023-01-14T08:45:25+0000 unchanged: bin/retrieve_ozone_data.py

[INFO] 2023-01-14T08:45:25+0000 source: svn://pumanew/moci.xm_svn/main/trunk/Utilities/ozone_redistribution/retrieve_ozone_data.py@4419 (fcm:moci.xm_tr/Utilities/ozone_redistribution/retrieve_ozone_data.py@postproc_2.4)

[INFO] 2023-01-14T08:45:25+0000 unchanged: meta

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/meta

[INFO] 2023-01-14T08:45:25+0000 unchanged: ozone-redistribution.rc

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/ozone-redistribution.rc

[INFO] 2023-01-14T08:45:25+0000 unchanged: rose-suite.info

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/rose-suite.info

[INFO] 2023-01-14T08:45:25+0000 unchanged: site

[INFO] 2023-01-14T08:45:25+0000 source: /home/jgrist/roses/u-ct014/site

[INFO] 2023-01-14T08:45:25+0000 svn export -q svn://pumanew/um.xm_svn/main/trunk/rose-stem/ana/mule_cumf.py@81992 /tmp/tmpINiq4Y/6ec3c9b1bfa888d40dca81338246aa0a

[INFO] 2023-01-14T08:45:25+0000 source: svn://pumanew/um.xm_svn/main/trunk/rose-stem/ana/mule_cumf.py@81992 (fcm:um.xm_tr/rose-stem/ana/mule_cumf.py@vn11.6)

[INFO] 2023-01-14T08:45:25+0000 install: ana/mule_cumf.py

[INFO] 2023-01-14T08:45:25+0000 source: svn://pumanew/um.xm_svn/main/trunk/rose-stem/ana/mule_cumf.py@81992 (fcm:um.xm_tr/rose-stem/ana/mule_cumf.py@vn11.6)

[INFO] 2023-01-14T08:45:25+0000 cylc register u-ct014 /home/jgrist/cylc-run/u-ct014

[INFO] 2023-01-14T08:45:25+0000 REGISTERED u-ct014 → /home/jgrist/cylc-run/u-ct014

[INFO] 2023-01-14T08:45:25+0000 cylc validate -o /tmp/tmpeXrSTr --strict u-ct014

[INFO] 2023-01-14T08:45:26+0000 Valid for cylc-7.8.12

[INFO] 2023-01-14T08:45:26+0000 cylc get-config -ao -i [remote]owner -i [remote]host u-ct014

[INFO] 2023-01-14T08:45:26+0000 bash -ec H=$(rose\ host-select\ pumanew.novalocal);\ echo\ $H

[INFO] 2023-01-14T08:45:26+0000 ssh -oBatchMode=yes -n jgrist02@login.archer2.ac.uk env\ ROSE_VERSION=2019.01.3\ CYLC_VERSION=7.8.12\ bash\ -l\ -c\ '"$0"\ "$@"'\ rose\ suite-run\ -vv\ -n\ u-ct014\ –run=run\ –remote=uuid=7e8d1923-fdde-4756-a678-b81d0cbb49e2,now-str=20230114T084524Z,root-dir='$DATADIR'

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:29+0000 cylc get-global-config -i [hosts][localhost]run\ directory

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:30+0000 cylc get-global-config -i [hosts][localhost]work\ directory

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:30+0000 symlink: /work/n02/n02/jgrist02/cylc-run/u-ct014 <= /home/n02/n02/jgrist02/cylc-run/u-ct014

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:30+0000 create: log.20230114T084524Z

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:30+0000 delete: log

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:30+0000 symlink: log.20230114T084524Z <= log

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:30+0000 tar -czf log.20221220T100925Z.tar.gz log.20221220T100925Z

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:38+0000 log.20221220T100925Z.tar.gz <= log.20221220T100925Z

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:38+0000 delete: log.20221220T100925Z/

[jgrist02@login.archer2.ac.uk] 2023-01-14T08:45:38+0000 [INFO] 2023-01-14T08:45:38+0000 create: log/suite

[INFO] 2023-01-14T08:45:38+0000 rsync -a --exclude=.* --timeout=1800 --rsh=ssh\ -oBatchMode=yes --exclude=7e8d1923-fdde-4756-a678-b81d0cbb49e2 --exclude=log/7e8d1923-fdde-4756-a678-b81d0cbb49e2 --exclude=share/7e8d1923-fdde-4756-a678-b81d0cbb49e2 --exclude=share/cycle/7e8d1923-fdde-4756-a678-b81d0cbb49e2 --exclude=work/7e8d1923-fdde-4756-a678-b81d0cbb49e2 --exclude=/.* --exclude=/cylc-suite.db --exclude=/log --exclude=/log.* --exclude=/state --exclude=/share --exclude=/work ./ jgrist02@login.archer2.ac.uk:cylc-run/u-ct014

[INFO] 2023-01-14T08:45:39+0000 chdir: log/

[INFO] 2023-01-14T08:45:39+0000 cylc run u-ct014 ArctiConnect

Many thanks if you can help.

Jeremy

The ~/cylc-run/u-ct014/log/suite/log shows a configuration error:

2023-01-14T08:45:40Z ERROR - Invalid ISO 8601 date representation: ArctiConnect
        Traceback (most recent call last):
          File "/home/fcm/cylc-7.8.12/lib/cylc/scheduler.py", line 253, in start
            self.configure()
          File "/home/fcm/cylc-7.8.12/lib/cylc/scheduler.py", line 396, in configure
            self.load_suiterc()
          File "/home/fcm/cylc-7.8.12/lib/cylc/scheduler.py", line 1028, in load_suiterc
            share_dir=self.suite_share_dir,
          File "/home/fcm/cylc-7.8.12/lib/cylc/config.py", line 405, in __init__
            raise SuiteConfigError(str(exc))
        SuiteConfigError: Invalid ISO 8601 date representation: ArctiConnect

If you’re trying to run with optional config key ArctiConnect you need to use:

rose suite-run -O ArctiConnect