<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all,<br>
    <br>
    Without ceilometer, swift may do good everything.<br>
    <br>
    With ceilometer guide, I add:<br>
    <br>
    <code class="filename">/etc/swift/proxy-server.conf</code><br>
    <div class="container">
      <div class="line number1 index0 alt2"><code class="bash plain">[pipeline:main]</code></div>
      <div class="line number2 index1 alt1"><code class="bash plain">pipeline
          = healthcheck cache authtoken keystoneauth ceilometer
          proxy-server<br>
          <br>
        </code></div>
    </div>
    <br>
    <div class="container">
      <div class="line number1 index0 alt2"><code class="bash plain">[filter:ceilometer]</code></div>
      <div class="line number2 index1 alt1"><code class="bash plain">use
          = egg:ceilometer</code><code class="bash comments">#swift</code></div>
    </div>
    <br>
    <br>
    service swift-proxy start<br>
    start: Job failed to start<br>
    <br>
    log:<br>
    Starting proxy-server...(/etc/swift/proxy-server.conf)<br>
    Traceback (most recent call last):<br>
      File "/usr/bin/swift-proxy-server", line 23, in <module><br>
        sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080,
    **options))<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    389, in run_wsgi<br>
        loadapp(conf_path, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    316, in loadapp<br>
        ctx = loadcontext(loadwsgi.APP, conf_file,
    global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    307, in loadcontext<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 296, in loadcontext<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 320, in _loadconfig<br>
        return loader.get_context(object_type, name, global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    59, in get_context<br>
        object_type, name=name, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 450, in get_context<br>
        global_additions=global_additions)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 562, in _pipeline_app_context<br>
        for name in pipeline[:-1]]<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    59, in get_context<br>
        object_type, name=name, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 454, in get_context<br>
        section)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 476, in _context_from_use<br>
        object_type, name=use, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    59, in get_context<br>
        object_type, name=name, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 406, in get_context<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 296, in loadcontext<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 328, in _loadegg<br>
        return loader.get_context(object_type, name, global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 620, in get_context<br>
        object_type, name=name)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 640, in find_egg_entry_point<br>
        pkg_resources.require(self.spec)<br>
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line
    725, in require<br>
        needed = self.resolve(parse_requirements(requirements))<br>
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line
    632, in resolve<br>
        raise VersionConflict(dist,req) # XXX put more info here<br>
    pkg_resources.VersionConflict: (pecan 0.3.0
    (/usr/lib/python2.7/dist-packages),
    Requirement.parse('pecan>=0.4.5'))<br>
    <br>
    Signal proxy-server  pid: 12538  signal: 15<br>
    No proxy-server running<br>
    <br>
    So I upgrade pecan to v0.5.0, and restart again<br>
    <br>
    Starting proxy-server...(/etc/swift/proxy-server.conf)<br>
    Traceback (most recent call last):<br>
      File "/usr/bin/swift-proxy-server", line 23, in <module><br>
        sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080,
    **options))<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    389, in run_wsgi<br>
        loadapp(conf_path, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    316, in loadapp<br>
        ctx = loadcontext(loadwsgi.APP, conf_file,
    global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    307, in loadcontext<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 296, in loadcontext<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 320, in _loadconfig<br>
        return loader.get_context(object_type, name, global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    59, in get_context<br>
        object_type, name=name, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 450, in get_context<br>
        global_additions=global_additions)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 562, in _pipeline_app_context<br>
        for name in pipeline[:-1]]<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    59, in get_context<br>
        object_type, name=name, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 454, in get_context<br>
        section)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 476, in _context_from_use<br>
        object_type, name=use, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line
    59, in get_context<br>
        object_type, name=name, global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 406, in get_context<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 296, in loadcontext<br>
        global_conf=global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 328, in _loadegg<br>
        return loader.get_context(object_type, name, global_conf)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 620, in get_context<br>
        object_type, name=name)<br>
      File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
    line 640, in find_egg_entry_point<br>
        pkg_resources.require(self.spec)<br>
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py",
    line 742, in require<br>
        needed = self.resolve(parse_requirements(requirements))<br>
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py",
    line 643, in resolve<br>
        raise VersionConflict(dist, req) # XXX put more info here<br>
    pkg_resources.VersionConflict: (happybase 0.7
    (/usr/lib/python2.7/dist-packages),
    Requirement.parse('happybase>=0.5,!=0.7'))<br>
    <br>
    it need happybase 0.5, but my system version is 0.7?<br>
    <br>
    Anyone help me to resolve it. downgrade it? My ubuntu is 14.04.<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Yugang LIU

Keep It Simple, Stupid
</pre>
  </body>
</html>