MAAS 2 Storage Problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned |
Bug Description
Reported by Shilpa Kaul.
Now I have upgraded to MAAS 2.0 and then trying my charm deployment. This time I am not getting the curtin issue and MAAS status is saying "Deployed" and machine status is started. The issue I am facing is that juju agent does not start if I deploy the charm with --storage option = maas. My previous issue is resolved, but this is the new issue I am seeing with MAAS 2.0.
The juju agent starts successfully if I dont make use of --storage parameter or use --storage disks=loop, this behavior is seen only when --storage disks=maas is used.
The Prometheus charm supports storage so you can test with:
juju deploy cs:~prometheus-
And then check that the unit installs properly.
# juju storage --volume --format=yaml
volumes:
10/6:
provider-id: volume-10-6
storage: disks/6
attachments:
machines:
"10":
device: loop0
units:
machine: "10"
location: /dev/loop0
size: 1024
persistent: false
status:
current: attached
since: 09 Nov 2016 10:14:02+05:30
11/7:
provider-id: volume-11-7
storage: disks/7
attachments:
machines:
"11":
device: loop0
units:
machine: "11"
location: /dev/loop0
size: 1024
persistent: false
status:
current: attached
since: 09 Nov 2016 10:53:45+05:30
ubuntu@vm6:~$ sudo lsblk --json
{
"blockdevices": [
{"name": "sda", "maj:min": "8:0", "rm": "0", "size": "30G", "ro": "0", "type": "disk", "mountpoint": null,
]
},
{"name": "sdb", "maj:min": "8:16", "rm": "0", "size": "30G", "ro": "0", "type": "disk", "mountpoint": null,
]
},
{"name": "sr0", "maj:min": "11:0", "rm": "1", "size": "1024M", "ro": "0", "type": "rom", "mountpoint": null},
{"name": "loop0", "maj:min": "7:0", "rm": "0", "size": "1G", "ro": "0", "type": "loop", "mountpoint": null}
]
}
Changed in juju: | |
status: | In Progress → Triaged |
assignee: | Michael Foord (mfoord) → nobody |
milestone: | 2.1.0 → 2.2.0 |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
I can reproduce this bug. The deployed machine never gets beyond "agent initializing". Nothing immediately obvious in the logs.