1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700
|
======
nova
======
The nova client is the command-line interface (CLI) for
the Compute service (nova) API and its extensions.
This chapter documents :command:`nova` version ``9.0.1``.
For help on a specific :command:`nova` command, enter:
.. code-block:: console
$ nova help COMMAND
.. note:: Over time, command line functionality will be phased out
of the ``nova`` CLI and into the ``openstack`` CLI. Using
the ``openstack`` client where possible is preferred but
there is not full parity yet for all of the ``nova`` commands.
For information on using the ``openstack`` CLI, see:
https://docs.openstack.org/python-openstackclient/latest/
.. _nova_command_usage:
nova usage
~~~~~~~~~~
.. code-block:: console
usage: nova [--version] [--debug] [--os-cache] [--timings]
[--os-region-name <region-name>] [--service-type <service-type>]
[--service-name <service-name>]
[--os-endpoint-type <endpoint-type>]
[--os-compute-api-version <compute-api-ver>]
[--os-endpoint-override <bypass-url>] [--profile HMAC_KEY]
[--insecure] [--os-cacert <ca-certificate>]
[--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>]
[--os-auth-type <name>] [--os-auth-url OS_AUTH_URL]
[--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME]
[--os-project-id OS_PROJECT_ID]
[--os-project-name OS_PROJECT_NAME]
[--os-project-domain-id OS_PROJECT_DOMAIN_ID]
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
[--os-trust-id OS_TRUST_ID]
[--os-default-domain-id OS_DEFAULT_DOMAIN_ID]
[--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
[--os-user-id OS_USER_ID] [--os-username OS_USERNAME]
[--os-user-domain-id OS_USER_DOMAIN_ID]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-password OS_PASSWORD]
<subcommand> ...
**Subcommands:**
``add-fixed-ip``
**DEPRECATED** Add new IP address on a network to
server.
``add-secgroup``
Add a Security Group to a server.
``agent-create``
Create new agent build.
``agent-delete``
Delete existing agent build.
``agent-list``
List all builds.
``agent-modify``
Modify existing agent build.
``aggregate-add-host``
Add the host to the specified aggregate.
``aggregate-create``
Create a new aggregate with the specified
details.
``aggregate-delete``
Delete the aggregate.
``aggregate-list``
Print a list of all aggregates.
``aggregate-remove-host``
Remove the specified host from the specified
aggregate.
``aggregate-set-metadata``
Update the metadata associated with the
aggregate.
``aggregate-show``
Show details of the specified aggregate.
``aggregate-update``
Update the aggregate's name and optionally
availability zone.
``availability-zone-list``
List all the availability zones.
``backup``
Backup a server by creating a 'backup' type
snapshot.
``boot``
Boot a new server.
``cell-capacities``
Get cell capacities for all cells or a given
cell.
``cell-show``
Show details of a given cell.
``clear-password``
Clear the admin password for a server from the
metadata server. This action does not actually
change the instance server password.
``cloudpipe-configure``
**DEPRECATED** Update the VPN IP/port of a
cloudpipe instance.
``cloudpipe-create``
**DEPRECATED** Create a cloudpipe instance for the
given project.
``cloudpipe-list``
**DEPRECATED** Print a list of all cloudpipe
instances.
``console-log``
Get console log output of a server.
``delete``
Immediately shut down and delete specified
server(s).
``diagnostics``
Retrieve server diagnostics.
``evacuate``
Evacuate server from failed host.
``flavor-access-add``
Add flavor access for the given tenant.
``flavor-access-list``
Print access information about the given
flavor.
``flavor-access-remove``
Remove flavor access for the given tenant.
``flavor-create``
Create a new flavor.
``flavor-delete``
Delete a specific flavor
``flavor-key``
Set or unset extra_spec for a flavor.
``flavor-list``
Print a list of available 'flavors' (sizes of
servers).
``flavor-show``
Show details about the given flavor.
``floating-ip-associate``
**DEPRECATED** Associate a floating IP address to
a server.
``floating-ip-disassociate``
**DEPRECATED** Disassociate a floating IP address
from a server.
``force-delete``
Force delete a server.
``get-mks-console``
Get an MKS console to a server. (Supported by
API versions '2.8' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``get-password``
Get the admin password for a server. This
operation calls the metadata service to query
metadata information and does not read
password information from the server itself.
``get-rdp-console``
Get a rdp console to a server.
``get-serial-console``
Get a serial console to a server.
``get-spice-console``
Get a spice console to a server.
``get-vnc-console``
Get a vnc console to a server.
``host-action``
**DEPRECATED** Perform a power action on a host.
``host-describe``
**DEPRECATED** Describe a specific host.
``host-evacuate``
Evacuate all instances from failed host.
``host-evacuate-live``
Live migrate all instances off the specified
host to other available hosts.
``host-list``
**DEPRECATED** List all hosts by service.
``host-meta``
Set or Delete metadata on all instances of a
host.
``host-servers-migrate``
Cold migrate all instances off the specified
host to other available hosts.
``host-update``
**DEPRECATED** Update host settings.
``hypervisor-list``
List hypervisors. (Supported by API versions
'2.0'
-
'2.latest')
[hint:
use
'--os-compute-api-version'
flag
to
show
help
message
for
proper version]
``hypervisor-servers``
List servers belonging to specific
hypervisors.
``hypervisor-show``
Display the details of the specified
hypervisor.
``hypervisor-stats``
Get hypervisor statistics over all compute
nodes.
``hypervisor-uptime``
Display the uptime of the specified
hypervisor.
``image-create``
Create a new image by taking a snapshot of a
running server.
``instance-action``
Show an action.
``instance-action-list``
List actions on a server.
``interface-attach``
Attach a network interface to a server.
``interface-detach``
Detach a network interface from a server.
``interface-list``
List interfaces attached to a server.
``keypair-add``
Create a new key pair for use with servers.
``keypair-delete``
Delete keypair given by its name. (Supported
by API versions '2.0' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``keypair-list``
Print a list of keypairs for a user (Supported
by API versions '2.0' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``keypair-show``
Show details about the given keypair.
(Supported by API versions '2.0' - '2.latest')
[hint: use '--os-compute-api-version' flag to
show help message for proper version]
``limits``
Print rate and absolute limits.
``list``
List servers.
``list-extensions``
List all the os-api extensions that are
available.
``list-secgroup``
List Security Group(s) of a server.
``live-migration``
Migrate running server to a new machine.
``live-migration-abort``
Abort an on-going live migration. (Supported
by API versions '2.24' - '2.latest') [hint:
use '--os-compute-api-version' flag to show
help message for proper version]
``live-migration-force-complete``
Force on-going live migration to complete.
(Supported
by
API
versions
'2.22'
-'2.latest')
[hint:
use
'--os-compute-api-version'
flag
to
show
help
message
for
proper
version]
``lock``
Lock a server. A normal (non-admin) user will
not be able to execute actions on a locked
server.
``meta``
Set or delete metadata on a server.
``migrate``
Migrate a server. The new host will be
selected by the scheduler.
``migration-list``
Print a list of migrations.
``pause``
Pause a server.
``quota-class-show``
List the quotas for a quota class.
``quota-class-update``
Update the quotas for a quota class.
(Supported by API versions '2.0' - '2.latest')
[hint: use '--os-compute-api-version' flag to
show help message for proper version]
``quota-defaults``
List the default quotas for a tenant.
``quota-delete``
Delete quota for a tenant/user so their quota
will Revert back to default.
``quota-show``
List the quotas for a tenant/user.
``quota-update``
Update the quotas for a tenant/user.
(Supported by API versions '2.0' - '2.latest')
[hint: use '--os-compute-api-version' flag to
show help message for proper version]
``reboot``
Reboot a server.
``rebuild``
Shutdown, re-image, and re-boot a server.
``refresh-network``
Refresh server network information.
``remove-fixed-ip``
**DEPRECATED** Remove an IP address from a server.
``remove-secgroup``
Remove a Security Group from a server.
``rescue``
Reboots a server into rescue mode, which
starts the machine from either the initial
image or a specified image, attaching the
current boot disk as secondary.
``reset-network``
Reset network of a server.
``reset-state``
Reset the state of a server.
``resize``
Resize a server.
``resize-confirm``
Confirm a previous resize.
``resize-revert``
Revert a previous resize (and return to the
previous VM).
``restore``
Restore a soft-deleted server.
``resume``
Resume a server.
``server-group-create``
Create a new server group with the specified
details.
``server-group-delete``
Delete specific server group(s).
``server-group-get``
Get a specific server group.
``server-group-list``
Print a list of all server groups.
``server-migration-list``
Get the migrations list of specified server.
(Supported
by
API
versions
'2.23'
-'2.latest')
[hint:
use
'--os-compute-api-version'
flag
to
show
help
message
for
proper
version]
``server-migration-show``
Get the migration of specified server.
(Supported
by
API
versions
'2.23'
-'2.latest')
[hint:
use
'--os-compute-api-version'
flag
to
show
help
message
for
proper
version]
``server-tag-add``
Add one or more tags to a server. (Supported
by API versions '2.26' - '2.latest') [hint:
use '--os-compute-api-version' flag to show
help message for proper version]
``server-tag-delete``
Delete one or more tags from a server.
(Supported
by
API
versions
'2.26'
-'2.latest')
[hint:
use
'--os-compute-api-version'
flag
to
show
help
message
for
proper
version]
``server-tag-delete-all``
Delete all tags from a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``server-tag-list``
Get list of tags from a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``server-tag-set``
Set list of tags to a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``service-delete``
Delete the service.
``service-disable``
Disable the service.
``service-enable``
Enable the service.
``service-force-down``
Force service to down. (Supported by API
versions '2.11' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
``service-list``
Show a list of all running services. Filter by
host & binary.
``set-password``
Change the admin password for a server.
``shelve``
Shelve a server.
``shelve-offload``
Remove a shelved server from the compute node.
``show``
Show details about the given server.
``ssh``
SSH into a server.
``start``
Start the server(s).
``stop``
Stop the server(s).
``suspend``
Suspend a server.
``trigger-crash-dump``
Trigger crash dump in an instance. (Supported
by API versions '2.17' - '2.latest') [hint:
use '--os-compute-api-version' flag to show
help message for proper version]
``unlock``
Unlock a server.
``unpause``
Unpause a server.
``unrescue``
Restart the server from normal boot disk
again.
``unshelve``
Unshelve a server.
``update``
Update the name or the description for a
server.
``usage``
Show usage data for a single tenant.
``usage-list``
List usage data for all tenants.
``version-list``
List all API versions.
``virtual-interface-list``
**DEPRECATED** Show virtual interface info about
the given server.
``volume-attach``
Attach a volume to a server.
``volume-attachments``
List all the volumes attached to a server.
``volume-detach``
Detach a volume from a server.
``volume-update``
Update the attachment on the server. Migrates
the data from an attached volume to the
specified available volume and swaps out the
active attachment to the new volume.
``x509-create-cert``
**DEPRECATED** Create x509 cert for a user in
tenant.
``x509-get-root-cert``
**DEPRECATED** Fetch the x509 root cert.
``bash-completion``
Prints all of the commands and options to
stdout so that the nova.bash_completion script
doesn't have to hard code them.
``help``
Display help about this program or one of its
subcommands.
.. _nova_command_options:
nova optional arguments
~~~~~~~~~~~~~~~~~~~~~~~
``--version``
show program's version number and exit
``--debug``
Print debugging output.
``--os-cache``
Use the auth token cache. Defaults to False if
``env[OS_CACHE]`` is not set.
``--timings``
Print call timing info.
``--os-region-name <region-name>``
Defaults to ``env[OS_REGION_NAME]``.
``--service-type <service-type>``
Defaults to compute for most actions.
``--service-name <service-name>``
Defaults to ``env[NOVA_SERVICE_NAME]``.
``--os-endpoint-type <endpoint-type>``
Defaults to ``env[NOVA_ENDPOINT_TYPE]``,
``env[OS_ENDPOINT_TYPE]`` or publicURL.
``--os-compute-api-version <compute-api-ver>``
Accepts X, X.Y (where X is major and Y is
minor part) or "X.latest", defaults to
``env[OS_COMPUTE_API_VERSION]``.
``--os-endpoint-override <bypass-url>``
Use this API endpoint instead of the Service
Catalog. Defaults to
``env[OS_ENDPOINT_OVERRIDE]``.
``--profile HMAC_KEY``
HMAC key to use for encrypting context data
for performance profiling of operation. This
key should be the value of the HMAC key
configured for the OSprofiler middleware in
nova; it is specified in the Nova
configuration file at "/etc/nova/nova.conf".
Without the key, profiling will not be
triggered even if OSprofiler is enabled on the
server side.
``--os-auth-type <name>, --os-auth-plugin <name>``
Authentication type to use
.. _nova_add-secgroup:
nova add-secgroup
-----------------
.. code-block:: console
usage: nova add-secgroup <server> <secgroup>
Add a Security Group to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<secgroup>``
Name or ID of Security Group.
.. _nova_agent-create:
nova agent-create
-----------------
.. code-block:: console
usage: nova agent-create <os> <architecture> <version> <url> <md5hash>
<hypervisor>
Create new agent build.
**Positional arguments:**
``<os>``
Type of OS.
``<architecture>``
Type of architecture.
``<version>``
Version.
``<url>``
URL.
``<md5hash>``
MD5 hash.
``<hypervisor>``
Type of hypervisor.
.. _nova_agent-delete:
nova agent-delete
-----------------
.. code-block:: console
usage: nova agent-delete <id>
Delete existing agent build.
**Positional arguments:**
``<id>``
ID of the agent-build.
.. _nova_agent-list:
nova agent-list
---------------
.. code-block:: console
usage: nova agent-list [--hypervisor <hypervisor>]
List all builds.
**Optional arguments:**
``--hypervisor <hypervisor>``
Type of hypervisor.
.. _nova_agent-modify:
nova agent-modify
-----------------
.. code-block:: console
usage: nova agent-modify <id> <version> <url> <md5hash>
Modify existing agent build.
**Positional arguments:**
``<id>``
ID of the agent-build.
``<version>``
Version.
``<url>``
URL
``<md5hash>``
MD5 hash.
.. _nova_aggregate-add-host:
nova aggregate-add-host
-----------------------
.. code-block:: console
usage: nova aggregate-add-host <aggregate> <host>
Add the host to the specified aggregate.
**Positional arguments:**
``<aggregate>``
Name or ID of aggregate.
``<host>``
The host to add to the aggregate.
.. _nova_aggregate-create:
nova aggregate-create
---------------------
.. code-block:: console
usage: nova aggregate-create <name> [<availability-zone>]
Create a new aggregate with the specified details.
**Positional arguments:**
``<name>``
Name of aggregate.
``<availability-zone>``
The availability zone of the aggregate (optional).
.. _nova_aggregate-delete:
nova aggregate-delete
---------------------
.. code-block:: console
usage: nova aggregate-delete <aggregate>
Delete the aggregate.
**Positional arguments:**
``<aggregate>``
Name or ID of aggregate to delete.
.. _nova_aggregate-list:
nova aggregate-list
-------------------
.. code-block:: console
usage: nova aggregate-list
Print a list of all aggregates.
.. _nova_aggregate-remove-host:
nova aggregate-remove-host
--------------------------
.. code-block:: console
usage: nova aggregate-remove-host <aggregate> <host>
Remove the specified host from the specified aggregate.
**Positional arguments:**
``<aggregate>``
Name or ID of aggregate.
``<host>``
The host to remove from the aggregate.
.. _nova_aggregate-set-metadata:
nova aggregate-set-metadata
---------------------------
.. code-block:: console
usage: nova aggregate-set-metadata <aggregate> <key=value> [<key=value> ...]
Update the metadata associated with the aggregate.
**Positional arguments:**
``<aggregate>``
Name or ID of aggregate to update.
``<key=value>``
Metadata to add/update to aggregate. Specify only the key to
delete a metadata item.
.. _nova_aggregate-show:
nova aggregate-show
-------------------
.. code-block:: console
usage: nova aggregate-show <aggregate>
Show details of the specified aggregate.
**Positional arguments:**
``<aggregate>``
Name or ID of aggregate.
.. _nova_aggregate-update:
nova aggregate-update
---------------------
.. code-block:: console
usage: nova aggregate-update [--name NAME]
[--availability-zone <availability-zone>]
<aggregate>
Update the aggregate's name and optionally availability zone.
**Positional arguments:**
``<aggregate>``
Name or ID of aggregate to update.
**Optional arguments:**
``--name NAME``
New name for aggregate.
``--availability-zone <availability-zone>``
New availability zone for aggregate.
.. _nova_availability-zone-list:
nova availability-zone-list
---------------------------
.. code-block:: console
usage: nova availability-zone-list
List all the availability zones.
.. _nova_backup:
nova backup
-----------
.. code-block:: console
usage: nova backup <server> <name> <backup-type> <rotation>
Backup a server by creating a 'backup' type snapshot.
**Positional arguments:**
``<server>``
Name or ID of server.
``<name>``
Name of the backup image.
``<backup-type>``
The backup type, like "daily" or "weekly".
``<rotation>``
Int parameter representing how many backups to keep around.
.. _nova_boot:
nova boot
---------
.. code-block:: console
usage: nova boot [--flavor <flavor>] [--image <image>]
[--image-with <key=value>] [--boot-volume <volume_id>]
[--snapshot <snapshot_id>] [--min-count <number>]
[--max-count <number>] [--meta <key=value>]
[--file <dst-path=src-path>] [--key-name <key-name>]
[--user-data <user-data>]
[--availability-zone <availability-zone>]
[--security-groups <security-groups>]
[--block-device-mapping <dev-name=mapping>]
[--block-device key1=value1[,key2=value2...]]
[--swap <swap_size>]
[--ephemeral size=<size>[,format=<format>]]
[--hint <key=value>]
[--nic <auto,none,net-id=net-uuid,net-name=network-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>]
[--config-drive <value>] [--poll] [--admin-pass <value>]
[--access-ip-v4 <value>] [--access-ip-v6 <value>]
[--description <description>]
[--trusted-image-certificate-id <trusted-image-certificate-id>]
<name>
Boot a new server.
**Positional arguments:**
``<name>``
Name for the new server.
**Optional arguments:**
``--flavor <flavor>``
Name or ID of flavor (see 'nova flavor-list').
``--image <image>``
Name or ID of image (see 'glance image-list').
``--image-with <key=value>``
Image metadata property (see 'glance image-show').
``--boot-volume <volume_id>``
Volume ID to boot from.
``--snapshot <snapshot_id>``
Snapshot ID to boot from (will create a
volume).
``--min-count <number>``
Boot at least <number> servers (limited by
quota).
``--max-count <number>``
Boot up to <number> servers (limited by
quota).
``--meta <key=value>``
Record arbitrary key/value metadata to
/meta_data.json on the metadata server. Can be
specified multiple times.
``--file <dst-path=src-path>``
Store arbitrary files from <src-path> locally
to <dst-path> on the new server. Limited by
the injected_files quota value.
``--key-name <key-name>``
Key name of keypair that should be created
earlier with the command keypair-add.
``--user-data <user-data>``
user data file to pass to be exposed by the
metadata server.
``--availability-zone <availability-zone>``
The availability zone for server placement.
``--security-groups <security-groups>``
Comma separated list of security group names.
``--block-device-mapping <dev-name=mapping>``
Block
device
mapping
in
the
format
<dev-name>=<id>:<type>:<size(GB)>:<delete-on-terminate>.
``--block-device``
key1=value1[,key2=value2...]
Block device mapping with the keys: id=UUID
(image_id, snapshot_id or volume_id only if
using source image, snapshot or volume)
source=source type (image, snapshot, volume or
blank), dest=destination type of the block
device (volume or local), bus=device's bus
(e.g. uml, lxc, virtio, ...; if omitted,
hypervisor driver chooses a suitable default,
honoured only if device type is supplied)
type=device type (e.g. disk, cdrom, ...;
defaults to 'disk') device=name of the device
(e.g. vda, xda, ...; if omitted, hypervisor
driver chooses suitable device depending on
selected bus; note the libvirt driver always
uses default device names), size=size of the
block device in MB(for swap) and in GB(for
other formats) (if omitted, hypervisor driver
calculates size), format=device will be
formatted (e.g. swap, ntfs, ...; optional),
bootindex=integer used for ordering the boot
disks (for image backed instances it is equal
to 0, for others need to be specified),
shutdown=shutdown behaviour (either preserve
or remove, for local destination set to
remove) and tag=device metadata tag
(optional). (Supported by API versions '2.42'
- '2.latest')
``--swap <swap_size>``
Create and attach a local swap block device of
<swap_size> MB.
``--ephemeral``
size=<size>[,format=<format>]
Create and attach a local ephemeral block
device of <size> GB and format it to <format>.
``--hint <key=value>``
Send arbitrary key/value pairs to the
scheduler for custom use.
``--nic <auto,none,net-id=net-uuid,net-name=network-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>``
Create a NIC on the server. Specify option
multiple times to create multiple nics unless
using the special 'auto' or 'none' values.
auto: automatically allocate network resources
if none are available. This cannot be
specified with any other nic value and cannot
be specified multiple times. none: do not
attach a NIC at all. This cannot be specified
with any other nic value and cannot be
specified multiple times. net-id: attach NIC
to network with a specific UUID. net-name:
attach NIC to network with this name (either
port-id or net-id or net-name must be
provided), v4-fixed-ip: IPv4 fixed address for
NIC (optional), v6-fixed-ip: IPv6 fixed
address for NIC (optional), port-id: attach
NIC to port with this UUID tag: interface
metadata tag (optional) (either port-id or
net-id must be provided). (Supported by API
versions '2.42' - '2.latest')
``--config-drive <value>``
Enable config drive.
``--poll``
Report the new server boot progress until it
completes.
``--admin-pass <value>``
Admin password for the instance.
``--access-ip-v4 <value>``
Alternative access IPv4 of the instance.
``--access-ip-v6 <value>``
Alternative access IPv6 of the instance.
``--description <description>``
Description for the server. (Supported by API
versions '2.19' - '2.latest')
``--trusted-image-certificate-id <trusted-image-certificate-id>``
Trusted image certificate IDs used to validate certificates
during the image signature verification process.
Defaults to env[OS_TRUSTED_IMAGE_CERTIFICATE_IDS].
May be specified multiple times to pass multiple trusted image
certificate IDs. (Supported by API versions '2.63' - '2.latest')
.. _nova_cell-capacities:
nova cell-capacities
--------------------
.. code-block:: console
usage: nova cell-capacities [--cell <cell-name>]
Get cell capacities for all cells or a given cell.
**Optional arguments:**
``--cell <cell-name>``
Name of the cell to get the capacities.
.. _nova_cell-show:
nova cell-show
--------------
.. code-block:: console
usage: nova cell-show <cell-name>
Show details of a given cell.
**Positional arguments:**
``<cell-name>``
Name of the cell.
.. _nova_clear-password:
nova clear-password
-------------------
.. code-block:: console
usage: nova clear-password <server>
Clear the admin password for a server from the metadata server. This action
does not actually change the instance server password.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_console-log:
nova console-log
----------------
.. code-block:: console
usage: nova console-log [--length <length>] <server>
Get console log output of a server.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--length <length>``
Length in lines to tail.
.. _nova_delete:
nova delete
-----------
.. code-block:: console
usage: nova delete [--all-tenants] <server> [<server> ...]
Immediately shut down and delete specified server(s).
**Positional arguments:**
``<server>``
Name or ID of server(s).
**Optional arguments:**
``--all-tenants``
Delete server(s) in another tenant by name (Admin only).
.. _nova_diagnostics:
nova diagnostics
----------------
.. code-block:: console
usage: nova diagnostics <server>
Retrieve server diagnostics.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_evacuate:
nova evacuate
-------------
.. code-block:: console
usage: nova evacuate [--password <password>] [--force] <server> [<host>]
Evacuate server from failed host.
**Positional arguments:**
``<server>``
Name or ID of server.
``<host>``
Name or ID of the target host. If no host is
specified, the scheduler will choose one.
**Optional arguments:**
``--password <password>``
Set the provided admin password on the evacuated
server. Not applicable if the server is on shared
storage.
``--force``
Force to not verify the scheduler if a host is
provided. (Supported by API versions '2.29' -'2.latest')
.. _nova_flavor-access-add:
nova flavor-access-add
----------------------
.. code-block:: console
usage: nova flavor-access-add <flavor> <tenant_id>
Add flavor access for the given tenant.
**Positional arguments:**
``<flavor>``
Flavor name or ID to add access for the given tenant.
``<tenant_id>``
Tenant ID to add flavor access for.
.. _nova_flavor-access-list:
nova flavor-access-list
-----------------------
.. code-block:: console
usage: nova flavor-access-list [--flavor <flavor>]
Print access information about the given flavor.
**Optional arguments:**
``--flavor <flavor>``
Filter results by flavor name or ID.
.. _nova_flavor-access-remove:
nova flavor-access-remove
-------------------------
.. code-block:: console
usage: nova flavor-access-remove <flavor> <tenant_id>
Remove flavor access for the given tenant.
**Positional arguments:**
``<flavor>``
Flavor name or ID to remove access for the given tenant.
``<tenant_id>``
Tenant ID to remove flavor access for.
.. _nova_flavor-create:
nova flavor-create
------------------
.. code-block:: console
usage: nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>]
[--rxtx-factor <factor>] [--is-public <is-public>]
<name> <id> <ram> <disk> <vcpus>
Create a new flavor.
**Positional arguments:**
``<name>``
Unique name of the new flavor.
``<id>``
Unique ID of the new flavor. Specifying 'auto' will
generated a UUID for the ID.
``<ram>``
Memory size in MB.
``<disk>``
Disk size in GB.
``<vcpus>``
Number of vcpus
**Optional arguments:**
``--ephemeral <ephemeral>``
Ephemeral space size in GB (default 0).
``--swap <swap>``
Swap space size in MB (default 0).
``--rxtx-factor <factor>``
RX/TX factor (default 1).
``--is-public <is-public>``
Make flavor accessible to the public (default
true).
.. _nova_flavor-delete:
nova flavor-delete
------------------
.. code-block:: console
usage: nova flavor-delete <flavor>
Delete a specific flavor
**Positional arguments:**
``<flavor>``
Name or ID of the flavor to delete.
.. _nova_flavor-key:
nova flavor-key
---------------
.. code-block:: console
usage: nova flavor-key <flavor> <action> <key=value> [<key=value> ...]
Set or unset extra_spec for a flavor.
**Positional arguments:**
``<flavor>``
Name or ID of flavor.
``<action>``
Actions: 'set' or 'unset'.
``<key=value>``
Extra_specs to set/unset (only key is necessary on unset).
.. _nova_flavor-list:
nova flavor-list
----------------
.. code-block:: console
usage: nova flavor-list [--extra-specs] [--all] [--marker <marker>]
[--min-disk <min-disk>] [--min-ram <min-ram>]
[--limit <limit>] [--sort-key <sort-key>]
[--sort-dir <sort-dir>]
Print a list of available 'flavors' (sizes of servers).
**Optional arguments:**
``--extra-specs``
Get extra-specs of each flavor.
``--all``
Display all flavors (Admin only).
``--marker <marker>``
The last flavor ID of the previous page; displays
list of flavors after "marker".
``--min-disk <min-disk>``
Filters the flavors by a minimum disk space, in GiB.
``--min-ram <min-ram>``
Filters the flavors by a minimum RAM, in MB.
``--limit <limit>``
Maximum number of flavors to display. If limit is
bigger than 'CONF.api.max_limit' option of Nova API,
limit 'CONF.api.max_limit' will be used instead.
``--sort-key <sort-key>``
Flavors list sort key.
``--sort-dir <sort-dir>``
Flavors list sort direction.
.. _nova_flavor-show:
nova flavor-show
----------------
.. code-block:: console
usage: nova flavor-show <flavor>
Show details about the given flavor.
**Positional arguments:**
``<flavor>``
Name or ID of flavor.
nova flavor-update
------------------
.. code-block:: console
usage: nova flavor-update <flavor> <description>
Update the description of an existing flavor.
(Supported by API versions '2.55' - '2.latest')
[hint: use '--os-compute-api-version' flag to show help message for proper
version]
.. versionadded:: 10.0.0
**Positional arguments**
``<flavor>``
Name or ID of the flavor to update.
``<description>``
A free form description of the flavor. Limited to 65535
characters in length. Only printable characters are allowed.
.. _nova_force-delete:
nova force-delete
-----------------
.. code-block:: console
usage: nova force-delete <server>
Force delete a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_get-mks-console:
nova get-mks-console
--------------------
.. code-block:: console
usage: nova get-mks-console <server>
Get an MKS console to a server. (Supported by API versions '2.8' - '2.latest')
[hint: use '--os-compute-api-version' flag to show help message for proper
version]
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_get-password:
nova get-password
-----------------
.. code-block:: console
usage: nova get-password <server> [<private-key>]
Get the admin password for a server. This operation calls the metadata service
to query metadata information and does not read password information from the
server itself.
**Positional arguments:**
``<server>``
Name or ID of server.
``<private-key>``
Private key (used locally to decrypt password) (Optional).
When specified, the command displays the clear (decrypted) VM
password. When not specified, the ciphered VM password is
displayed.
.. _nova_get-rdp-console:
nova get-rdp-console
--------------------
.. code-block:: console
usage: nova get-rdp-console <server> <console-type>
Get a rdp console to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<console-type>``
Type of rdp console ("rdp-html5").
.. _nova_get-serial-console:
nova get-serial-console
-----------------------
.. code-block:: console
usage: nova get-serial-console [--console-type CONSOLE_TYPE] <server>
Get a serial console to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--console-type CONSOLE_TYPE``
Type of serial console, default="serial".
.. _nova_get-spice-console:
nova get-spice-console
----------------------
.. code-block:: console
usage: nova get-spice-console <server> <console-type>
Get a spice console to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<console-type>``
Type of spice console ("spice-html5").
.. _nova_get-vnc-console:
nova get-vnc-console
--------------------
.. code-block:: console
usage: nova get-vnc-console <server> <console-type>
Get a vnc console to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<console-type>``
Type of vnc console ("novnc" or "xvpvnc").
.. _nova_host-evacuate:
nova host-evacuate
------------------
.. code-block:: console
usage: nova host-evacuate [--target_host <target_host>] [--force] <host>
Evacuate all instances from failed host.
**Positional arguments:**
``<host>``
Name of host.
**Optional arguments:**
``--target_host <target_host>``
Name of target host. If no host is specified
the scheduler will select a target.
``--force``
Force to not verify the scheduler if a host is
provided. (Supported by API versions '2.29' -'2.latest')
.. _nova_host-evacuate-live:
nova host-evacuate-live
-----------------------
.. code-block:: console
usage: nova host-evacuate-live [--target-host <target_host>] [--block-migrate]
[--max-servers <max_servers>] [--force]
<host>
Live migrate all instances off the specified host to other available hosts.
**Positional arguments:**
``<host>``
Name of host.
**Optional arguments:**
``--target-host <target_host>``
Name of target host.
``--block-migrate``
Enable block migration. (Default=auto)
(Supported by API versions '2.25' - '2.latest')
``--max-servers <max_servers>``
Maximum number of servers to live migrate
simultaneously
``--force``
Force to not verify the scheduler if a host is
provided. (Supported by API versions '2.30' -'2.latest')
.. _nova_host-meta:
nova host-meta
--------------
.. code-block:: console
usage: nova host-meta <host> <action> <key=value> [<key=value> ...]
Set or Delete metadata on all instances of a host.
**Positional arguments:**
``<host>``
Name of host.
``<action>``
Actions: 'set' or 'delete'
``<key=value>``
Metadata to set or delete (only key is necessary on delete)
.. _nova_host-servers-migrate:
nova host-servers-migrate
-------------------------
.. code-block:: console
usage: nova host-servers-migrate <host>
Cold migrate all instances off the specified host to other available hosts.
**Positional arguments:**
``<host>``
Name of host.
.. _nova_hypervisor-list:
nova hypervisor-list
--------------------
.. code-block:: console
usage: nova hypervisor-list [--matching <hostname>] [--marker <marker>]
[--limit <limit>]
List hypervisors. (Supported by API versions '2.0' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help message for proper version]
**Optional arguments:**
``--matching <hostname>``
List hypervisors matching the given <hostname>. If
matching is used limit and marker options will be
ignored.
``--marker <marker>``
The last hypervisor of the previous page; displays
list of hypervisors after "marker".
``--limit <limit>``
Maximum number of hypervisors to display. If limit is
bigger than 'CONF.api.max_limit' option of Nova API,
limit 'CONF.api.max_limit' will be used instead.
.. _nova_hypervisor-servers:
nova hypervisor-servers
-----------------------
.. code-block:: console
usage: nova hypervisor-servers <hostname>
List servers belonging to specific hypervisors.
**Positional arguments:**
``<hostname>``
The hypervisor hostname (or pattern) to search for.
.. _nova_hypervisor-show:
nova hypervisor-show
--------------------
.. code-block:: console
usage: nova hypervisor-show [--wrap <integer>] <hypervisor>
Display the details of the specified hypervisor.
**Positional arguments:**
``<hypervisor>``
Name or ID of the hypervisor to show the details of.
**Optional arguments:**
``--wrap <integer>``
Wrap the output to a specified length. Default is 40 or 0
to disable
.. _nova_hypervisor-stats:
nova hypervisor-stats
---------------------
.. code-block:: console
usage: nova hypervisor-stats
Get hypervisor statistics over all compute nodes.
.. _nova_hypervisor-uptime:
nova hypervisor-uptime
----------------------
.. code-block:: console
usage: nova hypervisor-uptime <hypervisor>
Display the uptime of the specified hypervisor.
**Positional arguments:**
``<hypervisor>``
Name or ID of the hypervisor to show the uptime of.
.. _nova_image-create:
nova image-create
-----------------
.. code-block:: console
usage: nova image-create [--metadata <key=value>] [--show] [--poll]
<server> <name>
Create a new image by taking a snapshot of a running server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<name>``
Name of snapshot.
**Optional arguments:**
``--metadata <key=value>``
Record arbitrary key/value metadata to
/meta_data.json on the metadata server. Can be
specified multiple times.
``--show``
Print image info.
``--poll``
Report the snapshot progress and poll until image
creation is complete.
.. _nova_instance-action:
nova instance-action
--------------------
.. code-block:: console
usage: nova instance-action <server> <request_id>
Show an action.
**Positional arguments:**
``<server>``
Name or UUID of the server to show actions for. Only UUID can
be used to show actions for a deleted server. (Supported by
API versions '2.21' - '2.latest')
``<request_id>``
Request ID of the action to get.
.. _nova_instance-action-list:
nova instance-action-list
-------------------------
.. code-block:: console
usage: nova instance-action-list <server>
List actions on a server.
**Positional arguments:**
``<server>``
Name or UUID of the server to list actions for. Only UUID can be
used to list actions on a deleted server. (Supported by API
versions '2.21' - '2.latest')
.. _nova_interface-attach:
nova interface-attach
---------------------
.. code-block:: console
usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>]
[--fixed-ip <fixed_ip>]
<server>
Attach a network interface to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--port-id <port_id>``
Port ID.
``--net-id <net_id>``
Network ID
``--fixed-ip <fixed_ip>``
Requested fixed IP.
.. _nova_interface-detach:
nova interface-detach
---------------------
.. code-block:: console
usage: nova interface-detach <server> <port_id>
Detach a network interface from a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<port_id>``
Port ID.
.. _nova_interface-list:
nova interface-list
-------------------
.. code-block:: console
usage: nova interface-list <server>
List interfaces attached to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_keypair-add:
nova keypair-add
----------------
.. code-block:: console
usage: nova keypair-add [--pub-key <pub-key>] [--key-type <key-type>]
[--user <user-id>]
<name>
Create a new key pair for use with servers.
**Positional arguments:**
``<name>``
Name of key.
**Optional arguments:**
``--pub-key <pub-key>``
Path to a public ssh key.
``--key-type <key-type>``
Keypair type. Can be ssh or x509. (Supported by API
versions '2.2' - '2.latest')
``--user <user-id>``
ID of user to whom to add key-pair (Admin only).
(Supported by API versions '2.10' - '2.latest')
.. _nova_keypair-delete:
nova keypair-delete
-------------------
.. code-block:: console
usage: nova keypair-delete [--user <user-id>] <name>
Delete keypair given by its name. (Supported by API versions '2.0' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<name>``
Keypair name to delete.
**Optional arguments:**
``--user <user-id>``
ID of key-pair owner (Admin only).
.. _nova_keypair-list:
nova keypair-list
-----------------
.. code-block:: console
usage: nova keypair-list [--user <user-id>] [--marker <marker>]
[--limit <limit>]
Print a list of keypairs for a user (Supported by API versions '2.0' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Optional arguments:**
``--user <user-id>``
List key-pairs of specified user ID (Admin only).
``--marker <marker>``
The last keypair of the previous page; displays list of
keypairs after "marker".
``--limit <limit>``
Maximum number of keypairs to display. If limit is bigger
than 'CONF.api.max_limit' option of Nova API, limit
'CONF.api.max_limit' will be used instead.
.. _nova_keypair-show:
nova keypair-show
-----------------
.. code-block:: console
usage: nova keypair-show [--user <user-id>] <keypair>
Show details about the given keypair. (Supported by API versions '2.0' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<keypair>``
Name of keypair.
**Optional arguments:**
``--user <user-id>``
ID of key-pair owner (Admin only).
.. _nova_limits:
nova limits
-----------
.. code-block:: console
usage: nova limits [--tenant [<tenant>]] [--reserved]
Print rate and absolute limits.
**Optional arguments:**
``--tenant [<tenant>]``
Display information from single tenant (Admin only).
``--reserved``
Include reservations count.
.. _nova_list:
nova list
---------
.. code-block:: console
usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>]
[--ip6 <ip6-regexp>] [--name <name-regexp>]
[--instance-name <name-regexp>] [--status <status>]
[--flavor <flavor>] [--image <image>] [--host <hostname>]
[--all-tenants [<0|1>]] [--tenant [<tenant>]]
[--user [<user>]] [--deleted] [--fields <fields>] [--minimal]
[--sort <key>[:<direction>]] [--marker <marker>]
[--limit <limit>] [--changes-since <changes_since>]
[--tags <tags>] [--tags-any <tags-any>]
[--not-tags <not-tags>] [--not-tags-any <not-tags-any>]
List servers.
**Optional arguments:**
``--reservation-id <reservation-id>``
Only return servers that match reservation-id.
``--ip <ip-regexp>``
Search with regular expression match by IP
address.
``--ip6 <ip6-regexp>``
Search with regular expression match by IPv6
address.
``--name <name-regexp>``
Search with regular expression match by name.
``--instance-name <name-regexp>``
Search with regular expression match by server
name.
``--status <status>``
Search by server status.
``--flavor <flavor>``
Search by flavor name or ID.
``--image <image>``
Search by image name or ID.
``--host <hostname>``
Search servers by hostname to which they are
assigned (Admin only).
``--all-tenants [<0|1>]``
Display information from all tenants (Admin
only).
``--tenant [<tenant>]``
Display information from single tenant (Admin
only).
``--user [<user>]``
Display information from single user (Admin
only).
``--deleted``
Only display deleted servers (Admin only).
``--fields <fields>``
Comma-separated list of fields to display. Use
the show command to see which fields are
available.
``--minimal``
Get only UUID and name.
``--sort <key>[:<direction>]``
Comma-separated list of sort keys and
directions in the form of <key>[:<asc|desc>].
The direction defaults to descending if not
specified.
``--marker <marker>``
The last server UUID of the previous page;
displays list of servers after "marker".
``--limit <limit>``
Maximum number of servers to display. If limit
== -1, all servers will be displayed. If limit
is bigger than 'CONF.api.max_limit' option of
Nova API, limit 'CONF.api.max_limit' will be
used instead.
``--changes-since <changes_since>``
List only servers changed after a certain
point of time.The provided time should be an
ISO 8061 formatted time.ex
2016-03-04T06:27:59Z .
``--tags <tags>``
The given tags must all be present for a
server to be included in the list result.
Boolean expression in this case is 't1 AND
t2'. Tags must be separated by commas: --tags
<tag1,tag2> (Supported by API versions '2.26'
- '2.latest')
``--tags-any <tags-any>``
If one of the given tags is present the server
will be included in the list result. Boolean
expression in this case is 't1 OR t2'. Tags
must be separated by commas: --tags-any
<tag1,tag2> (Supported by API versions '2.26'
- '2.latest')
``--not-tags <not-tags>``
Only the servers that do not have any of the
given tags will be included in the list
results. Boolean expression in this case is
'NOT(t1 AND t2)'. Tags must be separated by
commas: --not-tags <tag1,tag2> (Supported by
API versions '2.26' - '2.latest')
``--not-tags-any <not-tags-any>``
Only the servers that do not have at least one
of the given tags will be included in the list
result. Boolean expression in this case is
'NOT(t1 OR t2)'. Tags must be separated by
commas: --not-tags-any <tag1,tag2> (Supported
by API versions '2.26' - '2.latest')
.. _nova_list-extensions:
nova list-extensions
--------------------
.. code-block:: console
usage: nova list-extensions
List all the os-api extensions that are available.
.. _nova_list-secgroup:
nova list-secgroup
------------------
.. code-block:: console
usage: nova list-secgroup <server>
List Security Group(s) of a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_live-migration:
nova live-migration
-------------------
.. code-block:: console
usage: nova live-migration [--block-migrate] [--force] <server> [<host>]
Migrate running server to a new machine.
**Positional arguments:**
``<server>``
Name or ID of server.
``<host>``
Destination host name.
**Optional arguments:**
``--block-migrate``
True in case of block_migration.
(Default=auto:live_migration) (Supported by API versions
'2.25' - '2.latest')
``--force``
Force to not verify the scheduler if a host is provided.
(Supported by API versions '2.30' - '2.latest')
.. _nova_live-migration-abort:
nova live-migration-abort
-------------------------
.. code-block:: console
usage: nova live-migration-abort <server> <migration>
Abort an on-going live migration. (Supported by API versions '2.24' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
For microversions from 2.24 to 2.64 the migration status must be ``running``;
for microversion 2.65 and greater, the migration status can also be ``queued``
and ``preparing``.
**Positional arguments:**
``<server>``
Name or ID of server.
``<migration>``
ID of migration.
.. _nova_live-migration-force-complete:
nova live-migration-force-complete
----------------------------------
.. code-block:: console
usage: nova live-migration-force-complete <server> <migration>
Force on-going live migration to complete. (Supported by API versions '2.22' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
``<migration>``
ID of migration.
.. _nova_lock:
nova lock
---------
.. code-block:: console
usage: nova lock <server>
Lock a server. A normal (non-admin) user will not be able to execute actions
on a locked server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_meta:
nova meta
---------
.. code-block:: console
usage: nova meta <server> <action> <key=value> [<key=value> ...]
Set or delete metadata on a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<action>``
Actions: 'set' or 'delete'.
``<key=value>``
Metadata to set or delete (only key is necessary on delete).
.. _nova_migrate:
nova migrate
------------
.. code-block:: console
usage: nova migrate [--poll] <server>
Migrate a server. The new host will be selected by the scheduler.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--poll``
Report the server migration progress until it completes.
.. _nova_migration-list:
nova migration-list
-------------------
.. code-block:: console
usage: nova migration-list [--instance-uuid <instance_uuid>] [--host <host>]
[--status <status>]
Print a list of migrations.
**Optional arguments:**
``--instance-uuid <instance_uuid>``
Fetch migrations for the given instance.
``--host <host>``
Fetch migrations for the given host.
``--status <status>``
Fetch migrations for the given status.
.. _nova_pause:
nova pause
----------
.. code-block:: console
usage: nova pause <server>
Pause a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_quota-class-show:
nova quota-class-show
---------------------
.. code-block:: console
usage: nova quota-class-show <class>
List the quotas for a quota class.
**Positional arguments:**
``<class>``
Name of quota class to list the quotas for.
.. _nova_quota-class-update:
nova quota-class-update
-----------------------
.. code-block:: console
usage: nova quota-class-update [--instances <instances>] [--cores <cores>]
[--ram <ram>]
[--metadata-items <metadata-items>]
[--injected-files <injected-files>]
[--injected-file-content-bytes <injected-file-content-bytes>]
[--injected-file-path-bytes <injected-file-path-bytes>]
[--key-pairs <key-pairs>]
[--server-groups <server-groups>]
[--server-group-members <server-group-members>]
<class>
Update the quotas for a quota class. (Supported by API versions '2.0' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<class>``
Name of quota class to set the quotas for.
**Optional arguments:**
``--instances <instances>``
New value for the "instances" quota.
``--cores <cores>``
New value for the "cores" quota.
``--ram <ram>``
New value for the "ram" quota.
``--metadata-items <metadata-items>``
New value for the "metadata-items" quota.
``--injected-files <injected-files>``
New value for the "injected-files" quota.
``--injected-file-content-bytes <injected-file-content-bytes>``
New value for the "injected-file-content-bytes" quota.
``--injected-file-path-bytes <injected-file-path-bytes>``
New value for the "injected-file-path-bytes"
quota.
``--key-pairs <key-pairs>``
New value for the "key-pairs" quota.
``--server-groups <server-groups>``
New value for the "server-groups" quota.
``--server-group-members <server-group-members>``
New value for the "server-group-members"
quota.
.. _nova_quota-defaults:
nova quota-defaults
-------------------
.. code-block:: console
usage: nova quota-defaults [--tenant <tenant-id>]
List the default quotas for a tenant.
**Optional arguments:**
``--tenant <tenant-id>``
ID of tenant to list the default quotas for.
.. _nova_quota-delete:
nova quota-delete
-----------------
.. code-block:: console
usage: nova quota-delete --tenant <tenant-id> [--user <user-id>]
Delete quota for a tenant/user so their quota will Revert back to default.
**Optional arguments:**
``--tenant <tenant-id>``
ID of tenant to delete quota for.
``--user <user-id>``
ID of user to delete quota for.
.. _nova_quota-show:
nova quota-show
---------------
.. code-block:: console
usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>] [--detail]
List the quotas for a tenant/user.
**Optional arguments:**
``--tenant <tenant-id>``
ID of tenant to list the quotas for.
``--user <user-id>``
ID of user to list the quotas for.
``--detail``
Show detailed info (limit, reserved, in-use).
.. _nova_quota-update:
nova quota-update
-----------------
.. code-block:: console
usage: nova quota-update [--user <user-id>] [--instances <instances>]
[--cores <cores>] [--ram <ram>]
[--metadata-items <metadata-items>]
[--injected-files <injected-files>]
[--injected-file-content-bytes <injected-file-content-bytes>]
[--injected-file-path-bytes <injected-file-path-bytes>]
[--key-pairs <key-pairs>]
[--server-groups <server-groups>]
[--server-group-members <server-group-members>]
[--force]
<tenant-id>
Update the quotas for a tenant/user. (Supported by API versions '2.0' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<tenant-id>``
ID of tenant to set the quotas for.
**Optional arguments:**
``--user <user-id>``
ID of user to set the quotas for.
``--instances <instances>``
New value for the "instances" quota.
``--cores <cores>``
New value for the "cores" quota.
``--ram <ram>``
New value for the "ram" quota.
``--metadata-items <metadata-items>``
New value for the "metadata-items" quota.
``--injected-files <injected-files>``
New value for the "injected-files" quota.
``--injected-file-content-bytes <injected-file-content-bytes>``
New value for the "injected-file-content-bytes" quota.
``--injected-file-path-bytes <injected-file-path-bytes>``
New value for the "injected-file-path-bytes"
quota.
``--key-pairs <key-pairs>``
New value for the "key-pairs" quota.
``--server-groups <server-groups>``
New value for the "server-groups" quota.
``--server-group-members <server-group-members>``
New value for the "server-group-members"
quota.
``--force``
Whether force update the quota even if the
already used and reserved exceeds the new
quota.
.. _nova_reboot:
nova reboot
-----------
.. code-block:: console
usage: nova reboot [--hard] [--poll] <server> [<server> ...]
Reboot a server.
**Positional arguments:**
``<server>``
Name or ID of server(s).
**Optional arguments:**
``--hard``
Perform a hard reboot (instead of a soft one). Note: Ironic does
not currently support soft reboot; consequently, bare metal nodes
will always do a hard reboot, regardless of the use of this
option.
``--poll``
Poll until reboot is complete.
.. _nova_rebuild:
nova rebuild
------------
.. code-block:: console
usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll]
[--minimal] [--preserve-ephemeral] [--name <name>]
[--description <description>] [--meta <key=value>]
[--file <dst-path=src-path>]
[--trusted-image-certificate-id <trusted-image-certificate-id>]
[--trusted-image-certificates-unset]
<server> <image>
Shutdown, re-image, and re-boot a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<image>``
Name or ID of new image.
**Optional arguments:**
``--rebuild-password <rebuild-password>``
Set the provided admin password on the rebuilt
server.
``--poll``
Report the server rebuild progress until it
completes.
``--minimal``
Skips flavor/image lookups when showing
servers.
``--preserve-ephemeral``
Preserve the default ephemeral storage
partition on rebuild.
``--name <name>``
Name for the new server.
``--description <description>``
New description for the server. (Supported by
API versions '2.19' - '2.latest')
``--meta <key=value>``
Record arbitrary key/value metadata to
/meta_data.json on the metadata server. Can be
specified multiple times.
``--file <dst-path=src-path>``
Store arbitrary files from <src-path> locally
to <dst-path> on the new server. You may store
up to 5 files.
``--trusted-image-certificate-id <trusted-image-certificate-id>``
Trusted image certificate IDs used to validate certificates
during the image signature verification process.
Defaults to env[OS_TRUSTED_IMAGE_CERTIFICATE_IDS].
May be specified multiple times to pass multiple trusted image
certificate IDs. (Supported by API versions '2.63' - '2.latest')
``--trusted-image-certificates-unset``
Unset trusted_image_certificates in the server. Cannot be
specified with the ``--trusted-image-certificate-id`` option.
(Supported by API versions '2.63' - '2.latest')
.. _nova_refresh-network:
nova refresh-network
--------------------
.. code-block:: console
usage: nova refresh-network <server>
Refresh server network information.
**Positional arguments:**
``<server>``
Name or ID of a server for which the network cache should be
refreshed from neutron (Admin only).
.. _nova_remove-secgroup:
nova remove-secgroup
--------------------
.. code-block:: console
usage: nova remove-secgroup <server> <secgroup>
Remove a Security Group from a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<secgroup>``
Name of Security Group.
.. _nova_rescue:
nova rescue
-----------
.. code-block:: console
usage: nova rescue [--password <password>] [--image <image>] <server>
Reboots a server into rescue mode, which starts the machine from either the
initial image or a specified image, attaching the current boot disk as
secondary.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--password <password>``
The admin password to be set in the rescue
environment.
``--image <image>``
The image to rescue with.
.. _nova_reset-network:
nova reset-network
------------------
.. code-block:: console
usage: nova reset-network <server>
Reset network of a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_reset-state:
nova reset-state
----------------
.. code-block:: console
usage: nova reset-state [--all-tenants] [--active] <server> [<server> ...]
Reset the state of a server.
**Positional arguments:**
``<server>``
Name or ID of server(s).
**Optional arguments:**
``--all-tenants``
Reset state server(s) in another tenant by name (Admin only).
``--active``
Request the server be reset to "active" state instead of
"error" state (the default).
.. _nova_resize:
nova resize
-----------
.. code-block:: console
usage: nova resize [--poll] <server> <flavor>
Resize a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<flavor>``
Name or ID of new flavor.
**Optional arguments:**
``--poll``
Report the server resize progress until it completes.
.. _nova_resize-confirm:
nova resize-confirm
-------------------
.. code-block:: console
usage: nova resize-confirm <server>
Confirm a previous resize.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_resize-revert:
nova resize-revert
------------------
.. code-block:: console
usage: nova resize-revert <server>
Revert a previous resize (and return to the previous VM).
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_restore:
nova restore
------------
.. code-block:: console
usage: nova restore <server>
Restore a soft-deleted server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_resume:
nova resume
-----------
.. code-block:: console
usage: nova resume <server>
Resume a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_server-group-create:
nova server-group-create
------------------------
.. code-block:: console
usage: nova server-group-create [--rules <key=value>] <name> <policy>
Create a new server group with the specified details.
**Positional arguments:**
``<name>``
Server group name.
``<policy>``
Policy for the server groups.
``--rule``
Policy rules for the server groups. (Supported by API versions
'2.64' - '2.latest'). Currently, only the ``max_server_per_host`` rule
is supported for the ``anti-affinity`` policy. The ``max_server_per_host``
rule allows specifying how many members of the anti-affinity group can
reside on the same compute host. If not specified, only one member from
the same anti-affinity group can reside on a given host.
.. _nova_server-group-delete:
nova server-group-delete
------------------------
.. code-block:: console
usage: nova server-group-delete <id> [<id> ...]
Delete specific server group(s).
**Positional arguments:**
``<id>``
Unique ID(s) of the server group to delete.
.. _nova_server-group-get:
nova server-group-get
---------------------
.. code-block:: console
usage: nova server-group-get <id>
Get a specific server group.
**Positional arguments:**
``<id>``
Unique ID of the server group to get.
.. _nova_server-group-list:
nova server-group-list
----------------------
.. code-block:: console
usage: nova server-group-list [--limit <limit>] [--offset <offset>]
[--all-projects]
Print a list of all server groups.
**Optional arguments:**
``--limit <limit>``
Maximum number of server groups to display. If limit is
bigger than 'CONF.api.max_limit' option of Nova API,
limit 'CONF.api.max_limit' will be used instead.
``--offset <offset>``
The offset of groups list to display; use with limit to
return a slice of server groups.
``--all-projects``
Display server groups from all projects (Admin only).
.. _nova_server-migration-list:
nova server-migration-list
--------------------------
.. code-block:: console
usage: nova server-migration-list <server>
Get the migrations list of specified server. (Supported by API versions '2.23'
- '2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_server-migration-show:
nova server-migration-show
--------------------------
.. code-block:: console
usage: nova server-migration-show <server> <migration>
Get the migration of specified server. (Supported by API versions '2.23' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
``<migration>``
ID of migration.
.. _nova_server-tag-add:
nova server-tag-add
-------------------
.. code-block:: console
usage: nova server-tag-add <server> <tag> [<tag> ...]
Add one or more tags to a server. (Supported by API versions '2.26' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
``<tag>``
Tag(s) to add.
.. _nova_server-tag-delete:
nova server-tag-delete
----------------------
.. code-block:: console
usage: nova server-tag-delete <server> <tag> [<tag> ...]
Delete one or more tags from a server. (Supported by API versions '2.26' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
``<tag>``
Tag(s) to delete.
.. _nova_server-tag-delete-all:
nova server-tag-delete-all
--------------------------
.. code-block:: console
usage: nova server-tag-delete-all <server>
Delete all tags from a server. (Supported by API versions '2.26' - '2.latest')
[hint: use '--os-compute-api-version' flag to show help message for proper
version]
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_server-tag-list:
nova server-tag-list
--------------------
.. code-block:: console
usage: nova server-tag-list <server>
Get list of tags from a server. (Supported by API versions '2.26' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_server-tag-set:
nova server-tag-set
-------------------
.. code-block:: console
usage: nova server-tag-set <server> <tags> [<tags> ...]
Set list of tags to a server. (Supported by API versions '2.26' - '2.latest')
[hint: use '--os-compute-api-version' flag to show help message for proper
version]
**Positional arguments:**
``<server>``
Name or ID of server.
``<tags>``
Tag(s) to set.
.. _nova_service-delete:
nova service-delete
-------------------
.. code-block:: console
usage: nova service-delete <id>
Delete the service.
**Positional arguments:**
``<id>``
ID of service.
.. _nova_service-disable:
nova service-disable
--------------------
.. code-block:: console
usage: nova service-disable [--reason <reason>] <hostname> <binary>
Disable the service.
**Positional arguments:**
``<hostname>``
Name of host.
``<binary>``
Service binary.
**Optional arguments:**
``--reason <reason>``
Reason for disabling service.
.. _nova_service-enable:
nova service-enable
-------------------
.. code-block:: console
usage: nova service-enable <hostname> <binary>
Enable the service.
**Positional arguments:**
``<hostname>``
Name of host.
``<binary>``
Service binary.
.. _nova_service-force-down:
nova service-force-down
-----------------------
.. code-block:: console
usage: nova service-force-down [--unset] <hostname> <binary>
Force service to down. (Supported by API versions '2.11' - '2.latest') [hint:
use '--os-compute-api-version' flag to show help message for proper version]
**Positional arguments:**
``<hostname>``
Name of host.
``<binary>``
Service binary.
**Optional arguments:**
``--unset``
Unset the force state down of service.
.. _nova_service-list:
nova service-list
-----------------
.. code-block:: console
usage: nova service-list [--host <hostname>] [--binary <binary>]
Show a list of all running services. Filter by host & binary.
**Optional arguments:**
``--host <hostname>``
Name of host.
``--binary <binary>``
Service binary.
.. _nova_set-password:
nova set-password
-----------------
.. code-block:: console
usage: nova set-password <server>
Change the admin password for a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_shelve:
nova shelve
-----------
.. code-block:: console
usage: nova shelve <server>
Shelve a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_shelve-offload:
nova shelve-offload
-------------------
.. code-block:: console
usage: nova shelve-offload <server>
Remove a shelved server from the compute node.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_show:
nova show
---------
.. code-block:: console
usage: nova show [--minimal] [--wrap <integer>] <server>
Show details about the given server.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--minimal``
Skips flavor/image lookups when showing servers.
``--wrap <integer>``
Wrap the output to a specified length, or 0 to disable.
.. _nova_ssh:
nova ssh
--------
.. code-block:: console
usage: nova ssh [--port PORT] [--address-type ADDRESS_TYPE]
[--network <network>] [--ipv6] [--login <login>] [-i IDENTITY]
[--extra-opts EXTRA]
<server>
SSH into a server.
**Positional arguments:**
``<server>``
Name or ID of server.
**Optional arguments:**
``--port PORT``
Optional flag to indicate which port to use
for ssh. (Default=22)
``--address-type ADDRESS_TYPE``
Optional flag to indicate which IP type to
use. Possible values includes fixed and
floating (the Default).
``--network <network>``
Network to use for the ssh.
``--ipv6``
Optional flag to indicate whether to use an
IPv6 address attached to a server. (Defaults
to IPv4 address)
``--login <login>``
Login to use.
``-i IDENTITY, --identity IDENTITY``
Private key file, same as the -i option to the
ssh command.
``--extra-opts EXTRA``
Extra options to pass to ssh. see: man ssh.
.. _nova_start:
nova start
----------
.. code-block:: console
usage: nova start [--all-tenants] <server> [<server> ...]
Start the server(s).
**Positional arguments:**
``<server>``
Name or ID of server(s).
**Optional arguments:**
``--all-tenants``
Start server(s) in another tenant by name (Admin only).
.. _nova_stop:
nova stop
---------
.. code-block:: console
usage: nova stop [--all-tenants] <server> [<server> ...]
Stop the server(s).
**Positional arguments:**
``<server>``
Name or ID of server(s).
**Optional arguments:**
``--all-tenants``
Stop server(s) in another tenant by name (Admin only).
.. _nova_suspend:
nova suspend
------------
.. code-block:: console
usage: nova suspend <server>
Suspend a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_trigger-crash-dump:
nova trigger-crash-dump
-----------------------
.. code-block:: console
usage: nova trigger-crash-dump <server>
Trigger crash dump in an instance. (Supported by API versions '2.17' -
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
for proper version]
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_unlock:
nova unlock
-----------
.. code-block:: console
usage: nova unlock <server>
Unlock a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_unpause:
nova unpause
------------
.. code-block:: console
usage: nova unpause <server>
Unpause a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_unrescue:
nova unrescue
-------------
.. code-block:: console
usage: nova unrescue <server>
Restart the server from normal boot disk again.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_unshelve:
nova unshelve
-------------
.. code-block:: console
usage: nova unshelve <server>
Unshelve a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_update:
nova update
-----------
.. code-block:: console
usage: nova update [--name <name>] [--description <description>] <server>
Update the name or the description for a server.
**Positional arguments:**
``<server>``
Name (old name) or ID of server.
**Optional arguments:**
``--name <name>``
New name for the server.
``--description <description>``
New description for the server. If it equals to
empty string (i.g. ""), the server description
will be removed. (Supported by API versions
'2.19' - '2.latest')
.. _nova_usage:
nova usage
----------
.. code-block:: console
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
Show usage data for a single tenant.
**Optional arguments:**
``--start <start>``
Usage range start date ex 2012-01-20. (default: 4
weeks ago)
``--end <end>``
Usage range end date, ex 2012-01-20. (default:
tomorrow)
``--tenant <tenant-id>``
UUID of tenant to get usage for.
.. _nova_usage-list:
nova usage-list
---------------
.. code-block:: console
usage: nova usage-list [--start <start>] [--end <end>]
List usage data for all tenants.
**Optional arguments:**
``--start <start>``
Usage range start date ex 2012-01-20. (default: 4 weeks
ago)
``--end <end>``
Usage range end date, ex 2012-01-20. (default: tomorrow)
.. _nova_version-list:
nova version-list
-----------------
.. code-block:: console
usage: nova version-list
List all API versions.
.. _nova_volume-attach:
nova volume-attach
------------------
.. code-block:: console
usage: nova volume-attach <server> <volume> [<device>]
Attach a volume to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<volume>``
ID of the volume to attach.
``<device>``
Name of the device e.g. /dev/vdb. Use "auto" for autoassign (if
supported). Libvirt driver will use default device name.
.. _nova_volume-attachments:
nova volume-attachments
-----------------------
.. code-block:: console
usage: nova volume-attachments <server>
List all the volumes attached to a server.
**Positional arguments:**
``<server>``
Name or ID of server.
.. _nova_volume-detach:
nova volume-detach
------------------
.. code-block:: console
usage: nova volume-detach <server> <volume>
Detach a volume from a server.
**Positional arguments:**
``<server>``
Name or ID of server.
``<volume>``
ID of the volume to detach.
.. _nova_volume-update:
nova volume-update
------------------
.. code-block:: console
usage: nova volume-update <server> <src_volid> <dest_volid>
Update the attachment on the server. Migrates the data from an attached volume
to the specified available volume and swaps out the active attachment to the
new volume.
**Positional arguments:**
``<server>``
Name or ID of server.
``<src_volid>``
ID of the source (original) volume.
``<dest_volid>``
ID of the destination volume.
|