#9773 bodhi submit new seems unable to handle new account system
Closed: Fixed 3 years ago by mtasaka. Opened 3 years ago by mtasaka.

As the announce says:

If you experience issues with your workflow as a result of FAS
changing please log an issue on the fedora infra tracker
https://pagure.io/fedora-infrastructure/issues.

I open the issue first here.
bodhi updates new no longer seems to create update, looking like bodhi is unable to handle new account system:

[tasaka1@localhost f34]$ bodhi updates new --user mtasaka --request testing --autotime --autokarma --stable-karma 2 --unstable-karma -30 --notes "New version 1.12.0 is released." gnome-commander-1.12.0-1.fc34
Password: 
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/bodhi/client/__init__.py", line 452, in new
    resp = client.save(**update)
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 117, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 276, in save
    kwargs['csrf_token'] = self.csrf()
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 117, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 616, in csrf
    self.login(self.username, self.password)
  File "/usr/lib/python3.9/site-packages/fedora/client/openidbaseclient.py", line 303, in login
    response = openid_login(
  File "/usr/lib/python3.9/site-packages/fedora/client/openidproxyclient.py", line 132, in openid_login
    raise ServerError(FEDORA_OPENID_API, response.status_code,
fedora.client.ServerError: ServerError(https://id.fedoraproject.org/api/v1/, 500, Error returned from our POST to ipsilon.)

Possibly related:

  • python3-fedora-1.1.1-2.fc34.noarch
  • bodhi-client-5.6.1-4.fc34.noarch
  • fedora-packager-0.6.0.5-1.fc34.noarch

Metadata Update from @abompard:
- Issue tagged with: authentication

3 years ago

Found the traceback, will investigate.

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/usr/lib/python3.8/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/usr/lib/python3.8/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/site-packages/ipsilon/util/page.py", line 85, in __call__
    return op(*args, **kwargs).encode('utf-8')
  File "/usr/lib/python3.8/site-packages/ipsilon/providers/openid/extensions/api.py", line 49, in root
    return json.dumps(self._perform_call(kwargs))
  File "/usr/lib/python3.8/site-packages/ipsilon/providers/openid/extensions/api.py", line 60, in _perform_call
    fas = self.root_obj.login.fas.lm
AttributeError: 'Login' object has no attribute 'fas'

Metadata Update from @abompard:
- Issue assigned to abompard

3 years ago

In the meantime, Bodhi's web UI should work. Sorry for the inconvenience.

OK, it should be fixed now. Could you check please?

Confirmed that bodhi cli is now working. Thank you.

Metadata Update from @mtasaka:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata