Update Servers/Virtualization/OpenStack/Ansible Openstack.md

This commit is contained in:
2024-12-09 04:40:29 -07:00
parent 429212438c
commit 11e024cdda

View File

@ -128,7 +128,7 @@ pvcreate --metadatasize 2048 /dev/sdb
vgcreate cinder-volumes /dev/sdb vgcreate cinder-volumes /dev/sdb
``` ```
!!! error "`Cannot use /dev/sdb: device is partitioned`" !!! failure "`Cannot use /dev/sdb: device is partitioned`"
You may (in rare cases) see the following error when trying to run `pvcreate --metadatasize 2048 /dev/sdb`, if that happens, just use `lsblk` to get the drive of the expected disk. In my example, we want the 500GB disk located at `/dev/sda`, seen in the example below: You may (in rare cases) see the following error when trying to run `pvcreate --metadatasize 2048 /dev/sdb`, if that happens, just use `lsblk` to get the drive of the expected disk. In my example, we want the 500GB disk located at `/dev/sda`, seen in the example below:
```sh ```sh
[root@openstack-node-02 nicole]# lsblk [root@openstack-node-02 nicole]# lsblk
@ -140,4 +140,9 @@ vgcreate cinder-volumes /dev/sdb
├─sdb3 8:19 0 15.7G 0 part [SWAP] ├─sdb3 8:19 0 15.7G 0 part [SWAP]
└─sdb4 8:20 0 232.7G 0 part / └─sdb4 8:20 0 232.7G 0 part /
sr0 11:0 1 1024M 0 rom sr0 11:0 1 1024M 0 rom
``` ```
!!! question "End of Current Documentation"
This is the end of where I have currently iterated in my lab and followed-along with the official documentation while generalizing it for my specific lab scenarios. The following link is where I am currently at/stuck and need to revisit at my earliest convenience.
https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/targethosts.html#configuring-the-network