Hello, It looks similar on issue, which was discussed here [1] I suppose, that the root cause is incorrect using get_attr for your case. Probably you got "list" instead of "string". F.e. if I do something similar:
outputs: rg_1: value: {get_attr: [rg_a, rg_a_public_ip]} rg_2: value: {get_attr: [rg_a, rg_a_public_ip, 0]} rg_3: value: {get_attr: [rg_a]} rg_4: value: {get_attr: [rg_a, resource.0.rg_a_public_ip]} where rg_a is also resource group which uses custom template as resource. the custom template has output value rg_a_public_ip. The output for it looks like [2] So as you can see, that in first case (like it is used in your example), get_attr returns list with one element. rg_2 is also wrong, because it takes first symbol from sting with IP address. rg_3 - does not work at all (because it's custom template resource) the right way is rg_4, which returns IP address string . [1] https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg77526.html [2] http://paste.openstack.org/show/491587/ On 23 March 2016 at 14:15, Ma, Wen-Tao (Mike, HP Servers-PSC-BJ) < wentao...@hpe.com> wrote: > > > Hi Sergey, > > Here is our tracked logs. we can notice that kube_master resource can > return the output value "kube_master_ip": "10.101.58.117" , but It > can’t get the kube_master_ip value in kube_minions of > *kubecluster-fedora-ironic.yaml.* > > I found about this heat template composition configuration at > https://ask.openstack.org/en/question/56988/get-outputs-from-nested-stack/ > . It is same with us. > > *#heat resource-list --nested-depth 5 cf0e4e53-e703-4d78-b2e3-90c7081c39fe* > > > +-----------------------+--------------------------------------+------------------------------------------------------------------------------------+-----------------+---------------------+-------------------------------------------------------------+ > > | resource_name | physical_resource_id | > resource_type > | resource_status | updated_time | > stack_name | > > > +-----------------------+--------------------------------------+------------------------------------------------------------------------------------+-----------------+---------------------+-------------------------------------------------------------+ > > | kube_master | 65d68ca7-6629-4203-b40b-359f53be8c79 | > OS::Heat::ResourceGroup > | CREATE_COMPLETE | 2016-03-23T18:12:44 | > k8sbay-rzqvufyi24q5 | > > | kube_minions | 9a3d3d0c-104e-4887-9961-f4d6b6dc392f | > OS::Heat::ResourceGroup > | CREATE_FAILED | 2016-03-23T18:12:44 | > k8sbay-rzqvufyi24q5 | > > > +-----------------------+--------------------------------------+------------------------------------------------------------------------------------+-----------------+---------------------+-------------------------------------------------------------+ > > > > *#heat resource-show 65d68ca7-6629-4203-b40b-359f53be8c79 0* > > > +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ > > | Property | > Value > > | > > > +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ > > | attributes | > { > | > > | | "kube_master_external_ip": > "10.101.58.117", > | > > | | "kube_master_ip": "10.101.58.117" > > | > > | | > } > > | > > … > > | resource_status | > CREATE_COMPLETE > | > > > +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ > > > > > > *Here is the three k8s heat yaml file.* > > *kubecluster-fedora-ironic.yaml* > > kube_master: > > type: OS::Heat::ResourceGroup > > properties: > > count: 1 > > resource_def: > > type: kubemaster-fedora-ironic.yaml > > properties: > > ssh_key_name: {get_param: ssh_key_name} > > server_image: {get_param: server_image} > > … > > > > kube_minions: > > type: OS::Heat::ResourceGroup > > depends_on: > > - kube_master > > properties: > > count: {get_param: number_of_minions} > > removal_policies: [{resource_list: {get_param: minions_to_remove}}] > > resource_def: > > type: kubeminion-fedora-ironic.yaml > > properties: > > ssh_key_name: {get_param: ssh_key_name} > > server_image: {get_param: server_image} > > … > > kube_master_ip: {get_attr: [kube_master, > kube_master_ip]} ß kube-minion get kube_master_ip form > kube_master resource. > > > > *kubemaster-fedora-ironic.yaml* > > resources: > > kube_master: > > type: OS::Nova::Server > > properties: > > image: {get_param: server_image} > > flavor: {get_param: master_flavor} > > key_name: {get_param: ssh_key_name} > > networks: > > - network: {get_param: fixed_network} > > user_data_format: RAW > > user_data: {get_resource: kube_master_init} > > outputs: > > kube_master_ip: > > value: {get_attr: [kube_master, networks, sharenet1, 0]} ß The > output value of kube_master_ip. It works. > > > > *kubeminion-fedora-ironic.yaml* > > parameters: > > kube_master_ip: > > type: string > > description: IP address of the Kubernetes master server. > > > > resources: > > write_heat_params: > > type: OS::Heat::SoftwareConfig > > properties: > > group: ungrouped > > config: > > str_replace: > > template: {get_file: fragments/write-heat-params.yaml} > > params: > > $KUBE_ALLOW_PRIV: {get_param: kube_allow_priv} > > $KUBE_MASTER_IP: {get_param: kube_master_ip} > > $WAIT_HANDLE: {get_resource: minion_wait_handle} > > > > > > > > *Here is the traced log in heat engine. It can’t get the kube_master_ip > value at resource kube_minions of kubecluster-fedora-ironic.yaml from the > kubemaster-fedora-ironic.yaml. About the detail logs, pls refer to > attachment.* > > "Current bay status is: CREATE_IN_PROGRESS", > > "Current bay status is: CREATE_FAILED", > > "Magnum bay creating was failed.", > > "+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - + - - > - - - - - - - - - - - - - - - - - +", > > "| > Name | > IP | Server_model | ", > > "+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - + - - > - - - - - - - - - - - - - - - - - +", > > "| > k8-je335tlkev-0-qauies6sqxce-kube_master-7sd5ajc5eckr > | 10.101.58.117 | ProLiant DL360 Gen9 |", > > "+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - + - - > - - - - - - - - - - - - - - - - - +", > > "" > > *h-eng.log* > > 2016-03-22 10:09:20.691 [00;36mINFO heat.engine.stack [[00;36m-[00;36m] > [01;35m[00;36mStack UPDATE COMPLETE > (k8sbay-nqvfa6muxtlr-kube_master-2eje335tlkev): Stack UPDATE completed > successfully[00m > > 2016-03-22 10:09:20.770 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived message msg_id: > a5f220e0b3214c599f3df4ae2bd2ad65 reply to > reply_62852b98e7234d12a839c75da108336c[00m [00;33mfrom (pid=16742) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:193[00m > > 2016-03-22 10:09:20.802 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[01;36mreq-48435263-67d8-4cca-8d10-57cc2c24dd3e [00;36mNone admin[00;32m] > [01;35m[00;32msending reply msg_id: a5f220e0b3214c599f3df4ae2bd2ad65 reply > queue: reply_62852b98e7234d12a839c75da108336c[00m [00;33mfrom (pid=16742) > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:79[00m > > 2016-03-22 10:09:20.835 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived message msg_id: > 6638fcf42f634778a57fbcb38f61a646 reply to > reply_62852b98e7234d12a839c75da108336c[00m [00;33mfrom (pid=16747) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:193[00m > > 2016-03-22 10:09:20.867 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[01;36mreq-dcf69ca8-cd48-4001-9aa3-ee951b4680fd [00;36mNone admin[00;32m] > [01;35m[00;32msending reply msg_id: 6638fcf42f634778a57fbcb38f61a646 reply > queue: reply_62852b98e7234d12a839c75da108336c[00m [00;33mfrom (pid=16747) > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:79[00m > > 2016-03-22 10:09:21.572 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask stack_task from Stack > "k8sbay-nqvfa6muxtlr" [aebd9eb5-79aa-4005-8eab-3e33c9350f06] running[00m > [00;33mfrom (pid=16747) step > /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:21.573 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask resource_action running[00m > [00;33mfrom (pid=16747) step > /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:21.574 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _run_to_completion from ResourceGroup > "kube_master" Stack "k8sbay-nqvfa6muxtlr" > [aebd9eb5-79aa-4005-8eab-3e33c9350f06] running[00m [00;33mfrom (pid=16747) > step /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:21.620 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _run_to_completion from > ResourceGroup "kube_master" Stack "k8sbay-nqvfa6muxtlr" > [aebd9eb5-79aa-4005-8eab-3e33c9350f06] complete[00m [00;33mfrom > (pid=16747) step /opt/stack/heat/heat/engine/scheduler.py:220[00m > *ß[kube_master > stack task has completed]* > > 2016-03-22 10:09:21.675 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask resource_action complete[00m > [00;33mfrom (pid=16747) step > /opt/stack/heat/heat/engine/scheduler.py:220[00m > > 2016-03-22 10:09:21.676 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask resource_action starting[00m > [00;33mfrom (pid=16747) start > /opt/stack/heat/heat/engine/scheduler.py:186[00m > > 2016-03-22 10:09:21.676 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask resource_action running[00m > [00;33mfrom (pid=16747) step > /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:21.680 [00;36mINFO heat.engine.resource [[00;36m-[00;36m] > [01;35m[00;36mcreating ResourceGroup "kube_minions" Stack > "k8sbay-nqvfa6muxtlr" [aebd9eb5-79aa-4005-8eab-3e33c9350f06][00m *<--[It > is starting the kube_minion statck]* > > 2016-03-22 10:09:21.771 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived message msg_id: > d933176f9f504b74aa3bb7e38637889c reply to > reply_898946fd3eca47669101399e72da7c79[00m [00;33mfrom (pid=16745) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:193[00m > > 2016-03-22 10:09:21.803 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[01;36mreq-1d9f8484-b9fa-4f44-bb17-510f98bfefb2 [00;36mNone admin[00;32m] > [01;35m[00;32msending reply msg_id: d933176f9f504b74aa3bb7e38637889c reply > queue: reply_898946fd3eca47669101399e72da7c79[00m [00;33mfrom (pid=16745) > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:79[00m > > 2016-03-22 10:09:21.833 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived message msg_id: > abaed3e8f8ce48c2b5c9c64a68d5cda3 reply to > reply_898946fd3eca47669101399e72da7c79[00m [00;33mfrom (pid=16746) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:193[00m > > 2016-03-22 10:09:21.864 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[01;36mreq-c2edb990-9fe3-49de-9ffa-aec2eaa1d991 [00;36mNone admin[00;32m] > [01;35m[00;32msending reply msg_id: abaed3e8f8ce48c2b5c9c64a68d5cda3 reply > queue: reply_898946fd3eca47669101399e72da7c79[00m [00;33mfrom (pid=16746) > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:79[00m > > 2016-03-22 10:09:22.229 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _run_to_completion from ResourceGroup > "kube_minions" Stack "k8sbay-nqvfa6muxtlr" > [aebd9eb5-79aa-4005-8eab-3e33c9350f06] starting[00m [00;33mfrom (pid=16747) > start /opt/stack/heat/heat/engine/scheduler.py:186[00m > > 2016-03-22 10:09:22.229 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _run_to_completion from ResourceGroup > "kube_minions" Stack "k8sbay-nqvfa6muxtlr" > [aebd9eb5-79aa-4005-8eab-3e33c9350f06] running[00m [00;33mfrom (pid=16747) > step /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:22.244 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mCALL msg_id: > 5ad18e4645fc49c59b6f7be3025d5b21 exchange 'heat' topic 'engine'[00m > [00;33mfrom (pid=16747) _send > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:448[00m > > 2016-03-22 10:09:22.253 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived message msg_id: > 5ad18e4645fc49c59b6f7be3025d5b21 reply to > reply_4ec178bd97a64d5a8680e191df25d840[00m [00;33mfrom (pid=16749) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:193[00m > > 2016-03-22 10:09:22.259 [00;36mINFO heat.engine.service > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;36m] > [01;35m[00;36mCreating stack > k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo[00m > > 2016-03-22 10:09:22.285 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32m<heat.engine.hot.template.HOTemplate20130523 object at > 0x7fa55ac68310>[00m [00;33mfrom (pid=16749) __init__ > /opt/stack/heat/heat/engine/parameter_groups.py:30[00m > > 2016-03-22 10:09:22.285 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32m<heat.engine.hot.parameters.HOTParameters object at > 0x7fa55ad51750>[00m [00;33mfrom (pid=16749) __init__ > /opt/stack/heat/heat/engine/parameter_groups.py:31[00m > > 2016-03-22 10:09:22.285 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32mValidating Parameter Groups.[00m [00;33mfrom (pid=16749) > validate /opt/stack/heat/heat/engine/parameter_groups.py:43[00m > > 2016-03-22 10:09:22.286 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32m['OS::project_id', 'OS::stack_id'][00m [00;33mfrom > (pid=16749) validate /opt/stack/heat/heat/engine/parameter_groups.py:44[00m > > 2016-03-22 10:09:22.328 [00;32mDEBUG heat.engine.stack_lock > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32mEngine b3a899bb-a1b0-4537-afff-eaaee66b5fee acquired lock on > stack c79e96e0-cc93-4e6d-a980-3f3cdbe3cc5e[00m [00;33mfrom (pid=16749) > acquire /opt/stack/heat/heat/engine/stack_lock.py:68[00m > > 2016-03-22 10:09:22.331 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask stack_task from Stack > "k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo" > [c79e96e0-cc93-4e6d-a980-3f3cdbe3cc5e] starting[00m [00;33mfrom (pid=16749) > start /opt/stack/heat/heat/engine/scheduler.py:186[00m > > 2016-03-22 10:09:22.332 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask stack_task from Stack > "k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo" > [c79e96e0-cc93-4e6d-a980-3f3cdbe3cc5e] running[00m [00;33mfrom (pid=16749) > step /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:22.345 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32msending reply msg_id: 5ad18e4645fc49c59b6f7be3025d5b21 reply > queue: reply_4ec178bd97a64d5a8680e191df25d840[00m [00;33mfrom (pid=16749) > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:79[00m > > 2016-03-22 10:09:22.351 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived reply msg_id: > 5ad18e4645fc49c59b6f7be3025d5b21[00m [00;33mfrom (pid=16747) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:294[00m > > 2016-03-22 10:09:22.375 [00;36mINFO heat.engine.stack [[00;36m-[00;36m] > [01;35m[00;36mStack CREATE IN_PROGRESS > (k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo): Stack CREATE started[00m > > 2016-03-22 10:09:22.387 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask stack_task from Stack > "k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo" > [c79e96e0-cc93-4e6d-a980-3f3cdbe3cc5e] complete[00m [00;33mfrom (pid=16749) > step /opt/stack/heat/heat/engine/scheduler.py:220[00m > > 2016-03-22 10:09:22.393 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _check_for_completion starting[00m > [00;33mfrom (pid=16747) start > /opt/stack/heat/heat/engine/scheduler.py:186[00m > > 2016-03-22 10:09:22.394 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _check_for_completion running[00m > [00;33mfrom (pid=16747) step > /opt/stack/heat/heat/engine/scheduler.py:214[00m > > 2016-03-22 10:09:22.424 [00;36mINFO heat.engine.stack [[00;36m-[00;36m] > [01;35m[00;36mStack CREATE COMPLETE > (k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo): Stack CREATE completed > successfully[00m > > 2016-03-22 10:09:22.452 [00;32mDEBUG heat.engine.scheduler > [[00;36m-[00;32m] [01;35m[00;32mTask _check_for_completion complete[00m > [00;33mfrom (pid=16747) step > /opt/stack/heat/heat/engine/scheduler.py:220[00m > > 2016-03-22 10:09:22.473 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mCALL msg_id: > 4de0fee3770b4b51ab56a78a49806f2f exchange 'heat' topic 'engine'[00m > [00;33mfrom (pid=16747) _send > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:448[00m > > 2016-03-22 10:09:22.484 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived message msg_id: > 4de0fee3770b4b51ab56a78a49806f2f reply to > reply_4ec178bd97a64d5a8680e191df25d840[00m [00;33mfrom (pid=16748) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:193[00m > > 2016-03-22 10:09:22.514 [00;36mINFO heat.engine.service > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;36m] > [01;35m[00;36mUpdating stack > k8sbay-nqvfa6muxtlr-kube_minions-l2nmqmnw7xxo[00m > > 2016-03-22 10:09:22.522 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32m<heat.engine.hot.template.HOTemplate20150430 object at > 0x7fa55abcfa10>[00m [00;33mfrom (pid=16748) __init__ > /opt/stack/heat/heat/engine/parameter_groups.py:30[00m > > 2016-03-22 10:09:22.523 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32m<heat.engine.hot.parameters.HOTParameters object at > 0x7fa55ab9c190>[00m [00;33mfrom (pid=16748) __init__ > /opt/stack/heat/heat/engine/parameter_groups.py:31[00m > > 2016-03-22 10:09:22.523 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32mValidating Parameter Groups.[00m [00;33mfrom (pid=16748) > validate /opt/stack/heat/heat/engine/parameter_groups.py:43[00m > > 2016-03-22 10:09:22.523 [00;32mDEBUG heat.engine.parameter_groups > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32m['OS::project_id', 'OS::stack_id'][00m [00;33mfrom > (pid=16748) validate /opt/stack/heat/heat/engine/parameter_groups.py:44[00m > > 2016-03-22 10:09:22.524 [00;36mINFO heat.engine.resource > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;36m] > [01;35m[00;36mValidating > file:///opt/stack/magnum/magnum/templates/kubernetes/kubeminion-fedora-ironic.yaml > "0"[00m > > 2016-03-22 10:09:22.525 [00;32mDEBUG heat.engine.stack > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;*32mProperty error: resources[0].properties.kube_master_ip: > Value must be a string[00m [00;33mfrom (pid=16748) validate > /opt/stack/heat/heat/engine/stack.py:695[00m **ß[ It can get the > kube_master_ip value in kube_minion]* > > 2016-03-22 10:09:22.526 [00;32mDEBUG oslo_messaging.rpc.dispatcher > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32mExpected exception during message handling (Property error: > resources[0].properties.kube_master_ip: Value must be a string)[00m > [00;33mfrom (pid=16748) _dispatch_and_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py:145[00m > > 2016-03-22 10:09:22.568 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[01;36mreq-2c3873b4-6d63-4f9a-90b4-94daa3c2388d [00;36mNone admin[00;32m] > [01;35m[00;32msending reply msg_id: 4de0fee3770b4b51ab56a78a49806f2f reply > queue: reply_4ec178bd97a64d5a8680e191df25d840[00m [00;33mfrom (pid=16748) > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:79[00m > > 2016-03-22 10:09:22.571 [00;32mDEBUG oslo_messaging._drivers.amqpdriver > [[00;36m-[00;32m] [01;35m[00;32mreceived reply msg_id: > 4de0fee3770b4b51ab56a78a49806f2f[00m [00;33mfrom (pid=16747) __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:294[00m > > 2016-03-22 10:09:22.572 [01;31mERROR heat.engine.resources.stack_resource > [[00;36m-[01;31m] [01;35m[01;31mupdate_stack[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00mTraceback (most recent call last): > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/opt/stack/heat/heat/engine/resources/stack_resource.py", line 432, in > update_with_template > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m args) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File "/opt/stack/heat/heat/rpc/client.py", line 263, in > update_stack > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m args=args)) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File "/opt/stack/heat/heat/rpc/client.py", line 60, in call > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m return client.call(ctxt, method, **kwargs) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line > 403, in call > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m return self.prepare().call(ctxt, method, **kwargs) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line > 158, in call > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m retry=self.retry) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line > 90, in _send > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m timeout=timeout, retry=retry) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", > line 464, in send > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m retry=retry) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", > line 455, in _send > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m raise result > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00mStackValidationFailed_Remote: Property error: > resources[0].properties.kube_master_ip: Value must be a string > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00mTraceback (most recent call last): > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File "/opt/stack/heat/heat/common/context.py", line 296, in > wrapped > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m return func(self, ctx, *args, **kwargs) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File "/opt/stack/heat/heat/engine/service.py", line 865, in > update_stack > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m cnxt, current_stack, template, params, files, args) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File "/opt/stack/heat/heat/engine/service.py", line 830, in > _prepare_stack_updates > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m updated_stack.validate() > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File > "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, > in wrapper > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m return f(*args, **kwargs) > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m File "/opt/stack/heat/heat/engine/stack.py", line 696, in > validate > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m raise ex > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00mStackValidationFailed: Property error: > resources[0].properties.kube_master_ip: Value must be a string > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > [01;31m2016-03-22 10:09:22.572 TRACE heat.engine.resources.stack_resource > [01;35m[00m > > 2016-03-22 10:09:22.601 [00;36mINFO heat.engine.resource [[00;36m-[00;36m] > [01;35m[00;36mCREATE: ResourceGroup "kube_minions" > [c79e96e0-cc93-4e6d-a980-3f3cdbe3cc5e] Stack "k8sbay-nqvfa6muxtlr" > [aebd9eb5-79aa-4005-8eab-3e33c9350f06][00m > > > > > > Thanks && Regards > > Mike Ma > > HP Servers Core Platform Software China > > Mobile +86 18610248322 > > Email *wentao...@hp.com <wentao...@hp.com>* > > > > [image: cid:image001.png@01CEE093.A27209C0] > > > -- Regards, Sergey.
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev