Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8858869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:55:33+00:00 2026-06-14T14:55:33+00:00

I installed openstack. All services are running successfully. [root@test ~]# nova-manage service list Binary

  • 0

I installed openstack. All services are running successfully.

[root@test ~]# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-cert        localhost.localdomain                nova             enabled    :-)   2012-11-06 04:25:36.396817
nova-scheduler   localhost.localdomain                nova             enabled    :-)   2012-11-06 04:25:41.735192
nova-network     compute                              nova             enabled    :-)   2012-11-06 04:25:42.109157
nova-compute     compute                              nova             enabled    :-)   2012-11-06 04:25:43.240902

After that I change HOSTNAME in /etc/sysconfig/network to myhost.mydomain. Then restart the services.
Now I get the duplicate entry for the services.

[root@test ~]# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-cert        localhost.localdomain                nova             enabled    XXX   2012-11-06 04:25:36.396817
nova-cert        myhost.mydomain                      nova             enabled    :-)   2012-11-06 05:25:36.396817
nova-scheduler   localhost.localdomain                nova             enabled    XXX   2012-11-06 04:25:41.735192
nova-scheduler   myhost.mydomain                      nova             enabled    :-)   2012-11-06 05:25:41.735192
nova-network     compute                              nova             enabled    :-)   2012-11-06 04:25:42.109157
nova-compute     compute                              nova             enabled    :-)   2012-11-06 04:25:43.240902

From these services old services are not running.

I want to remove the services for host localhost.localdomain.

I check the nova-manage service --help but there is no option for the delete :(.

[root@test ~]# nova-manage service --help
--help does not match any options:
        describe_resource
        disable
        enable
        list
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:55:34+00:00Added an answer on June 14, 2026 at 2:55 pm

    Looking at your example above, I suspect you’re seeing a duplicate because you have two hosts with their hostnames set identically. If this is the case, the following code/answer isn’t likely to help you out too much. There’s an implicit assumption in that whole setup that hostnames of nodes upon which nova worker processes run will be unique.

    In the latest branch, there isn’t a command explicitly enabled for this, but the API exists underneath to do what you’re after. Here’s a snippet of code (untested!) that should do what you want; or at least point you to the relevant API if you’re interested.

    from nova import context
    from nova import db
    
    hostname = 'some_hostname'
    service_name = 'nova_service_you_want_to_destroy'
    
    ctxt = context.get_admin_context()
    service = db.service_get_by_args(ctxt, hostname, service_name)
    #... pick one of these services ... 
    #... assign it to 'service'
    db.service_destroy(ctxt, service[id])
    

    NOTE: this will remove the service from the database, or raise an exception if it doesn’t exist (or something else goes wrong). If the service is running, expect that it will just “show up” again, as the service list is populated by the various nova worker agents processes reporting in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Installed SlikSvn on Window 2008 server Created Repository at c:\dia\svn\repos running this windows service
Installed ultisnips successfully with vundle, but it wont load, none of the snippets work.
Installed visual studio 11 beta as wanted to test EF 5 beta but keep
I installed in the past numexpr successfully on many machine. But now I just
I installed Boost with homebrew( brew install boost ) on my Mac running Lion
I want to deploy a private cloud test infrastructure using OpenStack and Jenkins for
Installed rvm gem installed passenger when I try to install passenger-install-apache2-module it gives? root@c2h2crawler:~#
I installed TestDriven.Net after installing NUnit. When in VS, I run all tests, they
i installed https://play.google.com/store/apps/details?id=com.ivona.tts and all their voices. How can i programmatically get list of
installed soapUI 4.5.1 . When i start soapUI it disabled all checkoxes in IE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.