Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(bugfix): Lack of volume group should not produce error #16

Merged
merged 1 commit into from
May 24, 2024

Conversation

lasith-kg
Copy link
Collaborator

@lasith-kg lasith-kg commented May 24, 2024

We should not produce an error if a Physical Volume does not have an associated Volume Group.

I introduced this bug in the release of 1.1.3 Reference

$ sudo /usr/local/sbin/ebs-bootstrap -mode prompt
🔵 Nitro NVMe detected: /dev/nvme10n1 -> /dev/sdk
🔵 Nitro NVMe detected: /dev/nvme0n1 -> /dev/sda1
🔵 Nitro NVMe detected: /dev/nvme2n1 -> /dev/sde
🔵 Nitro NVMe detected: /dev/nvme9n1 -> /dev/sdf
🔵 Nitro NVMe detected: /dev/nvme5n1 -> /dev/sdc
🔵 Nitro NVMe detected: /dev/nvme6n1 -> /dev/sdj
🔵 Nitro NVMe detected: /dev/nvme3n1 -> /dev/sdh
🔵 Nitro NVMe detected: /dev/nvme1n1 -> /dev/sdi
🔵 Nitro NVMe detected: /dev/nvme7n1 -> /dev/sdg
🔵 Nitro NVMe detected: /dev/nvme8n1 -> /dev/sdd
🔵 Nitro NVMe detected: /dev/nvme4n1 -> /dev/sdl
🔴 /dev/nvme6n1: Physical volume has no volume group

```
$ sudo /usr/local/sbin/ebs-bootstrap -mode prompt
🔵 Nitro NVMe detected: /dev/nvme10n1 -> /dev/sdk
🔵 Nitro NVMe detected: /dev/nvme0n1 -> /dev/sda1
🔵 Nitro NVMe detected: /dev/nvme2n1 -> /dev/sde
🔵 Nitro NVMe detected: /dev/nvme9n1 -> /dev/sdf
🔵 Nitro NVMe detected: /dev/nvme5n1 -> /dev/sdc
🔵 Nitro NVMe detected: /dev/nvme6n1 -> /dev/sdj
🔵 Nitro NVMe detected: /dev/nvme3n1 -> /dev/sdh
🔵 Nitro NVMe detected: /dev/nvme1n1 -> /dev/sdi
🔵 Nitro NVMe detected: /dev/nvme7n1 -> /dev/sdg
🔵 Nitro NVMe detected: /dev/nvme8n1 -> /dev/sdd
🔵 Nitro NVMe detected: /dev/nvme4n1 -> /dev/sdl
🔴 /dev/nvme6n1: Physical volume has no volume group
```
@lasith-kg lasith-kg merged commit a1c22dc into main May 24, 2024
4 checks passed
@lasith-kg lasith-kg deleted the bugfix/volume-group branch May 24, 2024 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants