Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-14 Thread Ignazio Cassano
Many thanks, Gordon 
It seems to work adding OS_AUTH_TYPE=password
I a going to modify glance, compute etc etc to verify if it collects
information
Regards
Ignazio

2017-06-14 15:06 GMT+02:00 gordon chung :

>
>
> On 14/06/17 05:15 AM, Ignazio Cassano wrote:
> >
> > source admin-openrc
> >
> > gnocchi metric list
> >
> > The request you have made requires authentication. (HTTP 401)
>
> i have no idea what admin-openrc sets, i'm guessing this?
> https://docs.openstack.org/ocata/install-guide-rdo/keystone-openrc.html
>
> the only thing i notice missing is it should have:
>
> export OS_AUTH_TYPE=password
>
> please read docs here:
> http://gnocchi.xyz/gnocchiclient/shell.html?highlight=os_auth_type
>
> cheers,
>
> --
> gord
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-14 Thread gordon chung


On 14/06/17 05:15 AM, Ignazio Cassano wrote:
>
> source admin-openrc
>
> gnocchi metric list
>
> The request you have made requires authentication. (HTTP 401)

i have no idea what admin-openrc sets, i'm guessing this? 
https://docs.openstack.org/ocata/install-guide-rdo/keystone-openrc.html

the only thing i notice missing is it should have:

export OS_AUTH_TYPE=password

please read docs here: 
http://gnocchi.xyz/gnocchiclient/shell.html?highlight=os_auth_type

cheers,

-- 
gord
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-14 Thread Ignazio Cassano
Hi Gordon, I followed the documentation https://docs.openstack.org/
project-install-guide/telemetry/ocata/install-base-rdo.html
and added auth_mode = keystone
Now ceilometer-upgrade works but the following command reports error:

source admin-openrc

gnocchi metric list

The request you have made requires authentication. (HTTP 401)


:-(
Ignazio


2017-06-13 21:39 GMT+02:00 gordon chung :

>
>
> On 13/06/17 01:17 PM, Ignazio Cassano wrote:
> > Hi Gordon, I had no enough time for trying with devstack.
>
> you gave up after a day?
>
> how about paste your ceilometer.conf and gnocchi.conf. did you follow
> the steps here?
> https://docs.openstack.org/project-install-guide/
> telemetry/ocata/install-base-rdo.html
>
> the only step i see missing is that it doesn't tell you to set auth_mode
> = keystone in gnocchi.conf (if you're using gnocchi3.1+)
>
> cheers,
> --
> gord
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-13 Thread gordon chung


On 13/06/17 01:17 PM, Ignazio Cassano wrote:
> Hi Gordon, I had no enough time for trying with devstack.

you gave up after a day?

how about paste your ceilometer.conf and gnocchi.conf. did you follow 
the steps here? 
https://docs.openstack.org/project-install-guide/telemetry/ocata/install-base-rdo.html

the only step i see missing is that it doesn't tell you to set auth_mode 
= keystone in gnocchi.conf (if you're using gnocchi3.1+)

cheers,
-- 
gord
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-13 Thread Ignazio Cassano
Hi Gordon, I had no enough time for trying with devstack.
Anycase I tried to create an environment file  ceil-openrc with the same
credentials stored in ceilometer.conf under service_c redentials section.
Doing:
source ceil-openrc
openstack user list

It shows users correctly, so I think c redentials are correct but
ceilometer-upgrade reports unautborized in log file.
Searching on google I found an unanswered question for the same issue.
https://ask.openstack.org/en/question/105833/ceilometer-upgradelog-shows-unauthorized-http-401/

I would be grateful if anyone could send me a configuration example that is
working.
Regards
Ignazio


Il 12/Giu/2017 17:13, "gordon chung"  ha scritto:

>
>
> On 12/06/17 10:30 AM, Ignazio Cassano wrote:
> > 2017-06-12 15:43:09.594 35526 CRITICAL ceilometer [-] Unauthorized:
> Unauthorized (HTTP 401)
>
> the credentials you're using aren't valid.
>
> my advice is to launch devstack with gnocchi and ceilometer enabled.
> from there, take a look at the configuration settings for both which
> should help you understand how to connect the two services.
>
> cheers,
>
> --
> gord
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-12 Thread Ignazio Cassano
I'll try with your suggestion.
thx
Ignazio

2017-06-12 17:10 GMT+02:00 gordon chung :

>
>
> On 12/06/17 10:30 AM, Ignazio Cassano wrote:
> > 2017-06-12 15:43:09.594 35526 CRITICAL ceilometer [-] Unauthorized:
> Unauthorized (HTTP 401)
>
> the credentials you're using aren't valid.
>
> my advice is to launch devstack with gnocchi and ceilometer enabled.
> from there, take a look at the configuration settings for both which
> should help you understand how to connect the two services.
>
> cheers,
>
> --
> gord
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata ceilometer-upgrade.log shows Unauthorized (HTTP 401)

2017-06-12 Thread gordon chung


On 12/06/17 10:30 AM, Ignazio Cassano wrote:
> 2017-06-12 15:43:09.594 35526 CRITICAL ceilometer [-] Unauthorized: 
> Unauthorized (HTTP 401)

the credentials you're using aren't valid.

my advice is to launch devstack with gnocchi and ceilometer enabled. 
from there, take a look at the configuration settings for both which 
should help you understand how to connect the two services.

cheers,

-- 
gord
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators