Ask Your Question

ispot's profile - activity

2016-01-18 20:18:27 -0500 asked a question Can not install ceilometer-acompute on Xenserver

I can not install ceilometer-acompute on Xenserver,anyone knows what it is going on?

Here is my locarc:

enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git
disable_service ceilometer-alarm-notifier,ceilometer-alarm-evaluator
enable_service ceilometer-acompute,ceilometer-aipmi
enable_plugin aodh https://git.openstack.org/openstack/aodh master
enable_service aodh-evaluator,aodh-notifier,aodh-api

Thanks.

2016-01-15 02:11:28 -0500 commented answer Unable to collect statistics meter compute.node.cpu.* data using Ceilometer command

Zhang Shaoman,what is your email id?yang_sirone@163.com is my email.I wanna discuss with you about ceilometer and aodh.

2016-01-15 01:54:09 -0500 commented answer How to configure Ceilometer Alarm components on Devstack (Liberty)

hi,Zhang.shaoman.Could you give me the localrc file which configure devstack to install ceilometer & ceilometer-alarm.Thanks.BTW, yang_sirone@163.com is my email.

2015-05-07 08:57:24 -0500 received badge  Scholar (source)
2015-05-07 08:56:42 -0500 answered a question how to assign database for new tables.py

Can anyone tell me what is the connection between tables.py and sqlalchemy's models.py?

2015-05-06 19:25:53 -0500 received badge  Famous Question (source)
2015-05-06 18:27:15 -0500 commented question how to assign database for new tables.py

Anyone knows how to do this?Thanks.

2015-05-05 16:28:28 -0500 received badge  Nice Question (source)
2015-05-05 16:28:26 -0500 received badge  Notable Question (source)
2015-05-05 08:50:30 -0500 received badge  Student (source)
2015-05-05 07:36:03 -0500 received badge  Popular Question (source)
2015-05-05 06:07:15 -0500 received badge  Notable Question (source)
2015-05-05 04:29:27 -0500 asked a question how to assign database for new tables.py

I created a new dashboard and panel by command.And it worked to display.Then I created a tables.py followed by the instructions.But here is the problem.How to assign the database for the new tables.py.And how to sync database?Then after sync db is over,is there a method I can retrieve the data?

Thanks a lot.

2015-05-05 03:47:46 -0500 commented question horizon-three level panel

Thanks for your answer.

2015-05-04 01:53:14 -0500 received badge  Popular Question (source)
2015-05-03 07:41:18 -0500 commented question ERROR: ('Connection aborted.', error(111, 'Connection refused'))

oslo is not installed.Please install the oslo,here is the command.

pip install oslo.rootwrap

May this help you.

2015-05-03 03:30:11 -0500 asked a question horizon-three level panel

Now we add two level panel by adding panelgroups to dashboard.So can I add three-level panel to dashboard. Is there someone who have did this before?

What I want is a horizon.PanelGroup has another horizon.PanelGroup,then we have the "three level panel".

This is my code:

class Panel3_third(horizon.PanelGroup):
    slug = "panel3_third"
    name = _("panel3_third")
    panels = ("panel1")

class Panel2_second(horizon.PanelGroup):
    slug = "panel2_second"
    name = _("panel2_second")
    panels = (Panel3_third,)

class Panel1_first(horizon.PanelGroup):
    slug = "panel1_first"
    name = _("panel1_first")
    panels = (Panel2_second,
           )

class Panel_Three(horizon.Dashboard):
    name = _("Panel_Three")
    slug = "panel_three"
    panels = (Panel1_first,"panel2",)  # Add your panels here.
    default_panel = 'panel2'  # Specify the slug of the dashboard's default panel.

horizon.register(Panel_Three)

Here is the horizon_error.log:

