Ask Your Question

MIB's profile - activity

2018-02-14 07:14:23 -0500 asked a question Error creating senlin profile with HEAT yaml

This is the error encountered

Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-packages/cliff/display.py", line 113, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/stack.py", line 183, in take_action stack = client.stacks.create(*fields)['stack'] File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 171, in create data=kwargs, headers=headers) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 317, in request raise exc.from_response(resp) HTTPBadRequest: ERROR: Property error: : resources.profile.properties.type: : Could not find requested endpoint in Service Catalog.

HTTPBadRequest: ERROR: Property error: : resources.profile.properties.type: : Could not find requested endpoint in Service Catalog.

I am able to create prolies, cluster , everything is working perfectly when working directly with senlin.

Issue is when creating heat stack for senlin.

HEAT template used:

heat_template_version: 2016-04-08

description: > This template demostrate how to use senlin resources to create a flexible cluster. parameters: flavor: description: Flavor for the instances to be created. type: string default: 1 image: description: Name or ID of the image to use for the instances. type: string default: cirros key_name: description: Name of an existing key pair to use for the instances. type: string network: description: The network for the instances. type: string default: private

resources: profile: type: OS::Senlin::Profile properties: type: os.nova.server-1.0 properties: flavor: {get_param: flavor} image: {get_param: image} key_name: {get_param: key_name} networks: - network: {get_param: network}

cluster: type: OS::Senlin::Cluster properties: desired_capacity: 1 profile: {get_resource: profile}

scale_in_policy: type: OS::Senlin::Policy properties: type: senlin.policy.scaling-1.0 bindings: - cluster: {get_resource: cluster} properties: event: CLUSTER_SCALE_IN adjustment: type: CHANGE_IN_CAPACITY number: 1

scale_out_policy: type: OS::Senlin::Policy properties: type: senlin.policy.scaling-1.0 bindings: - cluster: {get_resource: cluster} properties: event: CLUSTER_SCALE_OUT adjustment: type: CHANGE_IN_CAPACITY number: 1

receiver_scale_out: type: OS::Senlin::Receiver properties: cluster: {get_resource: cluster} action: CLUSTER_SCALE_OUT type: webhook

receiver_scale_in: type: OS::Senlin::Receiver properties: cluster: {get_resource: cluster} action: CLUSTER_SCALE_IN type: webhook

outputs: webhook_scale_out: description: Webhook to scale out cluster. value: str_replace: template: curl -X POST LINK params: LINK: {get_attr: [receiver_scale_out, channel, alarm_url]}

webhook_scale_in: description: Webhook to scale in cluster. value: str_replace: template: curl -X POST LINK params: LINK: {get_attr: [receiver_scale_in, channel, alarm_url]}

Thanks in advance.

2017-12-09 11:49:20 -0500 received badge  Famous Question (source)
2017-10-26 15:25:26 -0500 received badge  Notable Question (source)
2017-08-14 06:15:33 -0500 received badge  Famous Question (source)
2017-08-14 06:15:33 -0500 received badge  Notable Question (source)
2017-08-10 01:07:24 -0500 received badge  Popular Question (source)
2017-08-09 08:23:48 -0500 asked a question Aodh unable to notify scalingpolicy

We have setup openstack ocata metering with ceilometer, gnocchi and aodh with sql backend.

Alarm is getting information as well as chaning state to ok and alarm from insufficient data but aodh throws following error unable to call scalingpolicy

2017-08-08 18:37:47.496 18723 ERROR aodh.notifier File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier authenticated=False, log=False, *rkwargs) 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 545, in post 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier return self.request(url, 'POST', *kwargs) 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier return wrapped(args, *kwargs) 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 445, in request 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier raise exceptions.from_response(resp, method, url) 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier BadRequest: Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-97db3b38-0edc-4353-82f9-c27dfc27a53b) 2017-08-08 18:37:47.496 18723 ERROR aodh.notifier

2017-08-09 18:43:02.748 11650 ERROR aodh.notifier [-] Unable to notify alarm 7b6c6544-5d33-484d-8eed-5ab8c58148ea

Thanks a ton in advance....

2017-08-08 02:33:09 -0500 received badge  Enthusiast
2017-08-06 00:32:20 -0500 received badge  Popular Question (source)
2017-08-04 09:27:59 -0500 asked a question HP3par cinder issue

ERROR oslo_messaging.rpc.server ImageCopyFailure: Failed to copy image to volume: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'wwpns'

I am able to create and attach raw volume but unable to create volume of image or either boot from volume

2016-10-06 17:24:07 -0500 received badge  Famous Question (source)
2016-05-30 02:24:37 -0500 commented answer vxlan peers not being created (mitaka openvswitch agent native driver)

Hope you tired below command after making changes in /etc/..../ml2_config.ini

su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf \ --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron

