Comment 3 for bug 977456

Revision history for this message
Invincicble Mutant (ngkengyap) wrote :

Hi Didier Roche,

I get either 404 or 500. Got error 500 in my second attempt, and the rest error 404. Any clue?

ngkengyap:~$ /usr/share/oneconf/oneconf-service --debug
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/other_hosts'
DEBUG:__main__:daemon up and running
DEBUG:__main__:Create a sync handler with infra
DEBUG:oneconf.distributor:get_distro: 'Ubuntu'
DEBUG:oneconf.networksync.netstatus:network status changed to 70
DEBUG:oneconf.networksync.ssohandler:Try to get a proxy
DEBUG:oneconf.networksync.ssohandler:look for credential
DEBUG:oneconf.networksync.netstatus:Connectivity state changed to: True
DEBUG:oneconf.networksync.ssohandler:credential found
DEBUG:oneconf.networksync:Start processing sync
DEBUG:oneconf.networksync:Check if other hosts metadata needs to be refreshed
DEBUG:oneconf.networksync:Ensure that current host is not shared
DEBUG:oneconf.networksync:Can't delete current host from infra: 404: {'status': '404', 'content-length': '20', 'via': '1.1 apps.ubuntu.com', '-content-encoding': 'gzip', 'strict-transport-security': 'max-age=2592000', 'vary': 'Authorization,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'etag': '"40aa569eb6d3f830039cb666c0cda4ee"', 'date': 'Fri, 13 Apr 2012 16:36:29 GMT', 'content-type': 'text/html; charset=utf-8'}
DEBUG:oneconf.networksync.utils:Saving updated /home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/last_sync to disk
DEBUG:oneconf.dbusconnect:Send last sync timestamp: 1334334988.33

ngkengyap:~$ /usr/share/oneconf/oneconf-service --debug
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/other_hosts'
DEBUG:__main__:daemon up and running
DEBUG:__main__:Create a sync handler with infra
DEBUG:oneconf.distributor:get_distro: 'Ubuntu'
DEBUG:oneconf.networksync.netstatus:network status changed to 70
DEBUG:oneconf.networksync.ssohandler:Try to get a proxy
DEBUG:oneconf.networksync.ssohandler:look for credential
DEBUG:oneconf.networksync.netstatus:Connectivity state changed to: True
DEBUG:oneconf.networksync.ssohandler:credential found
DEBUG:oneconf.networksync:Start processing sync
DEBUG:oneconf.networksync:Check if other hosts metadata needs to be refreshed
DEBUG:oneconf.networksync:Ensure that current host is not shared
DEBUG:oneconf.networksync:Can't delete current host from infra: 404: {'status': '404', 'content-length': '20', 'via': '1.1 apps.ubuntu.com', '-content-encoding': 'gzip', 'strict-transport-security': 'max-age=2592000', 'vary': 'Authorization,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'etag': '"40aa569eb6d3f830039cb666c0cda4ee"', 'date': 'Fri, 13 Apr 2012 16:36:29 GMT', 'content-type': 'text/html; charset=utf-8'}
DEBUG:oneconf.networksync.utils:Saving updated /home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/last_sync to disk
DEBUG:oneconf.dbusconnect:Send last sync timestamp: 1334334988.33
^CTraceback (most recent call last):
  File "/usr/share/oneconf/oneconf-service", line 111, in <module>
    loop.run()
KeyboardInterrupt
ngkengyap:~$ oneconf-query --stop
ngkengyap:~$ /usr/share/oneconf/oneconf-service --debug
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/other_hosts'
DEBUG:__main__:daemon up and running
DEBUG:__main__:Create a sync handler with infra
DEBUG:oneconf.distributor:get_distro: 'Ubuntu'
DEBUG:oneconf.networksync.netstatus:network status changed to 70
DEBUG:oneconf.networksync.ssohandler:Try to get a proxy
DEBUG:oneconf.networksync.ssohandler:look for credential
DEBUG:oneconf.networksync.ssohandler:credential found
DEBUG:oneconf.networksync.netstatus:Connectivity state changed to: True
DEBUG:oneconf.networksync:Start processing sync
ERROR:oneconf.networksync:Invalid machine list from server, stopping sync: 500: {'status': '500', 'content-length': '8571', 'via': '1.1 apps.ubuntu.com', '-content-encoding': 'gzip', 'strict-transport-security': 'max-age=2592000', 'vary': 'Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'connection': 'close', 'etag': '"d8820e06a6f2bd956bb1209396536e96"', 'date': 'Fri, 13 Apr 2012 16:38:37 GMT', 'content-type': 'text/html; charset=utf-8'}