vahidh's profile - activity

2015-06-17 11:40:36 -0600 received badge  Scholar (source)
2015-06-11 08:37:31 -0600 received badge  Famous Question (source)
2015-06-11 08:37:31 -0600 received badge  Notable Question (source)
2015-06-01 13:04:45 -0600 received badge  Popular Question (source)
2015-05-30 10:57:31 -0600 received badge  Famous Question (source)
2015-05-28 12:49:58 -0600 answered a question Murano installation issue

The error seems to be related to https://bugs.launchpad.net/murano/+bu.... Waiting for the bug fix to verify.

UPDATE: With the bug fix I was able to stack without an error.

2015-05-28 09:31:55 -0600 received badge  Notable Question (source)
2015-05-28 00:18:01 -0600 received badge  Popular Question (source)
2015-05-26 19:41:50 -0600 asked a question Murano installation issue

I have followed the development version of Murano installation instruction at http://murano.readthedocs.org/en/late..., but am running into an issue.

After the installation, I created an Environment and loaded one of the out of the box packages (WordPress). When I go to Murano > Application Catalog > Applications, I see WordPress listed there, with two buttons: "Add to Env" and "Quick Deploy". However, clicking on any of these buttons causes an error (as if the target page does not exist). For example, when I click on "Add to Env" I get this error:

TemplateDoesNotExist at /murano/catalog/add/057e8979229546c79381a45be144ff88/eb0f68a4988e42e8b9275e3485b49c24

services/wizard_create.html

Request Method: GET

Request URL: http://x.x.x.x/murano/catalog/add/057...

Django Version: 1.7.8

Exception Type: TemplateDoesNotExist

Exception Value: services/wizard_create.html

Exception Location: /usr/local/lib/python2.7/dist-packages/django/template/loader.py in find_template, line 136

Python Executable: /usr/bin/python

Python Version: 2.7.6

