yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66441
[Bug 1701417] Re: cloud-init fails to configure bonding on CentOS 7
** No longer affects: maas
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1701417
Title:
cloud-init fails to configure bonding on CentOS 7
Status in cloud-init:
Fix Committed
Bug description:
When using ppa:raharper/curtin-dev and the cloud-init-curtin yum
repo[1] with MAAS configuring the node to use bonding networking never
comes up causing the deployment to fail.
cloud-init-0.7.9+191.g0bcb95a-1.el7.centos.noarch
curtin-0.1.0~bzr535-0ubuntu1
[1] http://copr-be.cloud.fedoraproject.org/results/@cloud-init/cloud-
init-curtin/epel-7-x86_64
apt:
preserve_sources_list: false
primary:
- arches:
- default
uri: http://archive.ubuntu.com/ubuntu
proxy: http://10.0.0.2:8000/
security:
- arches:
- default
uri: http://archive.ubuntu.com/ubuntu
cloudconfig:
maas-cloud-config:
content: "#cloud-config\ndatasource:\n MAAS: {consumer_key: 72gtz4EuywxY9wtaTy,\
\ metadata_url: 'http://10.0.0.2:5240/MAAS/metadata/',\n token_key: H24Erg25Cx9Q8hHJrp,\
\ token_secret: 7jC2PWsGcrxcvHNPw8yHyz2zf76DcEFS}\n"
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-ubuntu-sso:
content: '#cloud-config
snappy: {email: lee.trager@xxxxxxxxxxxxx}
'
path: /etc/cloud/cloud.cfg.d/90_maas_ubuntu_sso.cfg
debconf_selections:
maas: 'cloud-init cloud-init/datasources multiselect MAAS
cloud-init cloud-init/maas-metadata-url string
http://10.0.0.2:5240/MAAS/metadata/
cloud-init cloud-init/maas-metadata-credentials string
oauth_token_key=H24Erg25Cx9Q8hHJrp&oauth_consumer_key=72gtz4EuywxY9wtaTy&oauth_token_secret=7jC2PWsGcrxcvHNPw8yHyz2zf76DcEFS
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://10.0.0.2:8000/\n security:\n - arches: [default]\n uri: http://archive.ubuntu.com/ubuntu\napt_preserve_sources_list:
true\napt_proxy: http://10.0.0.2:8000/\nmanage_etc_hosts: false\nmanual_cache_clean:
true\nreporting:\n maas: {consumer_key: 72gtz4EuywxY9wtaTy, endpoint: ''http://10.0.0.2:5240/MAAS/metadata/status/43gt4w'',\n token_key:
H24Erg25Cx9Q8hHJrp, token_secret: 7jC2PWsGcrxcvHNPw8yHyz2zf76DcEFS,\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
'
install:
log_file: /tmp/install.log
post_files:
- /tmp/install.log
late_commands:
maas:
- wget
- --no-proxy
- http://10.0.0.2:5240/MAAS/metadata/latest/by-id/43gt4w/
- --post-data
- op=netboot_off
- -O
- /dev/null
network:
config:
- id: ens10
mac_address: 52:54:00:4b:11:ea
mtu: 1500
name: ens10
subnets:
- type: manual
type: physical
- id: ens3
mac_address: 52:54:00:aa:40:cd
mtu: 1500
name: ens3
subnets:
- type: manual
type: physical
- bond_interfaces:
- ens10
- ens3
id: bond0
mac_address: 52:54:00:aa:40:cd
mtu: 1500
name: bond0
params:
bond-downdelay: 0
bond-lacp-rate: slow
bond-miimon: 100
bond-mode: active-backup
bond-updelay: 0
bond-xmit-hash-policy: layer2
subnets:
- address: 10.0.0.147/24
dns_nameservers: []
gateway: 10.0.0.1
type: static
type: bond
- address:
- 10.0.0.2
search:
- maas
type: nameserver
version: 1
network_commands:
builtin:
- curtin
- net-meta
- custom
reporting:
maas:
consumer_key: 72gtz4EuywxY9wtaTy
endpoint: http://10.0.0.2:5240/MAAS/metadata/status/43gt4w
token_key: H24Erg25Cx9Q8hHJrp
token_secret: 7jC2PWsGcrxcvHNPw8yHyz2zf76DcEFS
type: webhook
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1701417/+subscriptions
References