Ask Your Question

geeth m's profile - activity

2015-11-12 01:17:54 -0500 received badge  Taxonomist
2015-03-04 20:55:33 -0500 received badge  Famous Question (source)
2015-02-03 04:00:53 -0500 received badge  Famous Question (source)
2014-12-22 00:07:40 -0500 received badge  Famous Question (source)
2014-12-18 21:37:51 -0500 received badge  Student (source)
2014-12-18 00:22:24 -0500 received badge  Notable Question (source)
2014-12-03 09:47:25 -0500 received badge  Famous Question (source)
2014-12-02 12:45:33 -0500 received badge  Notable Question (source)
2014-12-02 12:45:33 -0500 received badge  Popular Question (source)
2014-12-01 01:24:46 -0500 asked a question image creation for rhel6 using diskimage and tripleO elements fail

Hi ,

I have an undercloud setup (using Juno packages) and am trying build an overcloud compute image for rhel6. To create the rhel6 image, i diskimage builder scripts ("instack-build-images overcloud-compute") with export NODE_DIST=${NODE_DIST:-"rhel"}. The image creation failed since there was no http://repos.fedorapeople.org/repos/o... repo. I modified scripts to use repo -- http://repos.fedorapeople.org/repos/o... . Now the image creation fails due to os-apply-config, os-refresh-config and os-collect-config not available in the http://repos.fedorapeople.org/repos/o... repo.

+ install-packages os-apply-config
Running install-packages install. Package list: os-apply-config
Loaded plugins: product-id, subscription-manager
Setting up Install Process
No package os-apply-config available.
Error: Nothing to do

The icehouse/epel6 repo does not contain the os-xxx-config packages for rhel 6 ? Are os-xxx-config packages available for rhel 6 available somewhere?

Trying to use os-collect-config, os-refresh-config,os-apply-config from http://repos.fedorapeople.org/repos/o... fails due to dependency errors on python 2.7 .

What should I do to create an rhel 6 image with the os-xxx-config packages included ?

Thanks gm

2014-11-30 17:42:59 -0500 received badge  Notable Question (source)
2014-11-17 01:25:51 -0500 received badge  Popular Question (source)
2014-10-30 11:33:24 -0500 asked a question heat resource-show gives "Stack or resource not found"

Hi, TripleO baremetal overcloud creation does not complete . The heat stack creation continues for an hour and finally shows CREATE_FAILED. I just have one control and one compute node for the overcloud .

Adding debug for heat shows the below message continuously in the /var/log/heat/engine.log.