Python Path:
['/opt/stack/horizon/openstack_dashboard/wsgi/../..', '/opt/stack/keystone', '/opt/stack/glance', '/opt/stack/cinder', '/opt/stack/neutron', '/opt/stack/nova', '/opt/stack/horizon', '/opt/stack/heat', '/opt/stack/python-muranoclient', '/opt/stack/murano', '/opt/stack/murano-dashboard', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/opt/stack/horizon/openstack_dashboard']

Full error is attached.murano_error.jpg

Did I miss some installation steps on top of what is in that page? Thank you.

--Vahid

UPDATE

In the attached screenshot's Template-loader postmortem I see that the file wizard_create.html is not found in a number of folders including /opt/stack/murano-dashboard/muranodashboard/templates/services/. When I look at that folder there is a file named _wizard_create.html.

2015-05-12 10:00:51 -0600 asked a question Heat Stack Stuck in "Delete in Progress"

What is the best practice is removing a stack that is stuck in "Delete in Progress" status? All the resources of the stack are "Delete Complete". I am running OpenStack version 2015.2.0. Thanks.

--Vahid

2015-04-07 07:45:39 -0600 received badge  Famous Question (source)
2014-12-22 04:33:08 -0600 received badge  Popular Question (source)
2014-12-22 04:33:08 -0600 received badge  Famous Question (source)
2014-12-22 04:33:08 -0600 received badge  Notable Question (source)
2014-12-19 19:50:55 -0600 asked a question Nova Scheduler warning "Host has more disk space than database expected" on launching instances

Hi there,

I'm running some experiments in which through a script I launch a number of instances one after the other (nova boot) and then remove them all (nova delete). And I repeat the scenario above a number of times.

The script runs fine for the first few rounds and then instance launches all fail with warnings like this in scheduler.log:

WARNING nova.scheduler.host_manager [req-30c6f9e6-54db-495c-a5ee-bc679179dcc8 f68eb94377af4ec69cded8d8e371c63a 800a856ea54041c7839585d10298ad05] Host has more disk space than database expected (815gb > 814gb)

Once this issue starts compute.log no longer receives any log messages without registering any error messages. Even though at each round OpenStack services including Nova are restarted. No other error messages are found in Nova logs.

Once the issue starts it continues. But usually a controller reboot brings things back to normal.

Any idea what could be the issue here?

Thanks.

2014-12-16 00:34:26 -0600 received badge  Notable Question (source)
2014-12-03 09:53:15 -0600 received badge  Taxonomist
2014-12-01 03:46:48 -0600 received badge  Notable Question (source)
2014-12-01 03:46:48 -0600 received badge  Famous Question (source)
2014-11-25 16:41:29 -0600 received badge  Popular Question (source)
2014-11-19 16:01:54 -0600 asked a question How to debug execution of user_data section in a Heat template

I have not been able to find where the scripts I put in user_data are logged or where to enable logging them (in case I need to enable it first). Can someone please shed some light on how this can be done? I appreciate your help.

2014-09-28 05:15:36 -0600 received badge  Nice Question (source)
2014-09-28 05:13:29 -0600 received badge  Famous Question (source)
2014-09-22 11:39:01 -0600 received badge  Famous Question (source)
2014-09-17 15:27:36 -0600 answered a question How would a ceilometer alarm trigger when monitoring an AutoScalingGroup?

I found out the answer after trying it out in a Heat template. The average or whatever statistics is specified applies to all VMs in the AutoScalingGroup. With the above example, when there are more than one instances inthe group the average CPU utilization across all VMs should be over 75% for a one minute period for the scale-up policy to trigger.

2014-09-15 11:38:46 -0600 received badge  Supporter (source)
2014-09-13 10:06:23 -0600 received badge  Student (source)
2014-09-13 04:42:53 -0600 received badge  Notable Question (source)
2014-09-12 16:43:29 -0600 commented answer Can I define an auto-scaling Heat template that does the scaling at specific times of day?

Thanks a lot pas-ha. I'm going to try this out and let you know about the outcome.

2014-09-12 16:26:50 -0600 received badge  Popular Question (source)
2014-09-12 13:41:09 -0600 asked a question Can I define an auto-scaling Heat template that does the scaling at specific times of day?

Hi there,

This question is based on the auto-scaling template at https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml. In this template when CPU utilization reaches certain thresholds scaling up/down happens. What I want, however, is for scaling up and down to happen at certain times of the day. For example, I want my web server group to scale up at 8:00 am and down at 6:00 pm during weekdays.

Can I achieve this with a Heat template like this?

Thanks.

--vahidh

P.S. Amazon supports this time-based auto-scaling: http://docs.aws.amazon.com/cli/latest/reference/opsworks/set-time-based-auto-scaling.html (http://docs.aws.amazon.com/cli/latest...)

2014-08-26 10:48:21 -0600 commented question How to flatten nested Heat templates?

I was running into an error with a nested Heat template. The error pointed to a line number that did not make sense for the main template and the nested one. I was hoping by merging them I can better troubleshoot. But the issue is resolved now, turned out the nested template could not be accessed.

2014-08-22 00:59:21 -0600 received badge  Notable Question (source)
2014-08-20 07:09:14 -0600 received badge  Popular Question (source)
2014-08-20 07:02:20 -0600 received badge  Famous Question (source)
2014-07-31 18:17:18 -0600 received badge  Notable Question (source)
2014-07-31 18:17:18 -0600 received badge  Popular Question (source)
2014-07-16 11:25:51 -0600 received badge  Enthusiast
2014-07-08 13:13:41 -0600 asked a question How would a ceilometer alarm trigger when monitoring an AutoScalingGroup?

I'm trying to understand when a Ceilometer alarm that monitors a Heat AutoScalingGroup triggers.

Here's an example:

This alarm is configured to indicate when CPU utilization goes above a threshold:

cpu_alarm_high:
  type: OS::Ceilometer::Alarm
  properties:
    description: Scale-up if the average CPU > 75% for 1 minute
    meter_name: cpu_util
    statistic: avg
    period: 60
    evaluation_periods: 1
    threshold: 75
    alarm_actions:
      - {get_attr: [web_server_scaleup_policy, alarm_url]}
    matching_metadata: {'metadata.user_metadata.stack': {get_param: "OS::stack_id"}}
    comparison_operator: gt

If the AutoScalingGroup includes two or more VMs at some point in time, does the "avg" statistics field refer to average CPU utilization across all VMs? Or average per VM? For example, if one VM is running on 100% CPU and the other on 10% (for over a minute) should that trigger this alarm or not?

Is there any documentation out there explaining details like this?

Thanks.

2014-06-16 09:14:16 -0600 received badge  Popular Question (source)
2014-03-07 14:30:17 -0600 asked a question How to use case sensitive regex in "nova list" command?

I'd like to use "nova list" command with "--name" option and provide a case sensitive regular expression as the parameter. If I have two instances "ins1" and "INS1" when I try "nova list --name ^ins1$" both instances are returned. I am struggling to find a way to provide a regex that forces case sensitivity in there.

Anybody knows how to do that?

Thanks.