{"id":1974,"date":"2022-05-31T09:50:52","date_gmt":"2022-05-31T07:50:52","guid":{"rendered":"https:\/\/nine30.info\/?p=1974"},"modified":"2022-05-31T09:50:52","modified_gmt":"2022-05-31T07:50:52","slug":"upgrade-salt-master-on-vra-ssc-appliance","status":"publish","type":"post","link":"https:\/\/nine30.nxt70.com\/index.php\/2022\/05\/31\/upgrade-salt-master-on-vra-ssc-appliance\/","title":{"rendered":"Upgrade Salt Master on vRA SSC Appliance"},"content":{"rendered":"\n<p>vRealize Automation SaltStack Config (vRA SSC) appliance is managed using the vRealize Suite Lifecycle Manager (vRSLCM), this makes easy management activities such as install and upgrade. However, when upgrading vRA SSC it only upgrades SaltStack Config console, while for compatibility reason it doesn&#8217;t update the Salt Master installed on the appliance. As updating the Master can impact State files operations (think about deprecated functionalities), it is up to the user to update the Salt Master if and when it makes sense for the user to do it.<\/p>\n\n\n\n<p>Updating Salt is a simple and very well documented process, among many documentation options I would point you to <a rel=\"noreferrer noopener\" href=\"https:\/\/kb.vmware.com\/s\/article\/50122319\" target=\"_blank\">this<\/a> VMware KB article. So why writing a post about this? Well, vRA SSC appliance is based on Photon OS that leverages <code>tdnf<\/code> as default package manager and unfortunately there is no (at least I was not able to find) instructions for this distro \/ package manager combo. So, here you go!<\/p>\n\n\n\n<p>Before upgrading Salt it is wise take a snapshot of your vRA SSC VM, and then you can ssh into the appliance and run the following command to download and cache metadata for enabled repositories:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tdnf makecache<\/code><\/pre>\n\n\n\n<p>You can now run the upgrade command, please note that this upgrades both Master and Minion:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tdnf upgrade salt3-master<\/code><\/pre>\n\n\n\n<p>In my lab I am running Salt 3002.5 and I am upgrading to the most recent version at the time of this post (3004.1):<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"2004\" src=\"https:\/\/nine30.info\/wp-content\/uploads\/2022\/04\/Screenshot-2022-04-14-at-10.17.14-1024x284.png\" alt=\"\" class=\"wp-image-2004\"\/><\/figure>\n<\/figure>\n\n\n\n<p>Restart your Salt Master:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart salt-master<\/code><\/pre>\n\n\n\n<p>Check the Master is updated to the latest version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>salt-master -V<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"2005\" src=\"https:\/\/nine30.info\/wp-content\/uploads\/2022\/04\/Screenshot-2022-04-14-at-10.18.54-1024x285.png\" alt=\"\" class=\"wp-image-2005\"\/><\/figure>\n<\/figure>\n\n\n\n<p>Restart your minion:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart salt-minion<\/code><\/pre>\n\n\n\n<p>Check the Minion is also updated to the latest version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>salt-minion -V<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"2006\" src=\"https:\/\/nine30.info\/wp-content\/uploads\/2022\/04\/Screenshot-2022-04-14-at-10.21.26-1024x285.png\" alt=\"\" class=\"wp-image-2006\"\/><\/figure>\n<\/figure>\n\n\n\n<p>You can also check the Minion upgrade is reflected into the vRA SSC Console. Access your vRA SSC UI and browse to Minions &gt; All Minions:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"2008\" src=\"https:\/\/nine30.info\/wp-content\/uploads\/2022\/04\/Screenshot-2022-04-23-at-17.03.05-1024x443.png\" alt=\"\" class=\"wp-image-2008\"\/><\/figure>\n<\/figure>\n\n\n\n<p>Hope this can be helpful for you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading vRA SSC only upgrades SaltStack Config console components, for compatibility reason you are allowed to upgrade Salt Master(s) as per your convenience. Here is how do it.<\/p>\n","protected":false},"author":1,"featured_media":2007,"comment_status":"open","ping_status":"open","sticky":false,"template":"templates\/template-cover.php","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[99,126,130,143,178,186],"class_list":["post-1974","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-linux","tag-oss","tag-photonos","tag-salt","tag-vmware","tag-vrealizeautomation","entry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/posts\/1974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/comments?post=1974"}],"version-history":[{"count":0,"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/posts\/1974\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/media?parent=1974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/categories?post=1974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nine30.nxt70.com\/index.php\/wp-json\/wp\/v2\/tags?post=1974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}