2014-10-29 21:13:16.905 5722 DEBUG heat.openstack.common.rpc.amqp [-] received {u'_msg_id': u'8fa5529d394c4f8a878251094dee6e3f', u'_context_request_id': u'req-10b64214-7be1-437b-94f5-5dcdac7bdf23', u'_context_trust_id': None, u'_context_auth_token': '<SANITIZED>', u'_context_user_id': u'50cae85f89ea4474b9df419bf7ece391', u'_context_username': None, u'_reply_q': u'reply_2ed2e66394ee4790a2a697770534dc9c', u'_context_show_deleted': False, u'namespace': None, u'_context_is_admin': False, u'version': u'1.0', u'_context_user': None, u'method': u'identify_stack', u'_context_roles': [u'heat_stack_user'], u'_context_auth_url': u'http://127.0.0.1:5000/v2.0', u'args': {u'stack_name': u'overcloud'}, u'_unique_id': u'fc019815be6040c0873737f0e35dd6cd', u'_context_tenant_id': u'b6a0286734e442b1879b63ca001130b7', u'_context_password': '<SANITIZED>', u'_context_trustor_user_id': None, u'_context_aws_creds': u'{"ec2Credentials": {"access": "5f997870818f4d4eb1f82b2b0c0a6eba", "signature": "RVIZb3vzyQfcjMacm1M/muQ2SKJ8h5WaGsV5mTFmRRw="}}', u'_context_tenant': u'admin'} _safe_log /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/common.py:280
2014-10-29 21:13:16.905 5722 DEBUG heat.openstack.common.rpc.amqp [-] unpacked context: {'username': None, 'user_id': u'50cae85f89ea4474b9df419bf7ece391', 'show_deleted': False, 'roles': [u'heat_stack_user'], 'tenant_id': u'b6a0286734e442b1879b63ca001130b7', 'auth_token': '<SANITIZED>', 'trust_id': None, 'is_admin': False, 'user': None, 'request_id': u'req-10b64214-7be1-437b-94f5-5dcdac7bdf23', 'auth_url': u'http://127.0.0.1:5000/v2.0', 'password': '<SANITIZED>', 'aws_creds': u'{"ec2Credentials": {"access": "5f997870818f4d4eb1f82b2b0c0a6eba", "signature": "RVIZb3vzyQfcjMacm1M/muQ2SKJ8h5WaGsV5mTFmRRw="}}', 'tenant': u'admin', 'trustor_user_id': None} _safe_log /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/common.py:280
2014-10-29 21:13:16.914 5722 DEBUG heat.openstack.common.rpc.amqp [req-10b64214-7be1-437b-94f5-5dcdac7bdf23 None] UNIQUE_ID is a7f77ffbbe2f44809f9f0f1cb3018230. _add_unique_id /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/amqp.py:342
2014-10-29 21:13:16.915 5722 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/site-packages/amqp/channel.py:95
2014-10-29 21:13:16.915 5722 DEBUG amqp [-] using channel_id: 1 __init__ /usr/lib/python2.7/site-packages/amqp/channel.py:71
2014-10-29 21:13:16.916 5722 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/site-packages/amqp/channel.py:429
2014-10-29 21:13:16.916 5722 DEBUG heat.openstack.common.rpc.amqp [req-10b64214-7be1-437b-94f5-5dcdac7bdf23 None] UNIQUE_ID is 4dd87ab66aef411c81b6f4ac24832f06. _add_unique_id /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/amqp.py:342
2014-10-29 21:13:16.918 5722 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/site-packages/amqp/channel.py:95
2014-10-29 21:13:16.918 5722 DEBUG amqp [-] using channel_id: 1 __init__ /usr/lib/python2.7/site-packages/amqp/channel.py:71
2014-10-29 21:13:16.919 5722 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/site-packages/amqp/channel.py:429
2014-10-29 21:13:16.921 5722 DEBUG heat.openstack.common.rpc.amqp [-] received {u'_msg_id': u'7fd5901215984b42b136d8317e59899c', u'_context_request_id': u'req-10b64214-7be1-437b-94f5-5dcdac7bdf23', u'_context_trust_id': None, u'_context_auth_token': '<SANITIZED>', u'_context_user_id': u'50cae85f89ea4474b9df419bf7ece391', u'_context_username': None, u'_reply_q': u'reply_2ed2e66394ee4790a2a697770534dc9c', u'_context_show_deleted': False, u'namespace': None, u'_context_is_admin': False, u'version': u'1.0', u'_context_user': None, u'method': u'describe_stack_resource', u'_context_roles': [u'heat_stack_user'], u'_context_auth_url': u'http://127.0.0.1:5000 ...
(more)
2014-10-29 05:19:44 -0500 received badge  Popular Question (source)
2014-10-16 07:25:57 -0500 received badge  Scholar (source)
2014-10-16 07:25:20 -0500 received badge  Notable Question (source)
2014-10-16 07:10:37 -0500 asked a question Overcloud baremetal installation stuck at pxe boot

Hi ,

I followed the link https://openstack.redhat.com/Deployin... , and did a baremetal undercloud/overcloud installation. Before doing the last step of the installation --instack-deploy-overcloud --, I did some change to the /usr/lib/../baremetal/ipmi.py to suit my environment. I could see the nodes rebooting and starting the pxe boot. But the pxeboot shows below and is stuck there forever.

Loading /tftpboot/ece43a73-97e9-4f34-8ac2-47c71dcc8e31/deploy_kernel.......
Loading /tftpboot/ece43a73-97e9-4f34-8ac2-47c71dcc8e31/deploy_ramdisk...........
....................................................

Why is the pxe boot stuck ? Is there some other configuration I need to do to make this successful?Is it because the deploy-kernel and ramdisk image is not suited for my node?

The install-deploy-overcloud exits after the timeout and gives CREATE IN PROGRESS status. Later , when I check the heat status it shows CREATE FAILED. Below is the /var/log/heat/engine.log .

2014-10-16 04:28:15.146 4205 ERROR heat.engine.resource [-] CREATE : Server "NovaCompute0" [ece43a73-97e9-4f34-8ac2-47c71dcc8e31] Stack "overcloud" [45f9393d-d5ae-430d-9a2b-a9267605f17b]
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource Traceback (most recent call last):
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 444, in _do_action
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     while not check(handle_data):
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/server.py", line 545, in check_create_complete
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     return self._check_active(server)
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/server.py", line 550, in _check_active
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     nova_utils.refresh_server(server)
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/nova_utils.py", line 55, in refresh_server
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     server.get()
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/openstack/common/apiclient/base.py", line 479, in get
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     new = self.manager.get(self.id)
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/v1_1/servers.py", line 543, in get
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     return self._get("/servers/%s" % base.getid(server), "server")
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 147, in _get
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     _resp, body = self.api.client.get(url)
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 309, in get
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource     return self._cs_request(url, 'GET', **kwargs)
2014-10-16 04:28:15.146 4205 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/client ...
(more)
2014-10-09 02:42:45 -0500 received badge  Self-Learner (source)
2014-10-09 02:42:45 -0500 received badge  Teacher (source)
2014-10-09 02:40:40 -0500 received badge  Popular Question (source)
2014-10-01 11:49:39 -0500 commented answer heat stack creation for autoscaling fails with StackValidation error

Thank you for pointing out the error. That solved the issue i was facing

2014-10-01 10:18:40 -0500 asked a question heat stack creation for autoscaling fails with StackValidation error

hi,

I am using Icehouse Release on Redhat 7 and trying the autoscaling feature using heat stack.

But the heat stack creation fails with the StackValidation property error ..... not a list

2014-10-01 00:21:25.518 4853 INFO heat.engine.resource [-] creating CeilometerAlarm "cpu_alarm_high" Stack "teststack" [a24239aa-f6b1-46ab-99a4-d32a6e61ed79]
2014-10-01 00:21:25.562 4853 ERROR heat.engine.resource [-] CREATE : CeilometerAlarm "cpu_alarm_high" Stack "teststack" [a24239aa-f6b1-46ab-99a4-d32a6e61ed79]
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource Traceback (most recent call last):
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 436, in _do_action
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource     pre_func()
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/properties.py", line 315, in validate
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource     raise exception.StackValidationFailed(message=msg)
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource StackValidationFailed: Property error : cpu_alarm_high: alarm_actions "u'http://10.3.10.14:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3A39c14a6cec2d44829cfe81a074d28c9b%3Astacks%2Fteststack%2Fa24239aa-f6b1-46ab-99a4-d32a6e61ed79%2Fresources%2Fweb_server_scaleup_policy?Timestamp=2014-10-01T07%3A21%3A24Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=178dd451bf6f49efbd95805ddefe9d40&SignatureVersion=2&Signature=vYv2dbrpYpoh%2FWXtcY2jpamNZHtNLUu94dq%2BnO1na0I%3D'" is not a list
2014-10-01 00:21:25.562 4853 TRACE heat.engine.resource
2014-10-01 00:21:25.601 4853 WARNING heat.engine.service [-] Stack create failed, status FAILED

Below is part of the heat template (taken from the autoscaling.yaml available in github)

  web_server_scaleup_policy:
    type: OS::Heat::ScalingPolicy
    properties:
      adjustment_type: change_in_capacity
      auto_scaling_group_id: { get_resource: web_server_group }
      cooldown: 60
      scaling_adjustment: 1

  web_server_scaledown_policy:
    type: OS::Heat::ScalingPolicy
    properties:
      adjustment_type: change_in_capacity
      auto_scaling_group_id: { get_resource: web_server_group }
      cooldown: 60
      scaling_adjustment: -1

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

When i remove the alarm_actions line from the template file , the heat stack gets created successfully. I am not able to figure out why the stack validation fails for the alarm_url . Am i missing some configuration ?

Thanks geeth