Comment 17 for bug 1674148

Revision history for this message
Ante Karamatić (ivoks) wrote : Re: [Bug 1674148] Re: hook for storage: storage already attached - Juju using already mounted disk

Yes. Unfortunately, one can't prevent LP from sending an email or cancel
the comment. As soon as I commented, I've realized that MAAS is doing the
right thing. I've hid the comment.

So, now MAAS is doing the right thing, but juju's agent still doesn't
start. I'll do more testing and provide debugging data tomorrow.

pon, 17. tra 2017. 15:30 Andres Rodriguez <email address hidden> je
napisao:

> @ante,
>
> Looking at the output, the result seems correct. You have requested a disk
> root,0,1. Root is 199 where both the mbr and / are at. If you didn't
> specify "root" Juju has done it itself provided that the first disk is
> always the root disk.
>
> You have requested a disk
> On Sat, Apr 15, 2017 at 2:25 PM Ante Karamatić <
> <email address hidden>>
> wrote:
>
> > With MAAS 2.2.0~rc2+bzr5983, I still get:
> >
> > ...
> > "used_for": "MBR partitioned with 1 partition",
> > "block_size": 4096,
> > "model": "INTEL SSDSC2BX48",
> > "path": "/dev/disk/by-dname/sde",
> > "partition_table_type": "MBR",
> > "id": 199,
> > "used_size": 480102055936,
> > "id_path": "/dev/disk/by-id/wwn-0x55cd2e404c356cc7",
> > "size": 480103981056,
> > "resource_uri":
> "/MAAS/api/2.0/nodes/dx68b6/blockdevices/199/",
> > "uuid": null,
> > "partitions": [
> > {
> > "system_id": "dx68b6",
> > "filesystem": {
> > "fstype": "ext4",
> > "mount_point": "/",
> > "uuid": "c348c091-fe4f-4766-80ff-3d5da3278031",
> > "label": "",
> > "mount_options": ""
> > },
> > "used_for": "ext4 formatted filesystem mounted at /",
> > "resource_uri":
> > "/MAAS/api/2.0/nodes/dx68b6/blockdevices/199/partition/45",
> > "bootable": false,
> > "path": "/dev/disk/by-dname/sde-part1",
> > "size": 480096813056,
> > "uuid": "0a762d55-5c87-46df-af76-a6417fb76041",
> > "id": 45,
> > "type": "partition",
> > "device_id": 199
> > }
> > ],
> > "available_size": 0,
> > "system_id": "dx68b6",
> > "name": "sde",
> > "filesystem": null,
> > "type": "physical",
> > "serial": "BTHC63800AYL480MGN"
> > },
> >
> > ...
> > "constraints_by_type": {
> > "storage": {
> > "0": [
> > 195
> > ],
> > "1": [
> > 200
> > ],
> > "root": [
> > 199
> > ]
> > }
> > },
> >
> >
> > Does one need to recommission the nodes?
> >
> > --
> > You received this bug notification because you are subscribed to MAAS.
> > https://bugs.launchpad.net/bugs/1674148
> >
> > Title:
> > hook for storage: storage already attached - Juju using already
> > mounted disk
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/juju/+bug/1674148/+subscriptions
> >
> --
> Andres Rodriguez (RoAkSoAx)
> Ubuntu Server Developer
> MSc. Telecom & Networking
> Systems Engineer
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1674148
>
> Title:
> hook for storage: storage already attached - Juju using already
> mounted disk
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1674148/+subscriptions
>
--
Ante Karamatić
<email address hidden>
Canonical