Comment 5 for bug 1803933

Revision history for this message
Luca Cervigni (cervigni) wrote :

Ryan,
I can understand that, but if the case some form of variable check has to be put in place.

Here the logs requested by Andres:

ubuntu@maas:~$ maas admin machine get-curtin-config pctfwe
Success.
Machine-readable output follows:
apt:
  preserve_sources_list: false
  primary:
  - arches:
    - default
    uri: http://archive.ubuntu.com/ubuntu
  proxy: xxxxxxxx
  security:
  - arches:
    - default
    uri: http://archive.ubuntu.com/ubuntu
cloudconfig:
  maas-cloud-config:
    content: xxxxxxxxxx
    path: /etc/cloud/cloud.cfg.d/90_maas_cloud_config.cfg
  maas-datasource:
    content: 'datasource_list: [ MAAS ]'
    path: /etc/cloud/cloud.cfg.d/90_maas_datasource.cfg
  maas-reporting:
    content: xxxxxxxxx
    path: /etc/cloud/cloud.cfg.d/90_maas_cloud_init_reporting.cfg
  maas-ubuntu-sso:
    content: '#cloud-config

      snappy: {email: <email address hidden>}

      '
    path: /etc/cloud/cloud.cfg.d/90_maas_ubuntu_sso.cfg
debconf_selections:
  grub2: grub2 grub2/update_nvram boolean false
  maas: 'cloud-init cloud-init/datasources multiselect MAAS

    cloud-init cloud-init/maas-metadata-url string http://xxxxxxxxxx/MAAS/metadata/
