curtin does not recognize / partition created in MAAS
Bug #1774186 reported by
Ashley Lai
This bug report is a duplicate of:
Bug #1774058: [2.4] Creating bcache partitions fails in some situations.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Triaged
|
Medium
|
Unassigned |
Bug Description
On MAAS I unmount and removed the default / filesystem and created several partitions and mount one of the partion as /. The deployment failed with the error below
http://
On Xenial I did apt update and upgrade yesterday.
Related branches
~raharper/curtin:fix/block-meta-first-partition
On hold
for merging
into
curtin:master
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 1506 lines (+1119/-156)11 files modifiedcurtin/block/__init__.py (+1/-7)
curtin/commands/block_meta.py (+342/-145)
curtin/config.py (+12/-0)
examples/tests/mirrorboot-msdos-partition.yaml (+1/-0)
examples/tests/mirrorboot-uefi.yaml (+2/-1)
examples/tests/mirrorboot.yaml (+7/-1)
examples/tests/partition-order.yaml (+213/-0)
tests/unittests/test_commands_block_meta.py (+420/-0)
tests/unittests/test_make_dname.py (+4/-2)
tests/vmtests/__init__.py (+9/-0)
tests/vmtests/test_partition_order.py (+108/-0)
tags: | added: cdo-qa cdo-qa-blocker cpe-onsite foundations-engine |
Changed in curtin: | |
importance: | Undecided → Medium |
To post a comment you must log in.
After enabled curtin_verbose and deployed a different node, I see an error in the log.
https:/ /pastebin. canonical. com/p/pQgkpKPWj Q/
ubuntu@client:~$ maas admin machine get-curtin-config yyrntp sources_ list: false archive. ubuntu. com/ubuntu 10.216. 2.0:8000/ archive. ubuntu. com/ubuntu cloud-config: config\ ndatasource: \n MAAS: {consumer_key: LAqgWt9EmHDmtYT RsN,\ 10.216. 2.0/MAAS/ metadata/ ',\n token_key: UYtwJ7U6gxyU3Tu ktv,\ wax6W4tdjj4Ubra K6}\n" cloud.cfg. d/90_maas_ cloud_config. cfg cloud.cfg. d/90_maas_ datasource. cfg config\ nreporting: \n maas: {consumer_key: LAqgWt9EmHDmtYT RsN,\ 10.216. 2.0/MAAS/ metadata/ status/ yyrntp',\n token_key:\ wax6W4tdjj4Ubra K6,\n type:\ cloud.cfg. d/90_maas_ cloud_init_ reporting. cfg
Success.
Machine-readable output follows:
apt:
preserve_
primary:
- arches:
- default
uri: http://
proxy: http://
security:
- arches:
- default
uri: http://
cloudconfig:
maas-
content: "#cloud-
\ metadata_url: 'http://
\ token_secret: ync6pvJKHRC2p2B
path: /etc/cloud/
maas-datasource:
content: 'datasource_list: [ MAAS ]'
path: /etc/cloud/
maas-reporting:
content: "#cloud-
\ endpoint: 'http://
\ UYtwJ7U6gxyU3Tuktv, token_secret: ync6pvJKHRC2p2B
\ webhook}\n"
path: /etc/cloud/
maas-ubuntu-sso:
content: '#cloud-config
snappy: {email: <email address hidden>}
' cloud.cfg. d/90_maas_ ubuntu_ sso.cfg datasources multiselect MAAS
path: /etc/cloud/
debconf_selections:
grub2: grub2 grub2/update_nvram boolean false
maas: 'cloud-init cloud-init/
cloud-init cloud-init/ maas-metadata- url string http:// 10.216. 2.0/MAAS/ metadata/
cloud-init cloud-init/ maas-metadata- credentials string oauth_token_ secret= ync6pvJKHRC2p2B wax6W4tdjj4Ubra K6&oauth_ consumer_ key=LAqgWt9EmHD mtYTRsN& oauth_token_ key=UYtwJ7U6gxy U3Tuktv
cloud-init cloud-init/ local-cloud- config string apt:\n preserve_ sources_ list: archive. ubuntu. com/ubuntu\n proxy: 10.216. 2.0:8000/\n security:\n - arches: [default]\n uri: http:// archive. ubuntu. com/ubuntu\napt_preserve_ sources_ list: napt_proxy: http:// 10.216. 2.0:8000/\nmanage_etc_hosts: false\nmanual_ cache_clean: nreporting: \n maas: {consumer_key: LAqgWt9EmHDmtYTRsN, endpoint: ''http:// 10.216. 2.0/MAAS/ metadata/ status/ yyrntp' ',\n token_key: U3Tuktv, token_secret: ync6pvJKHRC2p2B wax6W4tdjj4Ubra K6,\n type: \nsystem_ info:\n package_mirrors:\n - arches: [i386, amd64]\n failsafe: archive. ubuntu. com/ubuntu' ', security: ''http:// security. ubuntu. com/ubuntu' '}\n search:\n primary: archive. ubuntu. com/ubuntu' ']\n security: [''http:// archive. ubuntu. com/ubuntu' ']\n - ports.ubuntu. com/ubuntu- ports'', ports.ubuntu. com/ubuntu- ports''}\n search:\n primary: ports.ubuntu. com/ubuntu- ports'']\n security: [''http:// ports.ubuntu. com/ubuntu- ports'']\n
false\n primary:\n - arches: [default]\n uri: http://
http://
true\
true\
UYtwJ7U6gxy
webhook}
{primary: ''http://
[''http://
arches: [default]\n failsafe: {primary: ''http://
security: ''http://
[''http://
'
early_commands:
driver_00:
- sh
- -c
- echo third party drivers not installed or necessary.
install:
l...