{"id":7600,"date":"2018-12-13T23:04:00","date_gmt":"2018-12-13T23:04:00","guid":{"rendered":"https:\/\/octopuscs.com\/?p=7600"},"modified":"2024-09-25T23:07:58","modified_gmt":"2024-09-25T23:07:58","slug":"how-to-set-a-root-password-for-your-openstack-images","status":"publish","type":"post","link":"https:\/\/octopuscs.com\/?p=7600","title":{"rendered":"How to set a root password for your Openstack images"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"7600\" class=\"elementor elementor-7600\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8773ba5 elementor-section-boxed elementor-section-height-default elementor-section-height-default rt-parallax-bg-no\" data-id=\"8773ba5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-00f7af6\" data-id=\"00f7af6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c10ed9f elementor-widget elementor-widget-text-editor\" data-id=\"c10ed9f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h4>Login via console to your failed openstack deployment<\/h4><p>\u00a0<\/p><p>While installing Redhat Openstack on Baremetal with lots of complicated networking, you might need to access\u00a0Linux via the console. \u00a0Redhat images do not come with a default username and password. So you need to configure the overcloud-full image to have a default password for root.<br \/><code>$ sudo yum install libguestfs-tools<br \/>$ source .\/stackrc<br \/>$ virt-customize -a overcloud-full.qcow2 --root-password password:YOUR-SECURE-PASSWORD<br \/>$ openstack overcloud image upload --update-existing<\/code><\/p><p>This will install and set the root password, then upload it to the undercloud Glance. This is the simplest way to update the password.\u00a0<\/p><p>In order to add a password to images used in the Overcloud to launch VM Instances. Do the above virt-customize command before creating the image with something like:<\/p><p>\u00a0<code>openstack image create --disk-format qcow2 \u00a0--file rhel-server-7.5-update-4-x86_64-kvm.qcow2 rhel-7.5<\/code><\/p><p>Octopus Computer Solutions is a<a href=\"https:\/\/redhat.secure.force.com\/finder\/PFPartnerDetail?id=001f200001WQkMRAA1\" target=\"_blank\" rel=\"noopener\">\u00a0Red Hat business partner.<\/a>\u00a0We deploy\u00a0<a href=\"http:\/\/octopuscs.com\/openstack\">OpenStack<\/a>\u00a0and\u00a0<a href=\"http:\/\/octopuscs.com\/services\/openshift-deployment\">OpenShift<\/a>\u00a0throughout Israel. We have encountered customers which wanted to have an image of the OpenStack host with a customized password. This is a small How-To on how to do it.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Login via console to your failed openstack deployment \u00a0 While installing Redhat Openstack on Baremetal with lots of complicated networking, you might need to access\u00a0Linux via the console. \u00a0Redhat images do not come with a default username and password. So you need to configure the overcloud-full image to have a default password for root.$ sudo [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":7579,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[73,71],"class_list":["post-7600","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","tag-openstack","tag-red-hat"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to set a root password for your Openstack images - Octopus Computer Solutions<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/octopuscs.com\/?p=7600\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set a root password for your Openstack images - Octopus Computer Solutions\" \/>\n<meta property=\"og:description\" content=\"Login via console to your failed openstack deployment \u00a0 While installing Redhat Openstack on Baremetal with lots of complicated networking, you might need to access\u00a0Linux via the console. \u00a0Redhat images do not come with a default username and password. So you need to configure the overcloud-full image to have a default password for root.$ sudo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/octopuscs.com\/?p=7600\" \/>\n<meta property=\"og:site_name\" content=\"Octopus Computer Solutions\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/octopuscs\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-13T23:04:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-25T23:07:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1437\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Daniel Kallner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@octopuscs\" \/>\n<meta name=\"twitter:site\" content=\"@octopuscs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daniel Kallner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600\"},\"author\":{\"name\":\"Daniel Kallner\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#\\\/schema\\\/person\\\/b10d071ebda1e3f3d371a8ef9eb1ea73\"},\"headline\":\"How to set a root password for your Openstack images\",\"datePublished\":\"2018-12-13T23:04:00+00:00\",\"dateModified\":\"2024-09-25T23:07:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600\"},\"wordCount\":160,\"publisher\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/octopuscs.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg\",\"keywords\":[\"openstack\",\"red hat\"],\"articleSection\":[\"Articles\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600\",\"url\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600\",\"name\":\"How to set a root password for your Openstack images - Octopus Computer Solutions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/octopuscs.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg\",\"datePublished\":\"2018-12-13T23:04:00+00:00\",\"dateModified\":\"2024-09-25T23:07:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/octopuscs.com\\\/?p=7600\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#primaryimage\",\"url\":\"https:\\\/\\\/octopuscs.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/octopuscs.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg\",\"width\":2560,\"height\":1437},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/?p=7600#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/octopuscs.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set a root password for your Openstack images\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#website\",\"url\":\"https:\\\/\\\/octopuscs.com\\\/\",\"name\":\"Octopus Computer Solutions\",\"description\":\"Your Cloud Experts\",\"publisher\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/octopuscs.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#organization\",\"name\":\"Octopus Computer Solutions\",\"url\":\"https:\\\/\\\/octopuscs.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/octopuscs.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ocs_logo_round_corners.png\",\"contentUrl\":\"https:\\\/\\\/octopuscs.com\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ocs_logo_round_corners.png\",\"width\":1032,\"height\":242,\"caption\":\"Octopus Computer Solutions\"},\"image\":{\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/octopuscs\\\/\",\"https:\\\/\\\/x.com\\\/octopuscs\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/octopuscs\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/octopuscs.com\\\/#\\\/schema\\\/person\\\/b10d071ebda1e3f3d371a8ef9eb1ea73\",\"name\":\"Daniel Kallner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c013b490ec8085b52a2fe1ebe9755ae9adaac911296ed56566e288c421a9136?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c013b490ec8085b52a2fe1ebe9755ae9adaac911296ed56566e288c421a9136?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c013b490ec8085b52a2fe1ebe9755ae9adaac911296ed56566e288c421a9136?s=96&d=mm&r=g\",\"caption\":\"Daniel Kallner\"},\"url\":\"https:\\\/\\\/octopuscs.com\\\/?author=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set a root password for your Openstack images - Octopus Computer Solutions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/octopuscs.com\/?p=7600","og_locale":"en_US","og_type":"article","og_title":"How to set a root password for your Openstack images - Octopus Computer Solutions","og_description":"Login via console to your failed openstack deployment \u00a0 While installing Redhat Openstack on Baremetal with lots of complicated networking, you might need to access\u00a0Linux via the console. \u00a0Redhat images do not come with a default username and password. So you need to configure the overcloud-full image to have a default password for root.$ sudo [&hellip;]","og_url":"https:\/\/octopuscs.com\/?p=7600","og_site_name":"Octopus Computer Solutions","article_publisher":"https:\/\/www.facebook.com\/octopuscs\/","article_published_time":"2018-12-13T23:04:00+00:00","article_modified_time":"2024-09-25T23:07:58+00:00","og_image":[{"width":2560,"height":1437,"url":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg","type":"image\/jpeg"}],"author":"Daniel Kallner","twitter_card":"summary_large_image","twitter_creator":"@octopuscs","twitter_site":"@octopuscs","twitter_misc":{"Written by":"Daniel Kallner","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/octopuscs.com\/?p=7600#article","isPartOf":{"@id":"https:\/\/octopuscs.com\/?p=7600"},"author":{"name":"Daniel Kallner","@id":"https:\/\/octopuscs.com\/#\/schema\/person\/b10d071ebda1e3f3d371a8ef9eb1ea73"},"headline":"How to set a root password for your Openstack images","datePublished":"2018-12-13T23:04:00+00:00","dateModified":"2024-09-25T23:07:58+00:00","mainEntityOfPage":{"@id":"https:\/\/octopuscs.com\/?p=7600"},"wordCount":160,"publisher":{"@id":"https:\/\/octopuscs.com\/#organization"},"image":{"@id":"https:\/\/octopuscs.com\/?p=7600#primaryimage"},"thumbnailUrl":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg","keywords":["openstack","red hat"],"articleSection":["Articles"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/octopuscs.com\/?p=7600","url":"https:\/\/octopuscs.com\/?p=7600","name":"How to set a root password for your Openstack images - Octopus Computer Solutions","isPartOf":{"@id":"https:\/\/octopuscs.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/octopuscs.com\/?p=7600#primaryimage"},"image":{"@id":"https:\/\/octopuscs.com\/?p=7600#primaryimage"},"thumbnailUrl":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg","datePublished":"2018-12-13T23:04:00+00:00","dateModified":"2024-09-25T23:07:58+00:00","breadcrumb":{"@id":"https:\/\/octopuscs.com\/?p=7600#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/octopuscs.com\/?p=7600"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/octopuscs.com\/?p=7600#primaryimage","url":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg","contentUrl":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg","width":2560,"height":1437},{"@type":"BreadcrumbList","@id":"https:\/\/octopuscs.com\/?p=7600#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/octopuscs.com\/"},{"@type":"ListItem","position":2,"name":"How to set a root password for your Openstack images"}]},{"@type":"WebSite","@id":"https:\/\/octopuscs.com\/#website","url":"https:\/\/octopuscs.com\/","name":"Octopus Computer Solutions","description":"Your Cloud Experts","publisher":{"@id":"https:\/\/octopuscs.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/octopuscs.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/octopuscs.com\/#organization","name":"Octopus Computer Solutions","url":"https:\/\/octopuscs.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/octopuscs.com\/#\/schema\/logo\/image\/","url":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/ocs_logo_round_corners.png","contentUrl":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/ocs_logo_round_corners.png","width":1032,"height":242,"caption":"Octopus Computer Solutions"},"image":{"@id":"https:\/\/octopuscs.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/octopuscs\/","https:\/\/x.com\/octopuscs","https:\/\/www.linkedin.com\/company\/octopuscs"]},{"@type":"Person","@id":"https:\/\/octopuscs.com\/#\/schema\/person\/b10d071ebda1e3f3d371a8ef9eb1ea73","name":"Daniel Kallner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8c013b490ec8085b52a2fe1ebe9755ae9adaac911296ed56566e288c421a9136?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8c013b490ec8085b52a2fe1ebe9755ae9adaac911296ed56566e288c421a9136?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8c013b490ec8085b52a2fe1ebe9755ae9adaac911296ed56566e288c421a9136?s=96&d=mm&r=g","caption":"Daniel Kallner"},"url":"https:\/\/octopuscs.com\/?author=3"}]}},"jetpack_featured_media_url":"https:\/\/octopuscs.com\/wp-content\/uploads\/2024\/09\/taylor-vick-M5tzZtFCOfs-unsplash-scaled.jpg","_links":{"self":[{"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/posts\/7600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/octopuscs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7600"}],"version-history":[{"count":4,"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/posts\/7600\/revisions"}],"predecessor-version":[{"id":7604,"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/posts\/7600\/revisions\/7604"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/octopuscs.com\/index.php?rest_route=\/wp\/v2\/media\/7579"}],"wp:attachment":[{"href":"https:\/\/octopuscs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/octopuscs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/octopuscs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}