unable to redeploy overcloud
Issue
- We managed to deploy overcloud once. However, after doing a heat stack delete, the overcloud deployment failed.
[stack@ospd ~]$ openstack overcloud deploy -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e network-environment.yaml --plan overcloud
The following templates will be written:
/tmp/tmpaeuiRz/puppet/manifests/overcloud_volume.pp
/tmp/tmpaeuiRz/hieradata/object.yaml
/tmp/tmpaeuiRz/puppet/hieradata/common.yaml
/tmp/tmpaeuiRz/provider-Swift-Storage-1.yaml
/tmp/tmpaeuiRz/puppet/controller-config-pacemaker.yaml
/tmp/tmpaeuiRz/provider-Cinder-Storage-1.yaml
/tmp/tmpaeuiRz/provider-Compute-1.yaml
/tmp/tmpaeuiRz/network/noop.yaml
/tmp/tmpaeuiRz/puppet/bootstrap-config.yaml
/tmp/tmpaeuiRz/net-config-bridge.yaml
/tmp/tmpaeuiRz/provider-Ceph-Storage-1.yaml
/tmp/tmpaeuiRz/puppet/controller-post-puppet.yaml
/tmp/tmpaeuiRz/puppet/cinder-storage-puppet.yaml
/tmp/tmpaeuiRz/puppet/manifests/overcloud_cephstorage.pp
/tmp/tmpaeuiRz/puppet/hieradata/object.yaml
/tmp/tmpaeuiRz/puppet/controller-puppet.yaml
/tmp/tmpaeuiRz/puppet/manifests/overcloud_compute.pp
/tmp/tmpaeuiRz/puppet/cinder-storage-post.yaml
/tmp/tmpaeuiRz/puppet/swift-storage-post.yaml
/tmp/tmpaeuiRz/provider-Controller-1.yaml
/tmp/tmpaeuiRz/network/networks.yaml
/tmp/tmpaeuiRz/puppet/hieradata/RedHat.yaml
/tmp/tmpaeuiRz/puppet/manifests/overcloud_object.pp
/tmp/tmpaeuiRz/hieradata/controller.yaml
/tmp/tmpaeuiRz/network/ports/ctlplane_vip.yaml
/tmp/tmpaeuiRz/hieradata/volume.yaml
/tmp/tmpaeuiRz/puppet/compute-post-puppet.yaml
/tmp/tmpaeuiRz/extraconfig/tasks/yum_update.yaml
/tmp/tmpaeuiRz/puppet/swift-storage-puppet.yaml
/tmp/tmpaeuiRz/extraconfig/tasks/yum_update.sh
/tmp/tmpaeuiRz/puppet/swift-devices-and-proxy-config.yaml
/tmp/tmpaeuiRz/network/ports/net_ip_map.yaml
/tmp/tmpaeuiRz/puppet/compute-puppet.yaml
/tmp/tmpaeuiRz/puppet/hieradata/volume.yaml
/tmp/tmpaeuiRz/puppet/ceph-storage-post-puppet.yaml
/tmp/tmpaeuiRz/network/ports/noop.yaml
/tmp/tmpaeuiRz/puppet/extraconfig/pre_deploy/default.yaml
/tmp/tmpaeuiRz/puppet/ceph-storage-puppet.yaml
/tmp/tmpaeuiRz/puppet/hieradata/ceph.yaml
/tmp/tmpaeuiRz/puppet/vip-config.yaml
/tmp/tmpaeuiRz/puppet/hieradata/controller.yaml
/tmp/tmpaeuiRz/plan.yaml
/tmp/tmpaeuiRz/environment.yaml
/tmp/tmpaeuiRz/network/ports/net_ip_list_map.yaml
/tmp/tmpaeuiRz/hieradata/compute.yaml
/tmp/tmpaeuiRz/puppet/hieradata/compute.yaml
/tmp/tmpaeuiRz/hieradata/ceph.yaml
/tmp/tmpaeuiRz/puppet/manifests/overcloud_controller_pacemaker.pp
/tmp/tmpaeuiRz/hieradata/common.yaml
/tmp/tmpaeuiRz/puppet/manifests/ringbuilder.pp
/tmp/tmpaeuiRz/extraconfig/post_deploy/default.yaml
/tmp/tmpaeuiRz/net-config-noop.yaml
/tmp/tmpaeuiRz/puppet/ceph-cluster-config.yaml
/tmp/tmpaeuiRz/firstboot/userdata_default.yaml
/tmp/tmpaeuiRz/puppet/all-nodes-config.yaml
ERROR: openstack ERROR: Value must be valid JSON: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) <
heat-api.log
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/engine/parameters.py", line 398, in __init__
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi self.parsed = self.parse(self.user_value)
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/engine/parameters.py", line 414, in parse
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi raise ValueError(message)
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi ValueError: Value must be valid JSON: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi
2015-08-05 14:45:34.829 1473 TRACE heat.common.wsgi
2015-08-05 14:45:34.831 1473 DEBUG heat.common.serializers [req-fa4aacb3-9838-4818-a879-841f9b2e62e5 admin admin] JSON response : {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "Value must be valid JSON: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)", "traceback": "Traceback (most recent call last):\n\n File \"/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py\", line 142, in _dispatch_and_reply\n executor_callback))\n\n File \"/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py\", line 186, in _dispatch\n executor_callback)\n\n File \"/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py\", line 130, in _do_dispatch\n result = func(ctxt, **new_args)\n\n File \"/usr/lib/python2.7/site-packages/osprofiler/profiler.py\", line 105, in wrapper\n return f(*args, **kwargs)\n\n File \"/usr/lib/python2.7/site-packages/heat/common/context.py\", line 300, in wrapped\n return func(self, ctx, *args, **kwargs)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/service.py\", line 669, in create_stack\n parent_resource_name)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/service.py\", line 574, in _parse_template_and_validate_stack\n **common_params)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/stack.py\", line 146, in __init__\n param_defaults=self.env.param_defaults)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/hot/template.py\", line 192, in parameters\n param_defaults=param_defaults)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 478, in __init__\n user_parameters))\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 476, in <genexpr>\n self.params = dict((p.name,\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 472, in <genexpr>\n user_parameters = (user_parameter(si) for si in\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 466, in user_parameter\n user_params.get(name))\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 201, in __new__\n return ParamClass(name, schema, value)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 398, in __init__\n self.parsed = self.parse(self.user_value)\n\n File \"/usr/lib/python2.7/site-packages/heat/engine/parameters.py\", line 414, in parse\n raise ValueError(message)\n\nValueError: Value must be valid JSON: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)\n", "type": "ValueError"}, "title": "Bad Request"} to_json /usr/lib/python2.7/site-packages/heat/common/serializers.py:42
2015-08-05 14:45:34.832 1473 INFO eventlet.wsgi.server [req-fa4aacb3-9838-4818-a879-841f9b2e62e5 admin admin] 192.168.0.40 - - [05/Aug/2015 14:45:34] "POST /v1/b90e1dc092f5431d8734aacd23c729c0/stacks HTTP/1.1" 400 2839 1.092413
Environment
- Red Hat Open Stack
- Director
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.