• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Nova-Agent : How it Works on OpenStack Public Cloud

By Abhishek Ghosh October 3, 2014 5:13 pm Updated on October 3, 2014

Nova-Agent : How it Works on OpenStack Public Cloud

Advertisement

This is brief introduction to Nova-Agent, which runs as daemon on OpenStack Public Cloud like Rackspace. If it does not start, dependent services will fail. In previous article, we talked about fixing patching ShellShock Bug, but we have not said that Xen Virtualization had some bugs too, which was so sensitive, globally all including Rackspace Patched and Restarted the Servers. With one level up patching, it is not unlikely to miss nova-agent up and running rightly, or it might get missing after manual upgrade (with apt-get upgrade command) and accepting to replace a particular file. By default we never replace it to avoid this issue on PVHVM instances. This is an article which will partially explain the function of Nova-Agent and How it Works on OpenStack Public Cloud. Without understanding Linux from Kernel level, OpenStack Nova, you should not play on production server.

 

Nova-Agent : How it Works on OpenStack Public Cloud And What Will Happen If It Is Not Running

 

Your server will run like an isolated instance with no API based access to other services, usually the dependent services run but throw error. Services include Cloud Monitoring Tool, Image Backup etc. When we create an instance, automatically this nova-agent gets ready. What is untold, you can stop it incase you want to use the server for simple reason. Because, as it is a daemon, with restart, it will restart and suck some memory. If you run this command, you’ll understand it is there :

Vim
1
2
service nova-agent status
Usage: /etc/init.d/nova-agent {start|stop|restart}

Unfortunately, service nova-agent restart or service nova-agent start will never give you anything worthy. If you do not get any output, the silence will say “I am running but in wrong path”, if get this error “‘import site’ failed; use -v for traceback”, frankly you have been screwed, take file level backup, backup of folders like /etc, because practically on any unix like OS, putting configuration file or other stuffs works fine, provided that, the servers are of same version, same thing. That is why you can run Application on Mac without really dragging to Application folder and that is the primitive cheat to use the paid application forever. The Application gets mounted. So, if you create a storage device, mount it on cloud server and copy all the stuffs, it will work fine as backup. You will unmount it, then troubleshoot. Victor wrote a good guide to easily troubleshoot :

Advertisement

---

Vim
1
https://community.rackspace.com/products/f/25/t/3338

xe-linux-distribution service is provided by xe-guest-utilities package, this runs on all Linux servers on Rackspace Cloud. This is the service which is responsible for communicating Virtual Machine (your device) with the hypervisor (the hardware). How much important this xe-linux-distribution? You can not change the password from Rackspace control panel, you can not use the Rackspace console. xe-linux-distribution must start before the nova-agent service. The upgrade with accepting the fix actually fully FCUKS this order.

It is a huge pain and complicated process to re-install it, that is why Rackspace always provide 100% managed support for Nova-Agent related issues. They will not login to the device in case of Infrastructure Managed instance. I personally think, Rackspace should add a paid add-on service for some works on device by them. Otherwise a noob might hire outsider which is more dangerous for the total environment.

Nova-Agent - How it Works on OpenStack Public Cloud

 

Nova-Agent : How To Fix If It Is Not Running

 

Run this command :

Vim
1
tail /var/log/nova-agent.log

If you have received kind of this error as output :

Vim
1
2
3
4
5
6
7
8
9
10
2014-10-03 16:22:28,888 [ERROR] [EXC]   File "xscomm.py", line 43, in __init__
2014-10-03 16:22:28,888 [ERROR] [EXC] PyXenStoreError: Couldn't open connection to the xenstore: No such file or directory
2014-10-03 16:22:28,889 [ERROR] failed to parse config file '/usr/share/nova-agent/nova-agent.py'
2014-10-03 16:24:47,334 [ERROR] Failed to run python code: A python exception has occurred:
2014-10-03 16:24:47,334 [ERROR] [EXC] Traceback (most recent call last):
2014-10-03 16:24:47,334 [ERROR] [EXC]   File "/usr/share/nova-agent/nova-agent.py", line 40, in <module>
2014-10-03 16:24:47,334 [ERROR] [EXC]     xs = plugins.XSComm()
2014-10-03 16:24:47,334 [ERROR] [EXC]   File "xscomm.py", line 43, in __init__
2014-10-03 16:24:47,334 [ERROR] [EXC] PyXenStoreError: Couldn't open connection to the xenstore: No such file or directory
2014-10-03 16:24:47,334 [ERROR] failed to parse config file '/usr/share/nova-agent/nova-agent.py'

You should thank God. Do this :

Vim
1
cd /usr/share/nova-agent && ls

It will show you a Python script and a version-numbered folder – like 1.39.0. CD there :

Vim
1
cd 1.39.0 && ls

There is a Plugins folder, cd to that folder. The advantage of Open Source is that, you’ll get it here :

Vim
1
https://github.com/rackerlabs/openstack-guest-agents-unix/tree/master/plugins

First make a directory and move the existing files in that. You can use FTP if you want. Next wget the sources from there in Github. Replacing the problem creating files might fix your condition, but this can unfortunately open the ShellShock vulnerability. If the problem is with XenStore, the only way is to reinstall the xe-guest-utilities. It is difficult and honestly Rackspace make it an exception to login to the device and fix it. I myself can not take the risk to do it – it is very difficult, if one step goes wrong, the server which was running, it will die. Citrix has peculiar stuffs.

So, what you will do in case Rackspace’s official on chat help can not make you to execute the things. You should create similar instances and simply build it again, before deleting old instance, rebuild it from original image (to preserve the IP), again re-configure the web server or application server. Although this is painful, this is easier for even the beginner. You kept the files of /etc/ like folder, from it you have to understand what configuration your Nginx server had. It might turn towards good for you.

Tagged With nova agent , nova agent rackspace , paperuri:(562d090ce3b72e78455714010014ddf0) , chez public agent , openstack cloud backup agent and scripts , openstack nova agent , PyXenStoreError: Couldnt open connection to the xenstore: No such file or directory

This Article Has Been Shared 280 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Nova-Agent : How it Works on OpenStack Public Cloud

  • Cloud Computing and Tools as a Service,Testing as a Service (TaaS)

    Cloud Computing and Virtualization has a definite relationship. What is this Tools as a Service or TaaS ? How TaaS works? Who uses and needs this TaaS?

  • Hybrid Cloud Computing – How it Works

    Hybrid Cloud Computing combines local applications with the public cloud. Here are detailed information how hybrid cloud computing model works.

  • Google Cloud Computing Services – List of Free and Paid Cloud Apps

    Google Cloud Computing Services include Cloud Based Apps as free or paid solutions for Enterprise and small to medium Business.

  • Cloud Computing IaaS : Functions and Examples

    Cloud Computing IaaS falls among the three classic divisions of models – IaaS, PaaS and SaaS. Many talks about cloud, but few actually know what they are talking about.

  • Apple Inc. and Cloud Computing

    Apple Inc. and Cloud Computing means growing and always planning to upgrade a separate from the others service, both in execution as well as by technology.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Nova-Agent : How it Works on OpenStack Public Cloud," in The Customize Windows, October 3, 2014, February 1, 2023, https://thecustomizewindows.com/2014/10/nova-agent-works-openstack-public-cloud/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT