<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.openstack.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Larry+Yang</id>
		<title>OpenStack - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.openstack.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Larry+Yang"/>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/wiki/Special:Contributions/Larry_Yang"/>
		<updated>2026-07-08T20:37:03Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=NovaManage&amp;diff=35319</id>
		<title>NovaManage</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=NovaManage&amp;diff=35319"/>
				<updated>2013-11-14T03:17:31Z</updated>
		
		<summary type="html">&lt;p&gt;Larry Yang: /* List fixed IPs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= nova-manage =&lt;br /&gt;
&lt;br /&gt;
The ''nova-manage'' isn't properly documented, but it's going away in Folsom, so using this wiki page for quick docs on it.&lt;br /&gt;
&lt;br /&gt;
It must be run as root, since it needs read access to /etc/nova/nova.conf&lt;br /&gt;
&lt;br /&gt;
=== Check status of nova services ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
nova-manage service list&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List hosts (physical nodes) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
nova-manage host list&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List fixed IPs ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
nova-manage fixed list&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= man page =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;#!rst&lt;br /&gt;
SYNOPSIS&lt;br /&gt;
========&lt;br /&gt;
&lt;br /&gt;
  nova-manage &amp;lt;category&amp;gt; &amp;lt;action&amp;gt; [&amp;lt;args&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
===========&lt;br /&gt;
&lt;br /&gt;
nova-manage controls cloud computing instances by managing nova users, nova projects, nova roles, shell selection, vpn connections, and floating IP address configuration. More information about OpenStack Nova is at http://nova.openstack.org.&lt;br /&gt;
&lt;br /&gt;
OPTIONS&lt;br /&gt;
=======&lt;br /&gt;
&lt;br /&gt;
The standard pattern for executing a nova-manage command is:&lt;br /&gt;
``nova-manage &amp;lt;category&amp;gt; &amp;lt;command&amp;gt; [&amp;lt;args&amp;gt;]``&lt;br /&gt;
&lt;br /&gt;
For example, to obtain a list of all projects:&lt;br /&gt;
``nova-manage project list``&lt;br /&gt;
&lt;br /&gt;
Run without arguments to see a list of available command categories:&lt;br /&gt;
``nova-manage``&lt;br /&gt;
&lt;br /&gt;
Categories are user, project, role, shell, vpn, and floating. Detailed descriptions are below.&lt;br /&gt;
&lt;br /&gt;
You can also run with a category argument such as user to see a list of all commands in that category:&lt;br /&gt;
``nova-manage user``&lt;br /&gt;
&lt;br /&gt;
These sections describe the available categories and arguments for nova-manage.&lt;br /&gt;
&lt;br /&gt;
Nova Db&lt;br /&gt;
~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage db version``&lt;br /&gt;
&lt;br /&gt;
    Print the current database version.&lt;br /&gt;
&lt;br /&gt;
``nova-manage db sync``&lt;br /&gt;
&lt;br /&gt;
    Sync the database up to the most recent version. This is the standard way to create the db as well.&lt;br /&gt;
&lt;br /&gt;
Nova User&lt;br /&gt;
~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage user admin &amp;lt;username&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Create an admin user with the name &amp;lt;username&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
``nova-manage user create &amp;lt;username&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Create a normal user with the name &amp;lt;username&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
``nova-manage user delete &amp;lt;username&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Delete the user with the name &amp;lt;username&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
``nova-manage user exports &amp;lt;username&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Outputs a list of access key and secret keys for user to the screen&lt;br /&gt;
&lt;br /&gt;
``nova-manage user list``&lt;br /&gt;
&lt;br /&gt;
    Outputs a list of all the user names to the screen.&lt;br /&gt;
&lt;br /&gt;
``nova-manage user modify &amp;lt;accesskey&amp;gt; &amp;lt;secretkey&amp;gt; &amp;lt;admin?T/F&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Updates the indicated user keys, indicating with T or F if the user is an admin user. Leave any argument blank if you do not want to update it.&lt;br /&gt;
&lt;br /&gt;
Nova Project&lt;br /&gt;
~~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage project add &amp;lt;projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Add a nova project with the name &amp;lt;projectname&amp;gt; to the database.&lt;br /&gt;
&lt;br /&gt;
``nova-manage project create &amp;lt;projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Create a new nova project with the name &amp;lt;projectname&amp;gt; (you still need to do nova-manage project add &amp;lt;projectname&amp;gt; to add it to the database).&lt;br /&gt;
&lt;br /&gt;
``nova-manage project delete &amp;lt;projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Delete a nova project with the name &amp;lt;projectname&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
``nova-manage project environment &amp;lt;projectname&amp;gt; &amp;lt;username&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Exports environment variables for the named project to a file named novarc.&lt;br /&gt;
&lt;br /&gt;
``nova-manage project list``&lt;br /&gt;
&lt;br /&gt;
    Outputs a list of all the projects to the screen.&lt;br /&gt;
&lt;br /&gt;
``nova-manage project quota &amp;lt;projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Outputs the size and specs of the project's instances including gigabytes, instances, floating IPs, volumes, and cores.&lt;br /&gt;
&lt;br /&gt;
``nova-manage project remove &amp;lt;projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Deletes the project with the name &amp;lt;projectname&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
``nova-manage project zipfile``&lt;br /&gt;
&lt;br /&gt;
    Compresses all related files for a created project into a zip file nova.zip.&lt;br /&gt;
&lt;br /&gt;
Nova Role&lt;br /&gt;
~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage role add &amp;lt;username&amp;gt; &amp;lt;rolename&amp;gt; &amp;lt;(optional) projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Add a user to either a global or project-based role with the indicated &amp;lt;rolename&amp;gt; assigned to the named user. Role names can be one of the following five roles: cloudadmin, itsec, sysadmin, netadmin, developer. If you add the project name as the last argument then the role is assigned just for that project, otherwise the user is assigned the named role for all projects.&lt;br /&gt;
&lt;br /&gt;
``nova-manage role has &amp;lt;username&amp;gt; &amp;lt;projectname&amp;gt;``&lt;br /&gt;
    Checks the user or project and responds with True if the user has a global role with a particular project.&lt;br /&gt;
&lt;br /&gt;
``nova-manage role remove &amp;lt;username&amp;gt; &amp;lt;rolename&amp;gt;``&lt;br /&gt;
    Remove the indicated role from the user.&lt;br /&gt;
&lt;br /&gt;
Nova Logs&lt;br /&gt;
~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage logs errors``&lt;br /&gt;
&lt;br /&gt;
    Displays nova errors from log files.&lt;br /&gt;
&lt;br /&gt;
``nova-manage logs syslog &amp;lt;number&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Displays nova alerts from syslog.&lt;br /&gt;
&lt;br /&gt;
Nova Shell&lt;br /&gt;
~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage shell bpython``&lt;br /&gt;
&lt;br /&gt;
    Starts a new bpython shell.&lt;br /&gt;
&lt;br /&gt;
``nova-manage shell ipython``&lt;br /&gt;
&lt;br /&gt;
    Starts a new ipython shell.&lt;br /&gt;
&lt;br /&gt;
``nova-manage shell python``&lt;br /&gt;
&lt;br /&gt;
    Starts a new python shell.&lt;br /&gt;
&lt;br /&gt;
``nova-manage shell run``&lt;br /&gt;
&lt;br /&gt;
    Starts a new shell using python.&lt;br /&gt;
&lt;br /&gt;
``nova-manage shell script &amp;lt;path/scriptname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Runs the named script from the specified path with flags set.&lt;br /&gt;
&lt;br /&gt;
Nova VPN&lt;br /&gt;
~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage vpn list``&lt;br /&gt;
&lt;br /&gt;
    Displays a list of projects, their IP prot numbers, and what state they're in.&lt;br /&gt;
&lt;br /&gt;
``nova-manage vpn run &amp;lt;projectname&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Starts the VPN for the named project.&lt;br /&gt;
&lt;br /&gt;
``nova-manage vpn spawn``&lt;br /&gt;
&lt;br /&gt;
    Runs all VPNs.&lt;br /&gt;
&lt;br /&gt;
Nova Floating IPs&lt;br /&gt;
~~~~~~~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage floating create &amp;lt;ip_range&amp;gt; [--pool &amp;lt;pool&amp;gt;] [--interface &amp;lt;interface&amp;gt;]``&lt;br /&gt;
&lt;br /&gt;
    Creates floating IP addresses for the given range, optionally specifying&lt;br /&gt;
    a floating pool and a network interface.&lt;br /&gt;
&lt;br /&gt;
``nova-manage floating delete &amp;lt;ip_range&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Deletes floating IP addresses in the range given.&lt;br /&gt;
&lt;br /&gt;
``nova-manage floating list``&lt;br /&gt;
&lt;br /&gt;
    Displays a list of all floating IP addresses.&lt;br /&gt;
&lt;br /&gt;
Nova Flavor&lt;br /&gt;
~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage flavor list``&lt;br /&gt;
&lt;br /&gt;
    Outputs a list of all active flavors to the screen.&lt;br /&gt;
&lt;br /&gt;
``nova-manage flavor list --all``&lt;br /&gt;
&lt;br /&gt;
    Outputs a list of all flavors (active and inactive) to the screen.&lt;br /&gt;
&lt;br /&gt;
``nova-manage flavor create &amp;lt;name&amp;gt; &amp;lt;memory&amp;gt; &amp;lt;vCPU&amp;gt; &amp;lt;local_storage&amp;gt; &amp;lt;flavorID&amp;gt; &amp;lt;(optional) swap&amp;gt; &amp;lt;(optional) RXTX Quota&amp;gt; &amp;lt;(optional) RXTX Cap&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    creates a flavor with the following positional arguments:&lt;br /&gt;
     * memory (expressed in megabytes)&lt;br /&gt;
     * vcpu(s) (integer)&lt;br /&gt;
     * local storage (expressed in gigabytes)&lt;br /&gt;
     * flavorid (unique integer)&lt;br /&gt;
     * swap space (expressed in megabytes, defaults to zero, optional)&lt;br /&gt;
     * RXTX quotas (expressed in gigabytes, defaults to zero, optional)&lt;br /&gt;
     * RXTX cap (expressed in gigabytes, defaults to zero, optional)&lt;br /&gt;
&lt;br /&gt;
``nova-manage flavor delete &amp;lt;name&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Delete the flavor with the name &amp;lt;name&amp;gt;. This marks the flavor as inactive and cannot be launched. However, the record stays in the database for archival and billing purposes.&lt;br /&gt;
&lt;br /&gt;
``nova-manage flavor delete &amp;lt;name&amp;gt; --purge``&lt;br /&gt;
&lt;br /&gt;
    Purges the flavor with the name &amp;lt;name&amp;gt;. This removes this flavor from the database.&lt;br /&gt;
&lt;br /&gt;
Nova Instance_type&lt;br /&gt;
~~~~~~~~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
The instance_type command is provided as an alias for the flavor command. All the same subcommands and arguments from nova-manage flavor can be used.&lt;br /&gt;
&lt;br /&gt;
Nova Images&lt;br /&gt;
~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage image image_register &amp;lt;path&amp;gt; &amp;lt;owner&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Registers an image with the image service.&lt;br /&gt;
&lt;br /&gt;
``nova-manage image kernel_register &amp;lt;path&amp;gt; &amp;lt;owner&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Registers a kernel with the image service.&lt;br /&gt;
&lt;br /&gt;
``nova-manage image ramdisk_register &amp;lt;path&amp;gt; &amp;lt;owner&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Registers a ramdisk with the image service.&lt;br /&gt;
&lt;br /&gt;
``nova-manage image all_register &amp;lt;image_path&amp;gt; &amp;lt;kernel_path&amp;gt; &amp;lt;ramdisk_path&amp;gt; &amp;lt;owner&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Registers an image kernel and ramdisk with the image service.&lt;br /&gt;
&lt;br /&gt;
``nova-manage image convert &amp;lt;directory&amp;gt;``&lt;br /&gt;
&lt;br /&gt;
    Converts all images in directory from the old (Bexar) format to the new format.&lt;br /&gt;
&lt;br /&gt;
Nova VM&lt;br /&gt;
~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
``nova-manage vm list [host]``&lt;br /&gt;
    Show a list of all instances. Accepts optional hostname (to show only instances on specific host).&lt;br /&gt;
&lt;br /&gt;
``nova-manage live-migration &amp;lt;ec2_id&amp;gt; &amp;lt;destination host name&amp;gt;``&lt;br /&gt;
    Live migrate instance from current host to destination host. Requires instance id (which comes from euca-describe-instance) and destination host name (which can be found from nova-manage service list).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FILES&lt;br /&gt;
========&lt;br /&gt;
&lt;br /&gt;
The nova-manage.conf file contains configuration information in the form of python-gflags.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO&lt;br /&gt;
========&lt;br /&gt;
&lt;br /&gt;
* `OpenStack Nova &amp;lt;http://nova.openstack.org&amp;gt;`__&lt;br /&gt;
* `OpenStack Swift &amp;lt;http://swift.openstack.org&amp;gt;`__&lt;br /&gt;
&lt;br /&gt;
BUGS&lt;br /&gt;
====&lt;br /&gt;
&lt;br /&gt;
* Nova is sourced in Launchpad so you can view current bugs at `OpenStack Nova &amp;lt;http://nova.openstack.org&amp;gt;`__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Larry Yang</name></author>	</entry>

	</feed>