You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Glenn Wagner <gl...@shapeblue.com> on 2016/01/04 20:25:39 UTC

Re: Cannot create VPC

Hi,

Could you send us a big section of the log file , before and after the error

Thanks

Glenn Wagner
Senior Consultant, South Africa



M: +27 73 917 4111


[ShapeBlue]<http://www.shapeblue.com>
Glenn Wagner
Senior Consultant       ,       ShapeBlue


d:       | s: +27 21 527 0091<tel:|%20s:%20+27%2021%20527%200091>        |      m:      +27 73 917 4111<tel:+27%2073%20917%204111>

e:      glenn.wagner@shapeblue.com | t: <mailto:glenn.wagner@shapeblue.com%20|%20t:>     |      w:      www.shapeblue.com<http://www.shapeblue.com>

a:      2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 South Africa


[cid:image3c9f62.png@b7e7b1d4.4e889590]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.




________________________________________
From: Matthew M. Gamble <mg...@thoughtfire.ca>
Sent: Wednesday, December 30, 2015 8:44 PM
To: users@cloudstack.apache.org
Subject: Cannot create VPC

When attempting to create a VPC using 4.7 (with the 4.6 system images) under KVM, I’m getting the following error on the agent when it attempts to deploy the virtual router:

{"results":["null - success:
null","null - failed: [INFO] update_config.py :: Processing incoming
file => ip_associations.json[INFO] Processing JSON file
ip_associations.jsonTraceback (most recent call last): File
\"/opt/cloud/bin/update_config.py\", line 140, in <module>
process_file() File \"/opt/cloud/bin/update_config.py\", line 52, in
process_file qf.load(None) File \"/opt/cloud/bin/merge.py\", line
258, in load proc = updateDataBag(self) File
\"/opt/cloud/bin/merge.py\", line 91, in __init__ self.process()
File \"/opt/cloud/bin/merge.py\", line 103, in process dbag =
self.processIP(self.db.getDataBag()) File \"/opt/cloud/bin/merge.py\",
line 190, in processIP dbag = cs_ip.merge(dbag, ip) File
\"/opt/cloud/bin/cs_ip.py\", line 32, in merge ip['device'] = 'eth'
+ str(ip['nic_dev_id'])KeyError:
'nic_dev_id'"],"result":false,"wait":0}},{"com.cloud.agent.api.Answer":
{"result":false,"details":"Stopped by previous
failure","wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"
details":"Stopped by previous failure","wait":0}}] }

Any ideas where to start debugging this problem? It looks like the nic_dev_id isn’t being passed correctly to the VM?


Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> | CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> | CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>