Giter Site home page Giter Site logo

Comments (10)

manalilatkar avatar manalilatkar commented on July 17, 2024

Hi,
Did you change the nova.conf file and enter the details of the nova
notifications in the worker_config?
Refer
http://stacktach.readthedocs.org/en/latest/setup.html#configuring-nova-to-generate-notifications

On Mon, Jun 23, 2014 at 12:06 PM, yogesh-mor [email protected]
wrote:

Hello,
I have sucessfully build the cloud on ubuntu 12.04 using devstack,
and trying for performance monitoring and i found stacktach is the best
for it.
so far i executed till $python manage.py runserver and
./worker/start_workers.py
sucessfully with the help of sandy walsh
http://www.youtube.com/watch?v=pZgwDHZ3wm0
but after start_workers.py and clicking ALL, i am getting nothing on screen
Please help
[image: stacktach]
https://cloud.githubusercontent.com/assets/7961429/3354394/a5720616-faa0-11e3-97d1-41387b45ca40.jpg


Reply to this email directly or view it on GitHub
#341.

Cheers,
Manali Latkar

from stacktach.

yogesh-mor avatar yogesh-mor commented on July 17, 2024

Hello,

yes i did relative changes in nova.conf, bellow is my nova.conf

[DEFAULT]
notify_on_any_change = True
notification_topics = notifications,monitor
flat_interface = eth0
flat_network_bridge = br100
vlan_interface = eth0
public_interface = br100
network_manager = nova.network.manager.FlatDHCPManager
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
compute_driver = libvirt.LibvirtDriver
default_ephemeral_format = ext4
glance_api_servers = 192.168.0.102:9292
rabbit_password = yogesh
rabbit_hosts = 192.168.0.102
rpc_backend = nova.openstack.common.rpc.impl_kombu
ec2_dmz_host = 192.168.0.102
vncserver_proxyclient_address = 127.0.0.1
vncserver_listen = 127.0.0.1
vnc_enabled = true
xvpvncproxy_base_url = http://192.168.0.102:6081/console
novncproxy_base_url = http://192.168.0.102:6080/vnc_auto.html
notification_driver = nova.openstack.common.notifier.rpc_notifier
notify_on_state_change = vm_and_task_state
instance_usage_audit_period = hour
instance_usage_audit = True
logging_exception_prefix = %(color)s%(asctime)s.%(msecs)03d TRACE %(name)s [01;35m%(instance)s[00m
logging_debug_format_suffix = [00;33mfrom (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d[00m
logging_default_format_string = %(asctime)s.%(msecs)03d %(color)s%(levelname)s %(name)s [[00;36m-%(color)s] [01;35m%(instance)s%(color)s%(message)s[00m
logging_context_format_string = %(asctime)s.%(msecs)03d %(color)s%(levelname)s %(name)s [[01;36m%(request_id)s [00;36m%(user_name)s %(project_name)s%(color)s] [01;35m%(instance)s%(color)s%(message)s[00m
force_config_drive = always
instances_path = /opt/stack/data/nova/instances
lock_path = /opt/stack/data/nova
state_path = /opt/stack/data/nova
enabled_apis = ec2,osapi_compute,metadata
instance_name_template = instance-%08x
sql_connection = mysql://root:[email protected]/nova?charset=utf8
my_ip = 192.168.0.102
s3_port = 3333
s3_host = 192.168.0.102
default_floating_pool = public
fixed_range =
force_dhcp_release = True
dhcpbridge_flagfile = /etc/nova/nova.conf
scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
rootwrap_config = /etc/nova/rootwrap.conf
api_paste_config = /etc/nova/api-paste.ini
allow_resize_to_same_host = True
auth_strategy = keystone
debug = True
verbose = True

[osapi_v3]
enabled = True

[keystone_authtoken]
signing_dir = /var/cache/nova
admin_password = yogesh
admin_user = nova
cafile =
admin_tenant_name = service
identity_uri = http://192.168.0.102:35357

[spice]
enabled = false
html5proxy_base_url = http://192.168.0.102:6082/spice_auto.html

[libvirt]
inject_partition = -2
use_usb_tablet = False
cpu_mode = none
virt_type = qemu

[keymgr]
fixed_key = 49DA1EF389BC670048165E365A7AB470394B5003EBCCEE616DE986C5C00CCC8D

from stacktach.

yogesh-mor avatar yogesh-mor commented on July 17, 2024

hello,
which worker_config? your talking about?

from stacktach.

manalilatkar avatar manalilatkar commented on July 17, 2024

You need to create a stacktach_worker_config.json file under etc/ and you
need to add the IP address of your nova deployment and other details to it.
Do you use rabbit mq for messaging?

On Mon, Jun 23, 2014 at 1:31 PM, yogesh-mor [email protected]
wrote:

hello,
which worker_config? your talking about?


Reply to this email directly or view it on GitHub
#341 (comment)
.

Cheers,
Manali Latkar

from stacktach.

yogesh-mor avatar yogesh-mor commented on July 17, 2024

Here is my stacktach_worker_config.json is under home/stacktach/

{"deployments": [
{
"name": "east_coast.prod.global".
"rabbit_host": "10.0.0.1",
"rabbit_port": "5672",
"rabbit_userid": "rabbit"
"rabbit_password": "rabbit",
"rabbit_virtual_host": "/"
},
{
"name": "east_coast.prod.global".
"rabbit_host": "10.0.0.1",
"rabbit_port": "5672",
"rabbit_userid": "rabbit"
"rabbit_password": "rabbit",
"rabbit_virtual_host": "/"
}]

}

and yes i do use rabbit mq for messaging,
please guide me with how stacktach_worker_config.json shall be with respective changes. and location where should i keep it.

Thanks.

from stacktach.

yogesh-mor avatar yogesh-mor commented on July 17, 2024

Hello, i kept stacktach_worker_config.json in /etc but its still not working .. please guide.
thanks a ton in advance.

from stacktach.

manalilatkar avatar manalilatkar commented on July 17, 2024

Try making the following changes:

  1. Change notification_driver = nova.openstack.common.notifier.rpc_notifier
    in nova.conf to nova.openstack.common.notifier.rabbit_notifier
  2. Enter the correct values of name, rabbit_host, rabbit_userid and
    rabbit_password in your stacktach_worker_config.json. From your nova.conf,
    it seems your rabbit password is 'yogesh' but in the
    stacktach_worker_config.json,
    all the values look the default ones from the sample file. You need to
    change all these values to your correct ones so that Stacktach connects to
    your deployment.

On Tue, Jun 24, 2014 at 11:57 AM, yogesh-mor [email protected]
wrote:

Hello, i kept stacktach_worker_config.json in /etc but its still not
working .. please guide.
thanks a ton in advance.


Reply to this email directly or view it on GitHub
#341 (comment)
.

Cheers,
Manali Latkar

from stacktach.

yogesh-mor avatar yogesh-mor commented on July 17, 2024

hello,
Thanks for quick help and in which folder should i keep this stacktach_worker_config.json , in /stacktach/workers folder or /etc ?

from stacktach.

manalilatkar avatar manalilatkar commented on July 17, 2024

Keep it in /stacktach/etc/

On Tue, Jun 24, 2014 at 2:28 PM, yogesh-mor [email protected]
wrote:

hello,
Thanks for quick help and in which folder should i keep this
stacktach_worker_config.json , in /stacktach/workers folder or /etc ?


Reply to this email directly or view it on GitHub
#341 (comment)
.

Cheers,
Manali Latkar

from stacktach.

PreetiKamble29 avatar PreetiKamble29 commented on July 17, 2024

hello manali,
I tried with nova.conf and by keeping stacktach_worker_config.json in /stacktach/etc
but nothing is working,

i came across one observation, my /etc/rabbitmq dont have any rabbitmq.conf or rabbitmq.config..
my question is do i need to create config file for rabbitmq? if yes can you please help with the contents and syntax of rabbitmq.config

Waiting for your valuable and positive reply ..

Thanks a ton in advance.
Regards,
Yogesh...

from stacktach.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.