2016-05-30 02:17:49 -0500 answered a question should hostname be unique in multi-compute-nodes environment?

please make sure you have set hostname & /etc/hosts entries properly .

2016-05-27 02:42:24 -0500 answered a question vxlan peers not being created (mitaka openvswitch agent native driver)

Try below conifg : to enable l2 population.

ml2_conf.ini

[ml2]

type_drivers = vxlan

tenant_network_types = vxlan

mechanism_drivers = openvswitch,l2population

2015-11-07 02:15:54 -0500 received badge  Teacher (source)
2015-10-30 20:02:34 -0500 answered a question No valid host was found. There are not enough hosts available.

please check neutron log as-well.

2015-10-30 20:00:01 -0500 answered a question how to deploy access control policy in openstack?

Hi,

may be this will help you : http://adam.younglogic.com/2013/11/policy-enforcement-openstack/ (http://adam.younglogic.com/2013/11/po...)

2015-10-30 19:54:14 -0500 answered a question how to attach openstack dash-board ip address to public ip address?

Hi,

Why don't you do a NAT with your current 192.168.10.3 IP.

2015-10-30 19:30:53 -0500 answered a question Kilo: error creating instance "no valid host was found"

Hi,

/var/log/nova/nova-scheduler.log <== 2015-10-20 15:43:23.716 5562 INFO nova.filters [req-d9687407-cac9-4e06-ad9f-150556b4a091 dfc50be8006046e3ab65518f66bec5d2 530d7c96bb954607a0cbf819faf8d796 - - -] Filter RetryFilter returned 0 hosts

Nova scheduler is unable to select appropriate host, reason couldn't be just nova issue sometime even if neutron is not config properly you may get this issue.

Check your neutron logs as-well.

2015-10-30 19:25:57 -0500 answered a question Image too large for a given flavor

Hi,

While creating custom CentOS image how much disk have you allocated.Create a new flavour with same amount of disk may be little more that will solve your problem.

2015-10-30 19:22:18 -0500 answered a question List of availability zones in horizon

Hi,

Availability zones are shown in Host Aggregates tabs of Admin under System.

2015-10-30 19:16:56 -0500 answered a question Is there a way to create domains in keystone via the openstack command line?

Hi,

Domains,Project & Users works with keystone Identity Version 3.0. If you have configured keystone Identity Version 2 domains creation will not be available.

2015-10-30 19:13:08 -0500 answered a question Install openstack but it don't have Network Tab ?

Hi,

By default devstack installs openstack with nova-network ( traditional networking / flat networking ) . You need to explicitly enable neutron service & disable nova-network in your answer file.

Sample File: [[local|localrc]] HOST_IP=172.22.28.204

Interface connected to switch

FLAT_INTERFACE=eth1

Logging settings

LOGDAYS=1 LOGFILE=$DEST/logs/stack.sh.log SCREEN_LOGDIR=$DEST/logs/screen

Passwords and token

ADMIN_PASSWORD=admin DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=token

Clean up on every restart

RECLONE=yes

Fixed and floating subnets

FIXED_RANGE=10.254.1.0/24 NETWORK_GATEWAY=10.254.1.1

Disable Nova Networking and enable Neutron

disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service neutron

Turn on ML2

Q_PLUGIN=ml2

Allow tenants to create vlans?

ENABLE_TENANT_VLANS=True TENANT_VLAN_RANGE=1100:2999

these are needed fo VLANs for tenants to connect to physical switch

PHYSICAL_NETWORK=default OVS_PHYSICAL_BRIDGE=br-eth1

2015-10-30 19:05:18 -0500 answered a question Minimum system reqirements to install openstack

Hi,

Install VMware workstation or virtual box on your machine and create a vm of 2cpu(even 1 cpu will work) & 4 gb ram(even 2 gb/1gb will work).

2015-10-30 19:00:28 -0500 answered a question Multiple instances of Neutron

Hi, Yes you can run multiple instance of neutron service on multiple node.

On multiple controller node install neutron-server,on multiple neutron node install l3-agent,dhcp-agent,openvswitch-plugin agent,metadata agent.

Enable below parameters in neutron.conf

allow_automatic_l3agent_failover = True //this one only control node configuration on the line, the remaining node does not need

l3_ha = True

max_l3_agents_per_router = 3

min_l3_agents_per_router = 2 //here based on the actual number of agent to write L3

dhcp_agents_per_network = 2 //here dhcp agent based on the actual number to write

2015-10-30 18:54:03 -0500 answered a question No root disk found when installing on a new instance, what logs do I need to look at?

HI,

Please create a new Flavours with both root disk as well as Ephemeral Disk , your root disk is being used by your iso/optical drive hence no disk found.

For best practices please create a vm on hypervisor & upload disk via glance.

2015-05-16 16:02:44 -0500 received badge  Notable Question (source)
2014-12-09 09:35:15 -0500 received badge  Popular Question (source)