[openstack-dev] [Monasca] "The server is currently unavailable. on Monasca service

2016-06-01 Thread Pradip Mukhopadhyay
Hello, I am seeing the following issue after installing Monasca recently as a devstack environment" stack@scsor0002143001-pradipm:~/devstack$ monasca metric-list ERROR (exc:80) exception: {"message": "The server is currently unavailable. Please try again at a later time.\n\n\n", "code": "503

Re: [Openstack] Monasca web hooks

2016-03-23 Thread Pradip Mukhopadhyay
I do not know if using Logstash ( https://www.elastic.co/webinars/logstash-0-60-in-60) you can able to do it directly getting it from the Alarm DB in Monasca. Otherwise you may look at this ( https://github.com/openstack/monasca-api/blob/master/docs/monasca-api-spec.md#alarms). You can write a

Re: [openstack-dev] [Monasca] Alarm generation from a sequence of events

2016-02-16 Thread Pradip Mukhopadhyay
. For > example, if the number of errors in a log file exceeds some amount, alarm > and send a notification. > > Regards --Roland > > From: Pradip Mukhopadhyay <pradip.inte...@gmail.com pradip.inte...@gmail.com>> > Reply-To: OpenStack List <openstack-dev@lists.openstac

[Openstack] [devstack][Installation] devstack installation is failing in bootstrap_keystone

2016-02-06 Thread Pradip Mukhopadhyay
Hello, In a RHEL-7, getting this error: 2016-02-05 11:08:00.385 | Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. 2016-02-05 11:08:00.385 | Could not determine a suitable URL for the plugin 2016-02-05 11:08:00.403

[Openstack] [openstack-dev][Installation] RHEL-7 devstack installation failed in bootstrap_keystone

2016-02-06 Thread Pradip Mukhopadhyay
Hello, In a RHEL-7, getting this error: 2016-02-05 11:08:00.385 | Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. 2016-02-05 11:08:00.385 | Could not determine a suitable URL for the plugin 2016-02-05 11:08:00.403

[openstack-dev] [Installation] RHEL-7 devstack installation failed in bootstrap_keystone

2016-02-05 Thread Pradip Mukhopadhyay
Hello, In a RHEL-7, getting this error: 2016-02-05 11:08:00.385 | Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. 2016-02-05 11:08:00.385 | Could not determine a suitable URL for the plugin 2016-02-05 11:08:00.403

[openstack-dev] [Monasca] alarm-definition-list is failing with "service unavailable"

2016-02-03 Thread Pradip Mukhopadhyay
Hello, Seeing the alarm-definition-list is returning "service unavailable" for admin user: stack@ubuntu:~/devstack$ monasca --os-username admin --os-password secretadmin --os-project-name admin alarm-definition-list ERROR (exc:65) exception: { "title": "Service unavailable",

[openstack-dev] [Horizon][Monasca] Launching Graphana UI from Monitoring tab in Monasca plugin for Horizon

2016-02-02 Thread Pradip Mukhopadhyay
Hello, We followed the https://github.com/openstack/monasca-ui/ to integrate the plugin for Horizon. The Monitoring tab is coming in left side navigation perfectly and working as expected. Only problem is: when we're trying to launch the Graphana UI, it is failing with the following trace:

[openstack-dev] [keystone] URLs are not reported in the endpoint listing

2016-02-02 Thread Pradip Mukhopadhyay
Hello, I did a stacking recently, noticing a behavior: eystone --os-username admin --os-password secretadmin --os-tenant-name admin --os-auth-url http://host:5000/v2.0 endpoint-list Returns null URLs for public/internal/admin.

Re: [openstack-dev] [keystone] URLs are not reported in the endpoint listing

2016-02-02 Thread Pradip Mukhopadhyay
ints created using the v3 API (via puppet). Try using the > openstack client and the v3 endpoint. Be sure to set --os-api-version 3. > On Feb 2, 2016 3:06 AM, "Pradip Mukhopadhyay" <pradip.inte...@gmail.com> > wrote: > >> Hello, >> >> >> I

[openstack-dev] [Monasca] Allowing 'admin' user and 'admin' project full access to Monasca

2016-02-02 Thread Pradip Mukhopadhyay
Hello, Following [1] , I set up Monasca (with all other services). I get the 'mini-mon' project; 'monasca' service; 'monasca-agent', 'monasca-user' role and 'mini-mon', 'monasca-agent' users. I can do all expected operations (alarm

Re: [openstack-dev] [monasca] Anomaly & Prediction Engine

2016-01-22 Thread Pradip Mukhopadhyay
(Apology for ignorance) - can anyone from Monasca please point any related documentation about the APE micro-service which (whatever be the state currently it is) currently we have in Monasca? Its in python or in Java? --pradip On Fri, Jan 22, 2016 at 4:12 PM, Osanai, Hisashi <

Re: [openstack-dev] [Monasca] collectd-Monasca Python plugin

2016-01-22 Thread Pradip Mukhopadhyay
One question. After pushing the data to Monasca (gathering from collectd) - what else could potentially be done on this data to get some interesting inside about the system? Of course, specially for legacy system cases, it would be an awesome addition (similar line of Ceilometer - I guess).

Re: [openstack-dev] [monasca] Anomaly & Prediction Engine

2016-01-22 Thread Pradip Mukhopadhyay
0% completion against both > APIs and Persisters. > > There was a Python implementation of an anomaly engine developed that was > more of a proof-of-concept. It is at, > https://github.com/roland-hochmuth/monasca-anomaly. > > Regards --Roland > > > From: Pradip Mukhopadhyay &

Re: [openstack-dev] [Monasca] Enabling Graphana GUI from Horizon

2016-01-14 Thread Pradip Mukhopadhyay
12. ^admin/ 13. ^identity/ 14. ^project/ 15. ^auth/ 16. ^static\/(?P.*)$ 17. ^media\/(?P.*)$ 18. ^500/$ The current URL, grafana/index.html, didn't match any of these. Any help would be good. Thanks, Pradip On Tue, Jan 12, 2016 at 10:42 PM, Pradip Mukhopadhyay <

[openstack-dev] [Monasca] Enabling Graphana GUI from Horizon

2016-01-12 Thread Pradip Mukhopadhyay
Hello, We're using the following fullsetup to install Monasca (python): https://github.com/openstack/monasca-api/tree/master/devstack Most likely we need to do something more to see the "Monitoring" tab in left hand side that takes us to Monasca graphana GUI. Can anyone please point me?

Re: [openstack-dev] [Monasca] Enabling Graphana GUI from Horizon

2016-01-12 Thread Pradip Mukhopadhyay
nasca dashboard. > > -Lin > > [1] https://github.com/openstack/monasca-ui/ > > On Tue, Jan 12, 2016 at 3:32 AM, Pradip Mukhopadhyay < > pradip.inte...@gmail.com> wrote: > >> Hello, >> >> >> We're using the following fullsetup to install Monasca

[openstack-dev] [cinder][python-client-api] Retrieve host-name attribute of Cinder Volume

2016-01-06 Thread Pradip Mukhopadhyay
Hello, >From CLI, I can see the host-name in the cinder show command as follows: | os-vol-host-attr:host | openstack4@mySCSIBackend#pool1 | How this info can be accessed from the cinder python client? I can access other information (id, size, name etc.) as follows: >>>

Re: [openstack-dev] [cinder][python-client-api] Retrieve host-name attribute of Cinder Volume

2016-01-06 Thread Pradip Mukhopadhyay
lt;ynesene...@mirantis.com> > wrote: > >> You can use this function >> https://github.com/openstack/cinder/blob/master/cinder/volume/utils.py#L5 >> >> On Wed, Jan 6, 2016 at 5:44 PM, Pradip Mukhopadhyay < >> pradip.inte...@gmail.com> wrote: >> &

Re: [openstack-dev] [cinder][python-client-api] Retrieve host-name attribute of Cinder Volume

2016-01-06 Thread Pradip Mukhopadhyay
> > *os-vol-host-attr:host'] * > > *Ugly, but it seems to work* > > On 6 January 2016 at 18:20, Pradip Mukhopadhyay <pradip.inte...@gmail.com> > wrote: > >> Thanks, Yuriy. >> >> My question was: how can I retrieve the "host@backend#pool

[openstack-dev] [cinder] oslo_config.PortOp is undefined

2016-01-05 Thread Pradip Mukhopadhyay
Hello, I have a devstack created on 12/22/15. Just seeing that (after a vacation) it stops working. Tried to restart the cinder services, getting the error: stack@openstack4:~/devstack$ /usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf & echo $!

Re: [openstack-dev] [cinder] oslo_config.PortOp is undefined

2016-01-05 Thread Pradip Mukhopadhyay
I did not do anything specific. Oslo Config has IntOpt, not PortOpt. Any clue how can I upgrade oslo.config? --pradip On Tue, Jan 5, 2016 at 4:43 PM, Julien Danjou <jul...@danjou.info> wrote: > On Tue, Jan 05 2016, Pradip Mukhopadhyay wrote: > > Upgrade oslo.conf

Re: [openstack-dev] [cinder] oslo_config.PortOp is undefined

2016-01-05 Thread Pradip Mukhopadhyay
ile...er'}, oslo_config_project=...), wanted (cls, global_conf, allowed_origin, **local_conf) 2016-01-05 06:44:18.544 TRACE cinder Any help. --pradip On Tue, Jan 5, 2016 at 5:03 PM, Pradip Mukhopadhyay < pradip.inte...@gmail.com> wrote: > I did not do anything specific. > >

Re: [openstack-dev] [cinder] oslo_config.PortOp is undefined

2016-01-05 Thread Pradip Mukhopadhyay
l > -U -r /opt/stack/cinder/requirements.txt". > > [1] > > https://github.com/openstack/oslo.config/blob/f5e2fab3ae5af5bd47fe3526a73f13fbaa27c1f0/oslo_config/cfg.py#L1180-L1216 > > On 01/05/2016 12:33 PM, Pradip Mukhopadhyay wrote: > > I did not do

Re: [openstack-dev] [cinder] oslo_config.PortOp is undefined

2016-01-05 Thread Pradip Mukhopadhyay
Oops. sorry. I was as stack user. It works now (with a sudo). All the three cinder services are running. Thanks a ton for the help, Pradip On Tue, Jan 5, 2016 at 5:51 PM, Pradip Mukhopadhyay < pradip.inte...@gmail.com> wrote: > Thanks. Tried this. Still getting the same error

[openstack-dev] [Monasca] Facing issue in running monasca python client

2015-12-24 Thread Pradip Mukhopadhyay
Hello, I setup the devstack-monasca using the following wiki: https://github.com/openstack/monasca-api/tree/master/devstack So I can see all the OS services and the monansca-api, agent etc. is up and running. I would like to play with some Monascal python-client. So I install python client

[openstack-dev] [Monasca] monasca-threshold smoke is failing

2015-12-11 Thread Pradip Mukhopadhyay
Hello, Trying to install the Monasca through vagrant stuff. On the 'vagrant provision' step, getting the threshold smoke failure. Any clue what might be the cause. I am in Ubuntu 15.10: pradipm@pradipm-ThinkPad-W530:~$ uname -a Linux pradipm-ThinkPad-W530 4.2.0-19-generic #23-Ubuntu SMP Wed

[openstack-dev] [Monasca] Authentication through Keystone

2015-05-29 Thread Pradip Mukhopadhyay
Hello, How Monasca is getting authenticated through Keystone? The reason of asking this is: Monasca is in Java, whereas other services (like Cinder) uses the keystone-middleware-authentication (when configured) through api-paste.ini. And the middleware is in python. Does Monasca uses some

Re: [openstack-dev] [cinder] Attaching extra-spec to vol-type using Cinder py-client

2015-03-31 Thread Pradip Mukhopadhyay
Thanks, Vipin *From:* Pradip Mukhopadhyay [mailto:pradip.inte...@gmail.com] *Sent:* Tuesday, March 31, 2015 10:07 AM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] [cinder] Attaching extra-spec to vol-type using Cinder py-client Hello

[openstack-dev] [cinder] Attaching extra-spec to vol-type using Cinder py-client

2015-03-30 Thread Pradip Mukhopadhyay
Hello, I am trying to create and type-set some parameters to a volume-type as follows: cinder type-create nfs cinder type-key nfs set volume_backend_name=myNFSBackend The same thing I want to achieve through python client. I can create the type as follows: from cinderclient import client

[openstack-dev] [infrastructure] Document to write a new service

2015-03-18 Thread Pradip Mukhopadhyay
Hello, Is there any documentation available which can be followed to start writing up (from scratch) a new service? Thanks, Pradip __ OpenStack Development Mailing List (not for usage questions) Unsubscribe:

[openstack-dev] [cinder] CURD operation for storage pools in Cinder

2015-02-11 Thread Pradip Mukhopadhyay
Hello, Does Cinder already have a blue-print/planned-schedule for supporting (at least in API level - may not be python-client/Horizon levels) the create/edit/delete operation on the storage pools? It is understood that the read part 'get_pools' is already there. If it is already

Re: [openstack-dev] [cinder] CURD operation for storage pools in Cinder

2015-02-11 Thread Pradip Mukhopadhyay
to use whatever management tools your backend provides to do this. There was somebody from Intel IIRC in Paris with some interest in maybe starting something about this, but I don't know that it came to much. Duncan Thomas On Feb 11, 2015 6:53 PM, Pradip Mukhopadhyay pradip.inte...@gmail.com

[openstack-dev] [Monasca][Monasca-agent] Logfile format to send matrices

2015-02-04 Thread Pradip Mukhopadhyay
Hello, In Monasca-agent README here https://github.com/stackforge/monasca-agent#introduction It mentioned: Retrieving metrics from log files written in a specific format. Can anyone please point to such a format?Any such pointer would be good. If I understand it correctly, if I point the

[openstack-dev] [Cinder]

2014-12-07 Thread Pradip Mukhopadhyay
Hi, Is there a way to find out/list down the backends discovered for Cinder? There is, I guess, no API for get the list of backends. Thanks, Pradip ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org

[openstack-dev] [Cinder] Listing of backends

2014-12-07 Thread Pradip Mukhopadhyay
Hi, Is there a way to find out/list down the backends discovered for Cinder? There is, I guess, no API for get the list of backends. Thanks, Pradip ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org

[openstack-dev] [cinder] Code pointer for processing cinder backend config

2014-12-05 Thread Pradip Mukhopadhyay
Hello, Suppose I have a backend specification in cinder.conf as follows: [nfs_pradipm] volume_backend_name=nfs_pradipm volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver netapp_server_hostname=IP netapp_server_port=80 netapp_storage_protocol=nfs netapp_storage_family=ontap_cluster

[openstack-dev] [All] Programatically re-starting OpenStack services

2014-11-30 Thread Pradip Mukhopadhyay
Hello, Are there ways (which pattern might be preferred) by which one can programatically restart different OpenStack services? For example: if one wants to restart cinder-scheduler or heat-cfn? Thanks in advance, Pradip ___ OpenStack-dev mailing

Re: [openstack-dev] [All] Programatically re-starting OpenStack services

2014-11-30 Thread Pradip Mukhopadhyay
:03 AM, Pradip Mukhopadhyay pradip.inte...@gmail.com wrote: Hello, Are there ways (which pattern might be preferred) by which one can programatically restart different OpenStack services? For example: if one wants to restart cinder-scheduler or heat-cfn? Thanks in advance, Pradip

[openstack-dev] [heat] [cinder backend options] Propagate Cinder backend config information to Heat

2014-11-28 Thread Pradip Mukhopadhyay
Hello, Suppose we have a cinder backend in local.conf | cinder.conf as : [myNFSBackend] nfs_mount_options = nfsvers=3 volume_backend_name = myNFSBackend volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver netapp_server_hostname = IP netapp_server_port = 80 netapp_storage_protocol

Re: [openstack-dev] [heat] [cinder backend options] Propagate Cinder backend config information to Heat

2014-11-28 Thread Pradip Mukhopadhyay
, Pradip Mukhopadhyay wrote: Hello, Suppose we have a cinder backend in local.conf | cinder.conf as : [myNFSBackend] nfs_mount_options = nfsvers=3 volume_backend_name = myNFSBackend volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver netapp_server_hostname = IP

[openstack-dev] [heat] [CustomResource] LifeCycle methods flow

2014-11-26 Thread Pradip Mukhopadhyay
Hello, Any pointer (document and/or code pointer) related to how the different overridden methods are getting called when a custom resource is getting deployed in the heat stack? Basically just tried to annotate the h-eng log on a simple, very-first-attempt 'hello world' resource. Noticed the

Re: [openstack-dev] [heat] [CustomResource] LifeCycle methods flow

2014-11-26 Thread Pradip Mukhopadhyay
, it calls handle_create that might return some data, yields, and than keeps calling check_create_complete with that data returned by handle_create, yielding control in-between, until check_create_complete returns True. Best regards, Pavlo Shchelokovskyy. On Wed, Nov 26, 2014 at 12:20 PM, Pradip

Re: [openstack-dev] [heat] [CustomResource] LifeCycle methods flow

2014-11-26 Thread Pradip Mukhopadhyay
in any of such resource. And your explanation is making sense. Thanks a lot. --pradip On Thu, Nov 27, 2014 at 4:05 AM, Zane Bitter zbit...@redhat.com wrote: On 26/11/14 05:20, Pradip Mukhopadhyay wrote: Hello, Any pointer (document and/or code pointer) related to how the different

[openstack-dev] [Heat] Heat Resource Plugin for third party storage

2014-11-12 Thread Pradip Mukhopadhyay
Hello, We come across this: http://docs.openstack.org/developer/heat/pluginguide.html Looks like it solves three of the purposes listed below: 1. Define a custom resource type with properties and attributes 2. Register the resource to the Hear orchestrator 3. Write a driver/plugin (most

Re: [openstack-dev] [Heat] Heat Resource Plugin for third party storage

2014-11-12 Thread Pradip Mukhopadhyay
and we want it searchable for them in future. Feel free to ping me with a link when you've posted it. cheers, Zane. On 12/11/14 06:00, Pradip Mukhopadhyay wrote: Hello, We come across this: http://docs.openstack.org/developer/heat/pluginguide.html Looks like it solves three

[openstack-dev] [Heat][Orchestration Template] Hierarchical Heat templates

2014-11-11 Thread Pradip Mukhopadhyay
Would like to ask the forum if something has already been considered to make the HOT (Heat Orchestration Template) hierarchical. Basically the template file might consist of different personas putting things together. So from manageability of the templates - it will be a good idea to separate it

Re: [openstack-dev] Devstack start

2014-11-06 Thread Pradip Mukhopadhyay
Rim, Is it possible to share urs local.conf once? You can view the logs using screen -x stack though. --pradip On Thu, Nov 6, 2014 at 7:18 PM, Rim Chol (rimc) r...@zhaw.ch wrote: Greetings! I am sending this email because I have some problems with starting the devstack. I cloned

[openstack-dev] devstack build is failing

2014-11-04 Thread Pradip Mukhopadhyay
Hello, Trying first time to build a devstack in my Ubuntu-14.10 VM. Getting the following error: 2014-11-04 09:27:32.182 | + recreate_database_mysql nova latin1 2014-11-04 09:27:32.182 | + local db=nova 2014-11-04 09:27:32.182 | + local charset=latin1 2014-11-04 09:27:32.182 | + mysql -uroot

Re: [openstack-dev] devstack build is failing

2014-11-04 Thread Pradip Mukhopadhyay
/oslo.config/+bug/1374741 -Anish *From:* Pradip Mukhopadhyay [mailto:pradip.inte...@gmail.com] *Sent:* Tuesday, November 4, 2014 2:27 AM *To:* openstack-dev@lists.openstack.org *Subject:* [openstack-dev] devstack build is failing Hello, Trying first time to build a devstack in my Ubuntu