Azure provider: storage stuck in 'pending'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
Hi,
Trying to deploy the ubuntu-
| Unit Workload Agent Machine Public address Ports Message
| ubuntu-
| Unit Storage id Type Pool Size Status Message
| ubuntu-
The storage is definitely attached, and I can see it there both via SSH to the unit itself and via the Azure portal.
| ubuntu@machine-5:~$ df -h -t ext4
| Filesystem Size Used Avail Use% Mounted on
| /dev/sda1 31G 1.6G 30G 5% /
| /dev/sdc1 98G 61M 93G 1% /mnt
| ubuntu@machine-5:~$ sudo fdisk -l /dev/sdb
| Disk /dev/sdb: 100 GiB, 107374182400 bytes, 209715200 sectors
| Units: sectors of 1 * 512 = 512 bytes
| Sector size (logical/physical): 512 bytes / 4096 bytes
| I/O size (minimum/optimal): 4096 bytes / 4096 bytes
This is seen with Juju 2.7.6.
Changed in juju: | |
milestone: | none → 2.7.7 |
summary: |
- Azure storage stuck in 'pending' + Azure provider: storage stuck in 'pending' |
Changed in juju: | |
importance: | Undecided → Critical |
summary: |
- Azure provider: storage stuck in 'pending' + Azure provider: storage stuck in 'pending' blocking deployments (stuck + 'allocating') |
Changed in juju: | |
status: | New → Triaged |
Changed in juju: | |
milestone: | 2.7.7 → 2.8.1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
status: | Fix Released → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
The likely cause is that the volume is mounted at as a device where juju cannot reconcile the mount path with the pending volume. Matching is done based on a variety of factors (eg WWN, device id etc) and each substrate is slightly different. Often, a substrate might introduce a new storage class that mounts slightly differently and Juju needs updating to account for it. we've sen this on AWS with nvme volumes.