I don't know if cstats completely failed, or if it just raised this error. I think this is really a case of charm data changing and cstats doesn't know how to handle it:
Traceback (most recent call last):
File "/home/webops_deploy/charmworld/charmworld/jobs/cstat.py", line 57, in <module>
sys.exit(main())
File "/home/webops_deploy/charmworld/charmworld/jobs/cstat.py", line 53, in main
log))
File "/home/webops_deploy/charmworld/charmworld/jobs/cstat.py", line 34, in update_counts
charm_source.save(charm)
File "/home/webops_deploy/charmworld/charmworld/models.py", line 1243, in save
self.index_client.delete_charm(charm)
File "/home/webops_deploy/charmworld/charmworld/search.py", line 354, in delete_charm
self._delete_item(charm_id, CHARM)
File "/home/webops_deploy/charmworld/charmworld/search.py", line 349, in _delete_item
self._client.delete(self.index_name, doctype, id_, refresh=True)
File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 96, in decorate
return func(*args, query_params=query_params, **kwargs)
File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 410, in delete
query_params=query_params)
File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 254, in send_request
self._raise_exception(resp, prepped_response)
File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 268, in _raise_exception
raise error_class(response.status_code, error_message)
pyelasticsearch.exceptions.ElasticHttpNotFoundError: (404, {u'_type': u'charm', u'ok': True, u'_index': u'charms-21643', u'_version': 1, u'found': False, u'_id': u'~emamdouh/oneiric/php5-fpm'})
I don't know if cstats completely failed, or if it just raised this error. I think this is really a case of charm data changing and cstats doesn't know how to handle it:
Traceback (most recent call last): webops_ deploy/ charmworld/ charmworld/ jobs/cstat. py", line 57, in <module> exit(main( )) webops_ deploy/ charmworld/ charmworld/ jobs/cstat. py", line 53, in main webops_ deploy/ charmworld/ charmworld/ jobs/cstat. py", line 34, in update_counts source. save(charm) webops_ deploy/ charmworld/ charmworld/ models. py", line 1243, in save index_client. delete_ charm(charm) webops_ deploy/ charmworld/ charmworld/ search. py", line 354, in delete_charm _delete_ item(charm_ id, CHARM) webops_ deploy/ charmworld/ charmworld/ search. py", line 349, in _delete_item _client. delete( self.index_ name, doctype, id_, refresh=True) webops_ deploy/ charmworld/ local/lib/ python2. 7/site- packages/ pyelasticsearch /client. py", line 96, in decorate query_params, **kwargs) webops_ deploy/ charmworld/ local/lib/ python2. 7/site- packages/ pyelasticsearch /client. py", line 410, in delete params= query_params) webops_ deploy/ charmworld/ local/lib/ python2. 7/site- packages/ pyelasticsearch /client. py", line 254, in send_request _raise_ exception( resp, prepped_response) webops_ deploy/ charmworld/ local/lib/ python2. 7/site- packages/ pyelasticsearch /client. py", line 268, in _raise_exception response. status_ code, error_message) .exceptions. ElasticHttpNotF oundError: (404, {u'_type': u'charm', u'ok': True, u'_index': u'charms-21643', u'_version': 1, u'found': False, u'_id': u'~emamdouh/ oneiric/ php5-fpm' })
File "/home/
sys.
File "/home/
log))
File "/home/
charm_
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
return func(*args, query_params=
File "/home/
query_
File "/home/
self.
File "/home/
raise error_class(
pyelasticsearch