xxxxxx

    cloud-init cloud-init/local-cloud-config string apt:\n preserve_sources_list:
    false\n primary:\n - arches: [default]\n uri: http://archive.ubuntu.com/ubuntu\n proxy:
    http://xxxxxxxx:8000/\n security:\n - arches: [default]\n uri: http://archive.ubuntu.com/ubuntu\napt_preserve_sources_list:
    true\napt_proxy: http://146.118.53.253:8000/\nmanage_etc_hosts: false\nmanual_cache_clean:
    true\nreporting:\n maas: {consumer_key: xxxxxxxxx, endpoint: ''http://xxxxxxx5240/MAAS/metadata/status/pctfwe'',\n token_key:
    xxxxxxxx, token_secret: xxxxxxx,\n type:
    webhook}\nsystem_info:\n package_mirrors:\n - arches: [i386, amd64]\n failsafe:
    {primary: ''http://archive.ubuntu.com/ubuntu'', security: ''http://security.ubuntu.com/ubuntu''}\n search:\n primary:
    [''http://archive.ubuntu.com/ubuntu'']\n security: [''http://archive.ubuntu.com/ubuntu'']\n -
    arches: [default]\n failsafe: {primary: ''http://ports.ubuntu.com/ubuntu-ports'',
    security: ''http://ports.ubuntu.com/ubuntu-ports''}\n search:\n primary:
    [''http://ports.ubuntu.com/ubuntu-ports'']\n security: [''http://ports.ubuntu.com/ubuntu-ports'']\n

    '
early_commands:
  driver_00:
  - sh
  - -c
  - echo third party drivers not installed or necessary.
install:
  error_tarfile: /tmp/curtin-logs.tar
  log_file: /tmp/install.log
  post_files:
  - /tmp/install.log
  - /tmp/curtin-logs.tar
kernel:
  mapping: {}
  package: linux-signed-generic
late_commands:
  maas:
  - wget
  - --no-proxy
  - xxxxxx
  - --post-data
  - op=netboot_off
  - -O
  - /dev/null
  repos_conf:
  - curtin
  - in-target
  - --
  - sh
  - -c
  - git clone xxxxxxt
    /tmp/cloud-baremetal-provisioning
  zone_script:
  - curtin
  - in-target
  - --
  - sh
  - -c
  - /bin/bash xxxx
    -r xenial
network:
  config:
  - id: enp0s29u1u1u5
    mac_address: 42:f2:e9:75:6c:87
    mtu: 1500
    name: enp0s29u1u1u5
    subnets:
    - type: manual
    type: physical
  - id: enp10s0
    mac_address: f4:52:14:28:88:f0
    mtu: 1500
    name: enp10s0
    subnets:
    - type: manual
    type: physical
  - id: enp10s0d1
    mac_address: f4:52:14:28:88:f1
    mtu: 1500
    name: enp10s0d1
    subnets:
    - type: manual
    type: physical
  - id: enp7s0f0
    mac_address: 40:f2:e9:75:6c:80
    mtu: 1500
    name: enp7s0f0
    subnets:
    - type: manual
    type: physical
  - bridge_interfaces:
    - enp7s0f0
    id: br-fw-admin
    mac_address: 40:f2:e9:75:6c:80
    mtu: 1500
    name: br-fw-admin
    params:
      bridge_fd: 15
      bridge_stp: 0
    subnets:
    - type: dhcp4
    type: bridge
  - id: enp7s0f1
    mac_address: 40:f2:e9:75:6c:81
    mtu: 1500
    name: enp7s0f1
    subnets:
    - type: manual
    type: physical
  - id: enp7s0f2
    mac_address: 40:f2:e9:75:6c:82
    mtu: 1500
    name: enp7s0f2
    subnets:
    - type: manual
    type: physical
  - address:
    - xxxxxxxx
    search:
    - xxxxxxx
    - maas
    type: nameserver
  version: 1
network_commands:
  builtin:
  - curtin
  - net-meta
  - custom
partitioning_commands:
  builtin:
  - curtin
  - block-meta
  - custom
reporting:
  maas:
    consumer_key: xxxxx
    endpoint: xxxxxx
    token_key: xxxxx
    token_secret: xxxxxx
    type: webhook
storage:
  config:
  - id: sdf
    model: ServeRAID M5110
    name: sdf
    serial: 600605b0090e5d402380272311bce4c1
    type: disk
    wipe: superblock
  - id: sdg
    model: ServeRAID M5110
    name: sdg
    serial: 600605b0090e5d402380272411cea325
    type: disk
    wipe: superblock
  - id: sdh
    model: ServeRAID M5110
    name: sdh
    serial: 600605b0090e5d402380272511e1ae93
    type: disk
    wipe: superblock
  - grub_device: true
    id: sda
    model: MTFDDAK120MBB-1A
    name: sda
    ptable: msdos
    serial: 0C1FA434
    type: disk
    wipe: superblock
  - grub_device: true
    id: sdb
    model: MTFDDAK120MBB-1A
    name: sdb
    ptable: gpt
    serial: 0C1FA39F
    type: disk
    wipe: superblock
  - device: sdb
    flag: bios_grub
    id: sdb-part1
    number: 1
    offset: 4194304B
    size: 1048576B
    type: partition
    wipe: zero
  - id: sdc
    model: ServeRAID M5110
    name: sdc
    serial: 600605b0090e5d4023802720118fc31c
    type: disk
    wipe: superblock
  - id: sdd
    model: ServeRAID M5110
    name: sdd
    serial: 600605b0090e5d4023802721119d3d1d
    type: disk
    wipe: superblock
  - id: sde
    model: ServeRAID M5110
    name: sde
    serial: 600605b0090e5d402380272211ac1bce
    type: disk
    wipe: superblock
  - device: sda
    flag: boot
    id: sda-part1
    name: sda-part1
    number: 1
    size: 536870912B
    type: partition
    uuid: ebc476e6-2cad-4b57-b802-7485a4e2f262
    wipe: superblock
  - device: sda
    id: sda-part2
    name: sda-part2
    number: 2
    size: 11999903744B
    type: partition
    uuid: c509b1e6-42f3-4ab2-a2d6-6f9919bc24ee
    wipe: superblock
  - device: sda
    id: sda-part3
    name: sda-part3
    number: 3
    size: 3997171712B
    type: partition
    uuid: 1a92ab23-6d31-4f28-ab73-316754f1361e
    wipe: superblock
  - device: sdb
    flag: boot
    id: sdb-part2
    name: sdb-part2
    number: 2
    size: 536870912B
    type: partition
    uuid: f3bbdf5c-7f9c-4206-b84d-70c528db78f2
    wipe: superblock
  - device: sdb
    id: sdb-part3
    name: sdb-part3
    number: 3
    size: 11999903744B
    type: partition
    uuid: ce6d7970-53aa-468a-94d6-1a0855b367a9
    wipe: superblock
  - devices:
    - sda-part2
    - sdb-part3
    id: os-raid1
    name: os-raid1
    raidlevel: 1
    spare_devices: []
    type: raid
  - device: sdb
    id: sdb-part4
    name: sdb-part4
    number: 4
    size: 3997171712B
    type: partition
    uuid: 04046c36-41ba-499f-835d-afebd908ee97
    wipe: superblock
  - devices:
    - sda-part3
    - sdb-part4
    id: swap-raid1
    name: swap-raid1
    raidlevel: 1
    spare_devices: []
    type: raid
  - fstype: vfat
    id: sda-part1_format
    label: ''
    type: format
    uuid: 290dfd85-7f81-4491-aeda-17ee9d2495ef
    volume: sda-part1
  - fstype: ext4
    id: os-raid1_format
    label: ''
    type: format
    uuid: 423d5f7c-cf03-4db6-a588-e4a099ff65d5
    volume: os-raid1
  - fstype: swap
    id: swap-raid1_format
    label: ''
    type: format
    uuid: f896a478-92b0-43e0-b659-fb08681c5e9b
    volume: swap-raid1
  - device: os-raid1_format
    id: os-raid1_mount
    options: ''
    path: /
    type: mount
  - device: sda-part1_format
    id: sda-part1_mount
    options: ''
    path: /boot/efi
    type: mount
  - device: swap-raid1_format
    id: swap-raid1_mount
    options: ''
    type: mount
  version: 1
swap:
  size: 0B