No valid host found when trying to run coreos template through Heat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
New
|
Undecided
|
caowei |
Bug Description
While building and testing this patch:
https:/
I am seeing following error in solum-deployer
"stack": {"parent": null, "disable_rollback": true, "description": "Basic app deploy.\n", "links": [{"href": "http://
log_http_response /opt/stack/
2014-11-06 22:37:52.864 13986 INFO oslo.messaging.
I am seeing this in the vagrant environment, which is from here (https:/
I am using
SOLUM_IMAGE_
NOVADOCKER_
DEVSTACK_
In local.conf.vm, I have:
GLANCE_
NOVA_BRANCH=
HEAT_BRANCH=
HEAT_REPO=https:/
I am using a modified version of coreos.yaml (https:/
#enable_service q-svc
#enable_service q-agt
#enable_service q-dhcp
#enable_service q-l3
#enable_service q-meta
#enable_service neutron
I have also commented out following line in deployer/
#parameters.
Apart from this, there were several bugs that I found in
lib/solum
vm-slug/build-app
(Here is a summary of those)
- lib/solum does not install docker and docker-registry when the SOLUM_IMAGE_FORMAT is set to 'vm'. The code is present though. So don't know why these are not getting installed.
- vm-slug/build-app
- docker ps needs to be changed to sudo docker ps
- LOG_FILE=
Finally, on the devstack host machine I had to manually install 'libguestfs-tools' (sudo apt-get install libguestfs-tools). This should be made part of lib/solum.
Moreover, for this patch to work, we need a glance image named 'coreos'. For that I followed instructions on
https:/
with the glance image-create command as follows:
glance image-create --name coreos --container-format bare --disk-format qcow2 --file coreos_
Changed in solum: | |
assignee: | nobody → Devdatta (devdatta-kulkarni) |
tags: | added: heat solum-infra |
Changed in solum: | |
assignee: | Devdatta Kulkarni (devdatta-kulkarni) → caowei (caowei-e) |
nova boot fails with the following stack trace in n-cond
> sleeping for 60.00 seconds from (pid=26577) _inner /opt/stack/ nova/nova/ openstack/ common/ loopingcall. py:132 utils [req-f48a1224- 526f-4470- 81c6-2e9b342123 f5 demo demo] [instance: 80690e5f- d6bc-447a- a602-b1de5ab579 02] Error from last host: devstack (node devstack): [u'Traceback (most recent call last):\n', u' File "/opt/stack/ nova/nova/ compute/ manager. py", line 2014, in do_build_ and_run_ instance\ n filter_ properties) \n', u' File "/opt/stack/ nova/nova/ compute/ manager. py", line 2149, in _build_ and_run_ instance\ n instance_ uuid=instance. uuid, reason= six.text_ type(e) )\n', u"RescheduledEx ception: Build of instance 80690e5f- d6bc-447a- a602-b1de5ab579 02 was re-scheduled: internal error: process exited while connecting to monitor: Cannot set up guest memory 'pc.ram': Cannot allocate memory\n\n"]
2014-11-07 01:21:34.482 ERROR nova.scheduler.