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'}
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 oneconf. hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ ngkengyap/ .cache/ oneconf/ ff3fc229cb84362 1c3011fcb000000 0a/other_ hosts' _main__ :daemon up and running _main__ :Create a sync handler with infra distributor: get_distro: 'Ubuntu' networksync. netstatus: network status changed to 70 networksync. ssohandler: Try to get a proxy networksync. ssohandler: look for credential networksync. netstatus: Connectivity state changed to: True networksync. ssohandler: credential found networksync: Start processing sync networksync: Check if other hosts metadata needs to be refreshed networksync: Ensure that current host is not shared 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': '"40aa569eb6d3f 830039cb666c0cd a4ee"', 'date': 'Fri, 13 Apr 2012 16:36:29 GMT', 'content-type': 'text/html; charset=utf-8'} networksync. utils:Saving updated /home/ngkengyap /.cache/ oneconf/ ff3fc229cb84362 1c3011fcb000000 0a/last_ sync to disk dbusconnect: Send last sync timestamp: 1334334988.33
WARNING:
DEBUG:_
DEBUG:_
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
ngkengyap:~$ /usr/share/ oneconf/ oneconf- service --debug oneconf. hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ ngkengyap/ .cache/ oneconf/ ff3fc229cb84362 1c3011fcb000000 0a/other_ hosts' _main__ :daemon up and running _main__ :Create a sync handler with infra distributor: get_distro: 'Ubuntu' networksync. netstatus: network status changed to 70 networksync. ssohandler: Try to get a proxy networksync. ssohandler: look for credential networksync. netstatus: Connectivity state changed to: True networksync. ssohandler: credential found networksync: Start processing sync networksync: Check if other hosts metadata needs to be refreshed networksync: Ensure that current host is not shared 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': '"40aa569eb6d3f 830039cb666c0cd a4ee"', 'date': 'Fri, 13 Apr 2012 16:36:29 GMT', 'content-type': 'text/html; charset=utf-8'} networksync. utils:Saving updated /home/ngkengyap /.cache/ oneconf/ ff3fc229cb84362 1c3011fcb000000 0a/last_ sync to disk dbusconnect: Send last sync timestamp: 1334334988.33 oneconf/ oneconf- service" , line 111, in <module> oneconf/ oneconf- service --debug oneconf. hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ ngkengyap/ .cache/ oneconf/ ff3fc229cb84362 1c3011fcb000000 0a/other_ hosts' _main__ :daemon up and running _main__ :Create a sync handler with infra distributor: get_distro: 'Ubuntu' networksync. netstatus: network status changed to 70 networksync. ssohandler: Try to get a proxy networksync. ssohandler: look for credential networksync. ssohandler: credential found networksync. netstatus: Connectivity state changed to: True networksync: Start processing sync 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': '"d8820e06a6f2b d956bb120939653 6e96"', 'date': 'Fri, 13 Apr 2012 16:38:37 GMT', 'content-type': 'text/html; charset=utf-8'}
WARNING:
DEBUG:_
DEBUG:_
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
^CTraceback (most recent call last):
File "/usr/share/
loop.run()
KeyboardInterrupt
ngkengyap:~$ oneconf-query --stop
ngkengyap:~$ /usr/share/
WARNING:
DEBUG:_
DEBUG:_
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
DEBUG:oneconf.
ERROR:oneconf.