openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21657
Re: grizzly on ubuntu precise: error starting glance-api (duplicate option: log-format)
-
To:
Olivier Archer <olivier.archer@xxxxxxxxxx>
-
From:
Brad Knowles <bknowles@xxxxxxxxxxxxxx>
-
Date:
Thu, 7 Mar 2013 16:32:25 +0000
-
Accept-language:
en-US
-
Cc:
openstack <openstack@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAOo=kQViV-5AnwAfw81yVN8-k29YuLBKyZELBmti9BuTOOsXNQ@mail.gmail.com>
-
Thread-index:
AQHOG08P6zNCMiV0mUiJkZ5wlGKvMJia0KqA
-
Thread-topic:
[Openstack] 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