← Back to team overview

openstack team mailing list archive

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

 

2013/3/7 Brad Knowles <bknowles@xxxxxxxxxxxxxx>:
> 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?


I have set my repo like this:
deb http://ubuntu-cloud.archive.canonical.com/ubuntu
precise-updates/grizzly main

I've also try precise-proposed, and run "apt-get update; apt-get
upgrade", but no packages have been updated.

dpkg give me:

# dpkg -l |grep glance
ii  glance                           2013.1.g3-0ubuntu1~cloud0
  OpenStack Image Registry and Delivery Service - Daemons
ii  glance-api                       2013.1.g3-0ubuntu1~cloud0
  OpenStack Image Registry and Delivery Service - API
ii  glance-common                    2013.1.g3-0ubuntu1~cloud0
  OpenStack Image Registry and Delivery Service - Common
ii  glance-registry                  2013.1.g3-0ubuntu1~cloud0
  OpenStack Image Registry and Delivery Service - Registry
ii  python-glance                    2013.1.g3-0ubuntu1~cloud0
  OpenStack Image Registry and Delivery Service - Python library
ii  python-glanceclient              1:0.6.0-0ubuntu1~cloud0
  Client library for Openstack glance server.




-- 
Olivier Archer
Océanographie spatiale - Ifremer
02 98 22 44 84


Follow ups

References