{"id":4575,"date":"2019-05-10T16:51:43","date_gmt":"2019-05-10T11:21:43","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=4575"},"modified":"2026-10-21T14:06:05","modified_gmt":"2026-10-21T08:36:05","slug":"how-to-install-openstack-utils-package-on-centos-7-6","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-openstack-utils-package-on-centos-7-6\/","title":{"rendered":"How to install openstack-utils package On CentOS 7.6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Post Date:<\/strong> May 10, 2019 <br><strong>Last Updated:<\/strong> October 21, 2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This guide explains how to install openstack-utils and fix the openstack-status command not found error on CentOS 7.6. The <code>openstack-status<\/code> command shows an overall view of your OpenStack services, but it isn&#8217;t available until you add the package that provides it.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">-bash: openstack-status: command not found\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The openstack-utils package isn&#8217;t installed by default, which is why that error appears. Besides <code>openstack-status<\/code>, it also provides <code>openstack-config<\/code> and <code>openstack-service<\/code>, covered below.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> CentOS 7 reached end-of-life in June 2024. OpenStack&#8217;s install guide lists RDO packages for CentOS 7 only up to the Train release, with no maintained releases on CentOS 7. RDO&#8217;s own project page also reports that no new RPM releases have been published after Epoxy (2025.1), with an effort under way to resume them. These steps are for maintaining an existing RPM-based deployment. For anything new, check <a href=\"https:\/\/www.rdoproject.org\/\" target=\"_blank\" rel=\"noopener\">RDO<\/a> for the current state first.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you install the openstack-utils package, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A CentOS 7.6 server running OpenStack from RPM packages<\/li>\n\n\n\n<li>Root or sudo access<\/li>\n\n\n\n<li>Your OpenStack admin credentials file, if you want the full output from <code>openstack-status<\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Architecture<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The openstack-utils package is a small set of shell scripts placed in <code>\/usr\/bin<\/code>. It isn&#8217;t a service and runs only when you call it<\/li>\n\n\n\n<li><code>openstack-status<\/code> checks which OpenStack packages and services exist on the node you run it on, and whether each service is running<\/li>\n\n\n\n<li>When your admin credentials are loaded, it can also ask the OpenStack APIs for more details, so the output covers more than the local machine<\/li>\n\n\n\n<li>The package comes from the OpenStack (RDO) repositories, not from CentOS&#8217;s base repositories, so that repository must be enabled before <code>yum<\/code> can find it<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The image below shows how the openstack-utils package fits in, from the command you type to the status report you read. See OpenStack&#8217;s guide to <a href=\"https:\/\/docs.openstack.org\/install-guide\/environment-packages-rdo.html\" target=\"_blank\" rel=\"noopener\">RDO packages for CentOS<\/a> for how the repository is set up.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/openstack-utils-Architecture-Flow-Diagram.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"560\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/openstack-utils-Architecture-Flow-Diagram-1024x560.png\" alt=\"\" class=\"wp-image-12412\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/openstack-utils-Architecture-Flow-Diagram-1024x560.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/openstack-utils-Architecture-Flow-Diagram-300x164.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/openstack-utils-Architecture-Flow-Diagram-768x420.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/openstack-utils-Architecture-Flow-Diagram.png 1519w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Install the openstack-utils Package<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Confirm the Error<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">openstack-status\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the package is missing, you&#8217;ll see the command not found message above.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Enable the OpenStack Repository<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The openstack-utils package is provided through the OpenStack (RDO) repository. If your server was deployed from RDO, it&#8217;s probably enabled already. Check:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">yum repolist | grep -i openstack\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If nothing is listed, install the repository package that matches the OpenStack release you run. You can list what&#8217;s available:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">yum list available \"centos-release-openstack-*\"\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then install the one for your release, for example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo yum install -y centos-release-openstack-&lt;release>\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;release&gt;<\/code> with your release name (for example <code>rocky<\/code>, <code>stein<\/code>, or <code>train<\/code>).<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">If <code>yum<\/code> can&#8217;t reach its mirrors at all, that&#8217;s most likely because CentOS 7 is end-of-life and its standard repositories have moved to the CentOS vault archive. You&#8217;ll need to point <code>yum<\/code> at that archive first.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">3. Install openstack-utils<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This installs the openstack-utils package and its scripts:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo yum install -y openstack-utils\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4. Load Your Admin Credentials<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For the full report, load your admin credentials into the shell first. The file name depends on how OpenStack was deployed. Deployments made with Packstack create <code>keystonerc_admin<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">source ~\/keystonerc_admin\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Without credentials, <code>openstack-status<\/code> may show only the local service status and warn that they aren&#8217;t loaded.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Check OpenStack Services Status<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo openstack-status\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ll get a report grouped by service, showing whether each one is active.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using the Other openstack-utils Tools<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The openstack-utils package includes more than <code>openstack-status<\/code>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>openstack-service<\/code><\/strong> starts, stops, restarts, and lists OpenStack services in one command:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo openstack-service status\nsudo openstack-service restart nova\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>openstack-config<\/code><\/strong> reads and changes values in OpenStack&#8217;s <code>.conf<\/code> files without opening an editor:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo openstack-config --get \/etc\/nova\/nova.conf DEFAULT my_ip\nsudo openstack-config --set \/etc\/nova\/nova.conf vnc server_proxyclient_address 192.168.1.5\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Back up a config file before changing it, and restart the affected service afterward for the change to apply.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Still Seeing openstack-status Command Not Found?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you still get the openstack-status command not found error after installing, check these:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The install failed.<\/strong> Re-run <code>sudo yum install -y openstack-utils<\/code> and read the output for errors<\/li>\n\n\n\n<li><strong>The repository isn&#8217;t enabled.<\/strong> If <code>yum<\/code> reports no package available, go back to Step 2<\/li>\n\n\n\n<li><strong>You&#8217;re on a different node.<\/strong> The package must be installed on the machine where you run the command<\/li>\n\n\n\n<li><strong>A very limited <code>PATH<\/code> in <code>sudo<\/code>.<\/strong> Run <code>rpm -ql openstack-utils | grep status<\/code> to find the exact path, then run it by full path<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The openstack-status command not found error just means the openstack-utils package isn&#8217;t installed. To install openstack-utils, enable the OpenStack (RDO) repository first, then run <code>yum install openstack-utils<\/code>, load your admin credentials, and run <code>openstack-status<\/code>. Keep in mind that CentOS 7 and its RPM-based OpenStack releases are end-of-life, so treat this as maintenance for an existing deployment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Is the openstack-utils package installed by default?<\/strong> No. It isn&#8217;t part of a default CentOS install, and it isn&#8217;t always installed by OpenStack deployment tools either, which is why the command is missing until you add it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Does the openstack-utils package work on containerized OpenStack deployments?<\/strong> Generally it reports on services installed from packages on the host. On container-based deployments such as Kolla, it may show little or nothing, so use that platform&#8217;s own tools instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why does openstack-status show only some of the information?<\/strong> Your admin credentials probably aren&#8217;t loaded in the shell. Source your admin credentials file and run it again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Can I install openstack-utils without enabling the OpenStack repository?<\/strong> Not from CentOS&#8217;s base repositories. The package is provided through the OpenStack (RDO) repositories, so enable one first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-single-node-openstack-on-centos-7-6\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Install single node OpenStack on CentOS 7.6<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/failed-to-connect-to-server-vnc-console-in-openstack\/\" target=\"_blank\" rel=\"noreferrer noopener\">Failed to connect to server VNC console in Openstack<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Talk to Our Technology Experts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Running or migrating an OpenStack cloud? Our team can help with OpenStack deployment, service monitoring and troubleshooting, and ongoing cloud infrastructure support.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/contact\">Connect with our technology experts.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Date: May 10, 2019 Last Updated: October 21, 2026 Introduction This guide explains how to install openstack-utils and fix [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12415,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[622],"class_list":["post-4575","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-aws","tag-openstack","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1bN","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/Installing-openstack-utils-on-CentOS-7.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4575"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4575\/revisions"}],"predecessor-version":[{"id":12413,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4575\/revisions\/12413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/12415"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}