← Back to team overview

openstack team mailing list archive

Re: grizzly on ubuntu precise: error starting glance-api (duplicate option: log-format)

 

On Mar 7, 2013, at 10:14 AM, Olivier Archer <olivier.archer@xxxxxxxxxx> wrote:

> Hi All
> I am following this documentation:
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/osfolubuntu-imageservice.html
> to install grizzly on ubuntu precise.

I'm following the same instructions.  I'm trying to feed back corrections to the openstack-manuals project as I find them.

> and i've got problems with glance:
> 
> when i try to launch glance-api, i've got the following error message
> in the api.log:
> 2013-03-07 16:49:01.740 5758 CRITICAL glance [-] duplicate option: log-format
> 
> 
> But i haven't got any  log-format directive in the conffile
> 
> $grep log-format /etc/glance/*
> $
> 
> Does anybody know how to have a working glance in unbuntu/grizzly ?

That's one problem that I have not had with glance.  From what I can tell, a lot of options are being imported by default from /usr/lib/python2.7/dist-packages/oslo/config/cfg.py.  Witness:

$ grep -i log.format /etc/glance/*
$ grep -i log.format /var/log/glance/api.log
2013-03-07 09:36:32.470 23377 DEBUG glance.common.config [-] log_format                     = %(asctime)s %(levelname)8s [%(name)s] %(message)s log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/cfg.py:1446

Have you made sure that you're pointing at the right grizzly ubuntu repos, and that you've done an "apt-get update; apt-get upgrade" to make sure you've got the latest code for grizzly?

--
Brad Knowles <bknowles@xxxxxxxxxxxxxx>
Senior Consultant



Follow ups

References