{"id":802,"date":"2016-10-06T17:16:14","date_gmt":"2016-10-06T16:16:14","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=802"},"modified":"2016-10-06T17:16:14","modified_gmt":"2016-10-06T16:16:14","slug":"rackspace-cloud-server-not-coming-building","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/10\/06\/rackspace-cloud-server-not-coming-building\/","title":{"rendered":"Rackspace Cloud Server not coming up after building it"},"content":{"rendered":"<p>So! Perhaps you&#8217;ve read my article on nova-agent , the common cause of this issue? If you haven&#8217;t you should since it covers out well the importance of nova-agent. <\/p>\n<p>However, nova-agent itself also comes unstuck if the machine nova-agent is installed on is missing the xe-linux-distribution service, this service is provided by the package xe-guest-utilities and can be installed by yourselves, in the case that installing\/ ensuring nova-agent starts on boot does not fix your issues.<\/p>\n<p>Specifically if your nova-agent log provides you this message, you know you need to install the xe-guest-utilities. Simplies!<\/p>\n<h2> Problem <\/h2>\n<pre>\r\n# cat \/var\/log\/nova-agent.log\r\n\r\n2016-10-06 18:58:14,696 [ERROR] [EXC] Traceback (most recent call last):\r\n2016-10-06 18:58:14,697 [ERROR] [EXC]   File \"\/usr\/share\/nova-agent\/nova-agent.py\", line 40, in <module>\r\n2016-10-06 18:58:14,697 [ERROR] [EXC]     xs = plugins.XSComm()\r\n2016-10-06 18:58:14,697 [ERROR] [EXC]   File \"\/usr\/share\/nova-agent\/1.39.0\/plugins\/xscomm.py\", line 43, in __init__\r\n2016-10-06 18:58:14,697 [ERROR] [EXC]     self.xs_handle = pyxenstore.Handle()\r\n2016-10-06 18:58:14,700 [ERROR] [EXC] PyXenStoreError: Couldn't open connection to the xenstore: No such file or directory\r\n2016-10-06 18:58:14,701 [ERROR] failed to parse config file '\/usr\/share\/nova-agent\/nova-agent.py'\r\n<\/pre>\n<h2> Solution <\/h2>\n<pre>\r\n# Redhat and CentOS systems\r\nyum install xe-guest-utilities\r\n\r\n# Debian, Ubuntu and other apt based systems\r\napt-get install xe-guest-utilities\r\n<\/pre>\n<p>I hope that this is of some assistance, here is some more background information. <\/p>\n<h2> More details about nova-agent and xe-guest-utilities in Xen <\/h2>\n<p>Provided that you have definitely enabled nova-agent, and ensured that it is running (after restarting the original server), with ps auxfwww | grep nova-agent <\/p>\n<p>then, you should be good to re-image the original server, and then rebuild out the second. <\/p>\n<p>The reason why your server doesn&#8217;t appear to be coming up in the new build is for some reason, nova-agent service got disabled on boot-time, and as a result, the nova-agent service responsible for swapping out the network configuration of your cloud-server wasn&#8217;t started up when the server was built, and the automatic ip configuration change didn&#8217;t occur. This explains well the behaviour you&#8217;ve been seeing, and after looking in the backend the error code seems to confirm that the issue was that the nova-agent wasn&#8217;t running. <\/p>\n<p>Provided that you&#8217;ve definitely installed nova-agent and confirmed it is running, as well as made sure it starts at boot time, as in the article I wrote, you should be good.<\/p>\n<p>I hope that this explanation and clarification meets you well.<\/p>\n<p>I can see that you&#8217;ve recently posted an additional issue that has been experienced with xe-linux-distribution (the cause of the PyXenStoreError). This secondary cause of the issue can be fixed by ensuring xe-linux-distribution is installed;<\/p>\n<p>apt-get update;<br \/>\napt-get install xe-guest-utilities<\/p>\n<p>This should install the xen guest tools as required by nova-agent. This is required by the nova-agent in order for the networking data to be retrieved by nova-agent, whereas nova-agent itself applies the change, but these services both need to be running and installed for this to work properly!<\/p>\n<p>I really hope that this is of some assistance ,of course if you have additional questions, comments or concerns please don&#8217;t hesitate to write back, and we can escalate this issue further for you. These instructions should fix your issues though! I hope this helps &#038;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So! Perhaps you&#8217;ve read my article on nova-agent , the common cause of this issue? If you haven&#8217;t you should since it covers out well the importance of nova-agent. However, nova-agent itself also comes unstuck if the machine nova-agent is &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/10\/06\/rackspace-cloud-server-not-coming-building\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/802\/revisions\/803"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}