Cannot cache password or authenticate rosie access

Good morning,

I am having trouble caching my password on PUMA2 to start running jobs on ARCHER2 with access to rose tools, and by extension, using fcm to do work on the LFRic repo on MOSRS.

I first run mosrs-cache-password, which prompts me for my MOSRS password, which seems fine (I can also access MOSRS in the browser perfectly okay). Rosie then prompts me to enter the username for ‘u’, for which I put my MOSRS account name. It then gives me an error that I can’t access rosie with my MOSRS password.

This is the output of the above:

Met Office Science Repository Service password:
Subversion password cached
[WARN] https://code.metoffice.gov.uk/rosie/u/hello: {}: 401
hello: {}
Error: Unable to access Rosie with given password
Run "mosrs-cache-password" to try caching your password again

As a test, running rosie hello --prefix=u also prompts me for my credentials, but after entering them also gives a similar permission denied error:

[FAIL] Cannot retrieve username/password: gpg-agent: ERR 67108875 Bad passphrase <GPG Agent>
[WARN] https://code.metoffice.gov.uk/rosie/u/hello: {}: 401
hello: {}

I have also checked that my password does not have special characters.

Does my account just not have the right permissions to access rose/rosie? Any help is greatly appreciated!

Best wishes,
Sebastiaan van de Bund

Hi Sebastiaan

Does your .subversion/servers file have your username in lowercase?

Grenville

Hi Grenville,

Indeed, it’s all in lowercase. This is what I have in `.subversion/servers’:

[groups]
metofficesharedrepos = code*.metoffice.gov.uk

[metofficesharedrepos]
username = sebastiaanvandebund
store-plaintext-passwords = no

Best wishes,
Sebastiaan

Hi Sebastiaan

Please try rm -r ~/.subversion/auth

logout, login, then mosrs-cache-password (type your username in lower case when asked)

If this fails, I’ll contact the MO, perhaps you’re not set up correctly.

Grenville

Hi Grenville,

No luck with that either I’m afraid, still seeing the exact same issue. I have noticed that on MOSRS I do not have access to certain repos like the UM, so my account may indeed not be set up correctly.

Best wishes,
Sebastiaan

Hi Sebastiaan

The MOSRS team have replied:

#1931: possible missing permissions
----------------------------+--------------------------
Reporter:  grenvillelister  |       Owner:  marieozanne
    Type:  account-admin    |      Status:  assigned
Priority:  normal           |  Resolution:
Keywords:                   |
----------------------------+--------------------------

Comment (by marieozanne):

 Hello Grenville

 Please can the user check their access again.

 Regards
 Marie

Hi Grenville,

Great, everything seem to be fixed; I can access all the relevant repos, password caching works and rosie hello works as expected. Many thanks for your help!

Best wishes,
Sebastiaan