Revision history [back]

click to hide/show revision 1
initial version

sahara cluster_create errors with "ERROR: Unknown Property replacement_policy"

When creating the test cluster as defined here: http://docs.openstack.org/developer/sahara/devref/quickstart.html

I followed the directions posted here except for adding the floating_ip_pool to the node templates and the neutron_management_network to the cluster config. Any help on the direction I should be looking for what provides "replacement_policy" is greatly appreciated. This install is done from pip. I will also attach the sahara.conf after the stack trace.

2014-11-16 04:30:39.622 10715 INFO sahara.cli.sahara_all [-] 10.60.208.32 - - [16/Nov/2014 04:30:39] "POST /v1.1/3d1c94c86ff44a5f96d0a3ff068070ed/clusters HTTP/1.1" 202 2157 2.413499

2014-11-16 04:30:40.022 10715 INFO sahara.utils.general [-] Cluster status has been changed: id=974b641a-83c0-4eac-8865-8628a229834d, New status=InfraUpdating

2014-11-16 04:30:40.256 10715 INFO sahara.utils.general [-] Cluster status has been changed: id=974b641a-83c0-4eac-8865-8628a229834d, New status=Spawning

2014-11-16 04:30:40.394 10715 ERROR sahara.service.ops [-] Error during operating cluster 'shadoop' (reason: ERROR: Unknown Property replacement_policy)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops Traceback (most recent call last):

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 113, in wrapper

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops f(cluster_id, args, *kwds)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 198, in _provision_cluster

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops INFRA.create_cluster(cluster)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/heat_engine.py", line 57, in create_cluster

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops launcher.launch_instances(cluster, target_count)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/heat_engine.py", line 208, in launch_instances

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops disable_rollback=self.DISABLE_ROLLBACK)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/utils/openstack/heat.py", line 131, in instantiate

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops heat.stacks.create(**kwargs)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 119, in create

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops data=kwargs, headers=headers)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/heatclient/common/http.py", line 254, in json_request

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops resp = self._http_request(url, method, **kwargs)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/heatclient/common/http.py", line 209, in _http_request

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops raise exc.from_response(resp)

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops HTTPBadRequest: ERROR: Unknown Property replacement_policy

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops

2014-11-16 04:30:40.436 10715 INFO sahara.service.heat_engine [-] Cluster 'shadoop' creation rollback (reason: ERROR: Unknown Property replacement_policy)

sahara.conf:

[DEFAULT]

host=0.0.0.0

use_floating_ips=true

use_neutron=true

use_namespaces=true

rpc_backend = rabbit

rabbit_host=10.160.3.24

rabbit_port=5672

rabbit_userid=guest

rabbit_password=guest

rabbit_virtual_host=/

verbose=true

log_file=sahara.log

log_dir=/var/log/sahara/

plugins=vanilla,hdp,spark

infrastructure_engine=heat

[database]

connection=mysql://sahara:sahara@10.160.3.24/sahara

[keystone_authtoken]

auth_uri=http://10.160.3.24:5000/v2.0/

identity_uri=http://10.160.3.24:35357/

admin_user=nova

admin_password=NOVA_PASS

admin_tenant_name=service

click to hide/show revision 2
No.2 Revision

sahara cluster_create errors with "ERROR: Unknown Property replacement_policy"

When creating the test cluster as defined here: http://docs.openstack.org/developer/sahara/devref/quickstart.html

I followed the directions posted here except for adding the floating_ip_pool to the node templates and the neutron_management_network to the cluster config. Any help on the direction I should be looking for what provides "replacement_policy" is greatly appreciated. This install is done from pip. I will also attach the sahara.conf after the stack trace.

2014-11-16 04:30:39.622 10715 INFO sahara.cli.sahara_all [-] 10.60.208.32 - - [16/Nov/2014 04:30:39] "POST /v1.1/3d1c94c86ff44a5f96d0a3ff068070ed/clusters HTTP/1.1" 202 2157 2.413499

2.413499 2014-11-16 04:30:40.022 10715 INFO sahara.utils.general [-] Cluster status has been changed: id=974b641a-83c0-4eac-8865-8628a229834d, New status=InfraUpdating

status=InfraUpdating 2014-11-16 04:30:40.256 10715 INFO sahara.utils.general [-] Cluster status has been changed: id=974b641a-83c0-4eac-8865-8628a229834d, New status=Spawning

status=Spawning 2014-11-16 04:30:40.394 10715 ERROR sahara.service.ops [-] Error during operating cluster 'shadoop' (reason: ERROR: Unknown Property replacement_policy)

replacement_policy) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops Traceback (most recent call last):

last): 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 113, in wrapper

wrapper 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops f(cluster_id, args, *kwds)

*args, **kwds) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 198, in _provision_cluster

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops INFRA.create_cluster(cluster)

_provision_cluster 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops INFRA.create_cluster(cluster) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/heat_engine.py", line 57, in create_cluster

create_cluster 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops launcher.launch_instances(cluster, target_count)

target_count) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/service/heat_engine.py", line 208, in launch_instances

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops disable_rollback=self.DISABLE_ROLLBACK)

launch_instances 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops disable_rollback=self.DISABLE_ROLLBACK) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/sahara/utils/openstack/heat.py", line 131, in instantiate

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops heat.stacks.create(**kwargs)

instantiate 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops heat.stacks.create(**kwargs) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 119, in create

create 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops data=kwargs, headers=headers)

headers=headers) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/heatclient/common/http.py", line 254, in json_request

json_request 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops resp = self._http_request(url, method, **kwargs)

**kwargs) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops File "/root/sahara-venv/local/lib/python2.7/site-packages/heatclient/common/http.py", line 209, in _http_request

_http_request 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops raise exc.from_response(resp)

exc.from_response(resp) 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops HTTPBadRequest: ERROR: Unknown Property replacement_policy

2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops

replacement_policy 2014-11-16 04:30:40.394 10715 TRACE sahara.service.ops 2014-11-16 04:30:40.436 10715 INFO sahara.service.heat_engine [-] Cluster 'shadoop' creation rollback (reason: ERROR: Unknown Property replacement_policy)

replacement_policy)

sahara.conf:

[DEFAULT]

host=0.0.0.0

use_floating_ips=true

use_neutron=true

use_namespaces=true

[DEFAULT]

host=0.0.0.0

use_floating_ips=true

use_neutron=true

use_namespaces=true

rpc_backend = rabbit

rabbit_host=10.160.3.24

rabbit_port=5672

rabbit_userid=guest

rabbit_password=guest

rabbit_virtual_host=/

verbose=true

log_file=sahara.log

log_dir=/var/log/sahara/

plugins=vanilla,hdp,spark

infrastructure_engine=heat

[database]

connection=mysql://sahara:sahara@10.160.3.24/sahara

[keystone_authtoken]

auth_uri=http://10.160.3.24:5000/v2.0/

identity_uri=http://10.160.3.24:35357/

admin_user=nova

admin_password=NOVA_PASS

admin_tenant_name=service

rabbit rabbit_host=10.160.3.24 rabbit_port=5672 rabbit_userid=guest rabbit_password=guest rabbit_virtual_host=/ verbose=true log_file=sahara.log log_dir=/var/log/sahara/ plugins=vanilla,hdp,spark infrastructure_engine=heat [database] connection=mysql://sahara:sahara@10.160.3.24/sahara [keystone_authtoken] auth_uri=http://10.160.3.24:5000/v2.0/ identity_uri=http://10.160.3.24:35357/ admin_user=nova admin_password=NOVA_PASS admin_tenant_name=service