Comment 0 for bug 1598224

Revision history for this message
Andreas Hasenack (ahasenack) wrote : TypeError: __init__() got an unexpected keyword argument 'user_agent'

https://ci.lscape.net/job/landscape-system-tests/2998/

Got this traceback in the gs3 logs:
ERROR * 07-01 07:11:15 [PID:9225] * root * Exception during syncing:
Traceback (most recent call last):
  File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 441, in main
    do_sync(charm_conf, status_exchange)
  File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 175, in do_sync
    mirror_url, policy=policy, user_agent=user_agent)
TypeError: __init__() got an unexpected keyword argument 'user_agent'

The charm was cs:~landscape-charmers/trusty/glance-simplestreams-sync-10

The simplestreams package is python-simplestreams:amd64 (0.1.0~bzr341-0ubuntu2.4)

Our ppa:landscape/glance-simplestreams-sync has 0.1.0~bzr437-0ubuntu1~14.04.440~ubuntu14.04.1. Don't know why we installed an older version:
2016-07-01 06:27:40 INFO install Get:27 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-simplestreams all 0.1.0~bzr341-0ubuntu2.4 [24.2 kB]

Maybe we failed to add the PPA.