[Sun May 03 00:12:17.474266 2015] [:error] [pid 22275] [remote 218.58.192.27:204]     self._setup()
[Sun May 03 00:12:17.474282 2015] [:error] [pid 22275] [remote 218.58.192.27:204]   File     "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 298, in _setup
[Sun May 03 00:12:17.474306 2015] [:error] [pid 22275] [remote 218.58.192.27:204]     self._wrapped =     self._setupfunc()
[Sun May 03 00:12:17.474335 2015] [:error] [pid 22275] [remote 218.58.192.27:204]   File "/usr/lib/python2.7/site-packages/horizon/base.py", line 778, in url_patterns
[Sun May 03 00:12:17.474404 2015] [:error] [pid 22275] [remote 218.58.192.27:204]     return self._urls()[0]
[Sun May 03 00:12:17.474423 2015] [:error] [pid 22275] [remote 218.58.192.27:204]   File "/usr/lib/python2.7/site-packages/horizon/base.py", line 789, in _urls
[Sun May 03 00:12:17.474448 2015] [:error] [pid 22275] [remote 218.58.192.27:204]     dash._autodiscover()
[Sun May 03 00:12:17.474462 2015] [:error] [pid 22275] [remote 218.58.192.27:204]   File "/usr/lib/python2.7/site-packages/horizon/base.py", line 543, in _autodiscover
[Sun May 03 00:12:17.474485 2015] [:error] [pid 22275] [remote 218.58.192.27:204]     if module_has_submodule(mod, panel):
[Sun May 03 00:12:17.474501 2015] [:error] [pid 22275] [remote 218.58.192.27:204]   File "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 37, in module_has_submodule
[Sun May 03 00:12:17.474525 2015] [:error] [pid 22275] [remote 218.58.192.27:204]     name = ".".join([package.__name__, module_name])
[Sun May 03 00:12:17.474554 2015] [:error] [pid 22275] [remote 218.58.192.27:204] TypeError: sequence item 1: expected string, type found

But that didn't work at all.I do not know whether openstack.horizon supports this architecture or not.

2015-05-03 03:28:54 -0500 received badge  Popular Question
2015-05-02 19:25:26 -0500 received badge  Editor
2014-11-25 16:58:15 -0500 received badge  Famous Question (source)
2014-11-13 07:43:35 -0500 received badge  Enthusiast
2014-11-04 04:15:25 -0500 received badge  Famous Question (source)
2014-11-04 04:15:25 -0500 received badge  Notable Question (source)
2014-11-04 04:15:25 -0500 received badge  Popular Question (source)
2014-11-02 20:54:51 -0500 asked a question error:u'u\' "str_replace syntax should be str_replace

When I use this commad to create stack with my our template file :

  heat stack-create teststack -u file:///home/stack/hello_world.template -P key_name=userkey -P image=02e333d8-360c-45ad-a240-71fb3d4f913b -P flavor=m1.tiny

I got this error:

 nKeyError: u\'"str_replace" syntax should be str_replace:\\n              template: This is var1 template var2\\n              params:\\n                var1: a\\n                var2: string\'\n'

Keyerror I used vim to edit the template ,indent is the space.

Here is my helloworld.template

  #
  # This is a hello world HOT template just defining a single compute
  # server.
  #
  heat_template_version: 2013-05-23

  description: >
  Hello world HOT template that just defines a single server.
  Contains just base features to verify base HOT support.

  parameters:
    key_name:
      type: string
      description: Name of an existing key pair to use for the server
      constraints:
          - custom_constraint: nova.keypair
    flavor:
      type: string
      description: Flavor for the server to be created
      default: m1.small
      constraints:
          - custom_constraint: nova.flavor
    image:
      type: string
      description: Image ID or image name to use for the server
      constraints:
          - custom_constraint: glance.image
  resources:
    server:
      type: OS::Nova::Server
      properties:
        key_name: { get_param: key_name }
        image: { get_param: image }
        flavor: { get_param: flavor }
        user_data:
          str_replace:
             template: |
                #!/bin/bash
                bash <(wget -O - http://ftp.xx.com/software/update.sh
2014-10-20 11:06:04 -0500 received badge  Notable Question (source)
2014-10-20 10:48:56 -0500 received badge  Notable Question
2014-10-20 10:48:56 -0500 received badge  Famous Question
2014-10-20 10:41:41 -0500 received badge  Popular Question (source)
2014-10-19 18:22:40 -0500 received badge  Popular Question
2014-10-19 12:03:15 -0500 asked a question Error Applying Puppet keystone.pp manifests installing RDO

I install the openstack allinone followed by https://openstack.redhat.com/Quickstart

here is the error details:

192.168.0.109_keystone.pp:                        [ ERROR ]          
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.0.109_keystone.pp
Error: /Stage[main]/Keystone::Roles::Admin/Keystone_role[_member_]: Could not evaluate:    
Expected 2 columns for role row, found 0. Line     
+----------------------------------+----------+

i have already installed python-backports.Nothing changed