Skip to content

Commit

Permalink
Deployed a7dbd5c with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 4, 2023
1 parent 1e9d853 commit 118a31f
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 29 deletions.
140 changes: 138 additions & 2 deletions openstack/edpm_adoption/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#nova-compute-services-fast-forward-upgrade-from-wallaby-to-antelope" class="md-nav__link">
<span class="md-ellipsis">
Nova compute services fast-forward upgrade from Wallaby to Antelope
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -1092,6 +1101,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#nova-compute-services-fast-forward-upgrade-from-wallaby-to-antelope" class="md-nav__link">
<span class="md-ellipsis">
Nova compute services fast-forward upgrade from Wallaby to Antelope
</span>
</a>

</li>

</ul>
Expand All @@ -1118,7 +1136,10 @@ <h2 id="prerequisites">Prerequisites<a class="headerlink" href="#prerequisites"
<li>Previous Adoption steps completed.</li>
</ul>
<h2 id="variables">Variables<a class="headerlink" href="#variables" title="Permanent link">#</a></h2>
<p>(There are no shell variables necessary currently.)</p>
<p>Define the shell variables used in the Fast-forward upgrade steps below.
The values are just illustrative, use values that are correct for your environment:</p>
<div class="highlight"><pre><span></span><code><span class="nv">PODIFIED_DB_ROOT_PASSWORD</span><span class="o">=</span><span class="k">$(</span>oc<span class="w"> </span>get<span class="w"> </span>-o<span class="w"> </span>json<span class="w"> </span>secret/osp-secret<span class="w"> </span><span class="p">|</span><span class="w"> </span>jq<span class="w"> </span>-r<span class="w"> </span>.data.DbRootPassword<span class="w"> </span><span class="p">|</span><span class="w"> </span>base64<span class="w"> </span>-d<span class="k">)</span>
</code></pre></div>
<h2 id="pre-checks">Pre-checks<a class="headerlink" href="#pre-checks" title="Permanent link">#</a></h2>
<ul>
<li>Make sure the IPAM is configured</li>
Expand Down Expand Up @@ -1409,14 +1430,129 @@ <h2 id="post-checks">Post-checks<a class="headerlink" href="#post-checks" title=
<div class="highlight"><pre><span></span><code>oc wait --for condition=Ready osdpns/openstack --timeout=30m
</code></pre></div>
</li>
</ul>
<h2 id="nova-compute-services-fast-forward-upgrade-from-wallaby-to-antelope">Nova compute services fast-forward upgrade from Wallaby to Antelope<a class="headerlink" href="#nova-compute-services-fast-forward-upgrade-from-wallaby-to-antelope" title="Permanent link">#</a></h2>
<p>Nova services rolling upgrade cannot be done during adoption,
there is in a lock-step with Nova control plane services, because those
are managed independently by EDPM ansible, and Kubernetes operators.
Nova service operator and OpenStack Dataplane operator ensure upgrading
is done independently of each other, by configuring
<code>[upgrade_levels]compute=auto</code> for Nova services. Nova control plane
services apply the change right after CR is patched. Nova compute EDPM
services will catch up the same config change with ansible deployment
later on.</p>
<blockquote>
<p><strong>NOTE</strong>: Additional orchestration happening around the FFU workarounds
configuration for Nova compute EDPM service is a subject of future changes.</p>
</blockquote>
<ul>
<li>
<p>Wait for cell1 Nova compute EDPM services version updated (it may take some time):</p>
<p><div class="highlight"><pre><span></span><code>oc<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>-it<span class="w"> </span>mariadb-openstack-cell1<span class="w"> </span>--<span class="w"> </span>mysql<span class="w"> </span>--user<span class="o">=</span>root<span class="w"> </span>--password<span class="o">=</span><span class="si">${</span><span class="nv">PODIFIED_DB_ROOT_PASSWORD</span><span class="si">}</span><span class="w"> </span><span class="se">\</span>
<span class="w"> </span>-e<span class="w"> </span><span class="s2">&quot;select a.version from nova_cell1.services a join nova_cell1.services b where a.version!=b.version and a.binary=&#39;nova-compute&#39;;&quot;</span>
</code></pre></div>
The above query should return an empty result as a completion criterion.</p>
</li>
<li>
<p>Remove pre-FFU workarounds for Nova control plane services:</p>
<div class="highlight"><pre><span></span><code><span class="l l-Scalar l-Scalar-Plain">oc patch openstackcontrolplane openstack -n openstack --type=merge --patch &#39;</span>
<span class="l l-Scalar l-Scalar-Plain">spec</span><span class="p p-Indicator">:</span>
<span class="w"> </span><span class="nt">nova</span><span class="p">:</span>
<span class="w"> </span><span class="nt">template</span><span class="p">:</span>
<span class="w"> </span><span class="nt">cellTemplates</span><span class="p">:</span>
<span class="w"> </span><span class="nt">cell0</span><span class="p">:</span>
<span class="w"> </span><span class="nt">conductorServiceTemplate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">customServiceConfig</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="w"> </span><span class="nt">cell1</span><span class="p">:</span>
<span class="w"> </span><span class="nt">metadataServiceTemplate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">customServiceConfig</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="w"> </span><span class="nt">conductorServiceTemplate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">customServiceConfig</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="w"> </span><span class="nt">apiServiceTemplate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">customServiceConfig</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="w"> </span><span class="nt">metadataServiceTemplate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">customServiceConfig</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="w"> </span><span class="nt">schedulerServiceTemplate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">customServiceConfig</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="s">&#39;</span>
</code></pre></div>
</li>
<li>
<p>Wait for Nova control plane services' CRs to become ready:</p>
<div class="highlight"><pre><span></span><code>oc<span class="w"> </span><span class="nb">wait</span><span class="w"> </span>--for<span class="w"> </span><span class="nv">condition</span><span class="o">=</span>Ready<span class="w"> </span>--timeout<span class="o">=</span>300s<span class="w"> </span>Nova/nova
</code></pre></div>
</li>
<li>
<p>Remove pre-FFU workarounds for Nova compute EDPM services:</p>
<div class="highlight"><pre><span></span><code><span class="l l-Scalar l-Scalar-Plain">oc apply -f - &lt;&lt;EOF</span>
<span class="l l-Scalar l-Scalar-Plain">apiVersion</span><span class="p p-Indicator">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">v1</span>
<span class="nt">kind</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ConfigMap</span>
<span class="nt">metadata</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova-compute-ffu</span>
<span class="w"> </span><span class="nt">namespace</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">openstack</span>
<span class="nt">data</span><span class="p">:</span>
<span class="w"> </span><span class="nt">20-nova-compute-cell1-ffu-cleanup.conf</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">[workarounds]</span>
<span class="w"> </span><span class="no">disable_compute_service_check_for_ffu=false</span>
<span class="nn">---</span>
<span class="nt">apiVersion</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">dataplane.openstack.org/v1beta1</span>
<span class="nt">kind</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">OpenStackDataPlaneService</span>
<span class="nt">metadata</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova-compute-ffu</span>
<span class="w"> </span><span class="nt">namespace</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">openstack</span>
<span class="nt">spec</span><span class="p">:</span>
<span class="w"> </span><span class="nt">label</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova.compute.ffu</span>
<span class="w"> </span><span class="nt">configMaps</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova-compute-ffu</span>
<span class="w"> </span><span class="nt">secrets</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova-cell1-compute-config</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova-migration-ssh-key</span>
<span class="w"> </span><span class="nt">playbook</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">osp.edpm.nova</span>
<span class="nn">---</span>
<span class="nt">apiVersion</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">dataplane.openstack.org/v1beta1</span>
<span class="nt">kind</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">OpenStackDataPlaneDeployment</span>
<span class="nt">metadata</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">openstack-nova-compute-ffu</span>
<span class="w"> </span><span class="nt">namespace</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">openstack</span>
<span class="nt">spec</span><span class="p">:</span>
<span class="w"> </span><span class="nt">nodeSets</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">openstack</span>
<span class="w"> </span><span class="nt">servicesOverride</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">nova-compute-ffu</span>
<span class="l l-Scalar l-Scalar-Plain">EOF</span>
</code></pre></div>
</li>
<li>
<p>Wait for Nova compute EDPM service to become ready:</p>
<div class="highlight"><pre><span></span><code>oc<span class="w"> </span><span class="nb">wait</span><span class="w"> </span>--for<span class="w"> </span><span class="nv">condition</span><span class="o">=</span>Ready<span class="w"> </span>osdpd/openstack-nova-compute-ffu<span class="w"> </span>--timeout<span class="o">=</span>5m
</code></pre></div>
</li>
<li>
<p>Run Nova DB online migrations to complete FFU:</p>
<div class="highlight"><pre><span></span><code>oc<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>-it<span class="w"> </span>nova-cell0-conductor-0<span class="w"> </span>--<span class="w"> </span>nova-manage<span class="w"> </span>db<span class="w"> </span>online_data_migrations
oc<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>-it<span class="w"> </span>nova-cell1-conductor-0<span class="w"> </span>--<span class="w"> </span>nova-manage<span class="w"> </span>db<span class="w"> </span>online_data_migrations
</code></pre></div>
</li>
</ul>

<hr>
<div class="md-source-file">
<small>

Last update:
2023-11-21
2023-11-06

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,132 +2,132 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/ceph/ceph_rbd/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/ceph/ceph_rgw/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/contributing/development_environment/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/contributing/documentation/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/contributing/tests/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/backend_services_deployment/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/ceph_backend_configuration/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/cinder_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/edpm_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/glance_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/heat_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/horizon_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/ironic_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/keystone_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/manila_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/mariadb_copy/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/neutron_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/node-selector/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/nova_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/ovn_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/placement_adoption/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/planning/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/pull_openstack_configuration/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/stop_openstack_services/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://openstack-k8s-operators.github.io/data-plane-adoption/openstack/troubleshooting/</loc>
<lastmod>2023-11-29</lastmod>
<lastmod>2023-12-04</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 118a31f

Please sign in to comment.