yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69751
[Bug 1737114] [NEW] Cloud-Init problem with Platform 9 & Ubuntu 16.04
Public bug reported:
1) We get this error when we boot new instances on Platform 9 version of
OpenStack.
**************************************************************************
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['ConfigDrive', 'None'] #
# However, the datasource used was: OpenStack #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https://bugs.launchpad.net/bugs/1669675 #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# After you have filed a bug, you can disable this warning by launching #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg #
# #
# #cloud-config #
# warnings: #
# dsid_missing_source: off #
**************************************************************************
2) cloud-init config passed on creation of instance:
#cloud-config
# this first line is required
# allow ubuntu account to login
# password: Let-M3-1n-Please
# chpasswd: { expire: False }
# ssh_pwauth: True
disable_ec2_metadata: true
# add each entry to ~/.ssh/authorized_keys for the default user
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDa3r7xphaH6gNix/CsytnslJUhIRybzZPlIJzba94sAXBSME+N2MbBsJ+XnKRXpPLqtMs+cR+PJ7eB169L7/aNqLEcxEsr1bzhLbG1TKNc/Sgx7lRqftaTZ78/4j7wHpz9JuUgpOE0N/JFmr8bJm8UxnyAcir3BPdnhgL3ijb1LMVIGD6EDmsqT0uSZJ9vPIcqZClZ21q0iqrpXfCF6ar3GLiv9xdclYzTt4OPqOgS1irJ44bUKY7oLVdtC8UMPWXQBP+wK/cXk73RJNejiWt4/bq5qYk44BAfyt78nIMgO0CXy6Lku03nyBU9rC9DBSxu6fORsJSrcxPRWyHA04F7 las_key@xxxxxx
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOhvNGQ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RNwgkCn6BSpLRk+/xzfGlGSpLxFvQDjGd7vjYTegYLHs8O7k4eTQBX leeweisbecker@xxxxxx
# CREATE MANAGER ACCOUNT TOO
# groups:
# - manager
# - deploy
#
# users:
# - default
# - name: manager
# gecos: IT Access
# primary-group: manager
# groups: admin
# shell: /bin/bash
# home: /home/manager
# lock_passwd: false
# passwd: $6$rounds=4096$Rj2OvSrUE$zHQatSQioIPT6.aKwxsDkOrxlPHh3e016Y7gFnhZlmwrzhX/7n7IRdleaYKDThi9pN8N9WvLtJwi3dgdwMixJ1
# ssh_pwauth: True
# ssh-import-id: None
# ssh-authorized-keys:
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDa3r7xphaH6gNix/CsytnslJUhIRybzZPlIJzba94sAXBSME+N2MbBsJ+XnKRXpPLqtMs+cR+PJ7eB169L7/aNqLEcxEsr1bzhLbG1TKNc/Sgx7lRqftaTZ78/4j7wHpz9JuUgpOE0N/JFmr8bJm8UxnyAcir3BPdnhgL3ijb1LMVIGD6EDmsqT0uSZJ9vPIcqZClZ21q0iqrpXfCF6ar3GLiv9xdclYzTt4OPqOgS1irJ44bUKY7oLVdtC8UMPWXQBP+wK/cXk73RJNejiWt4/bq5qYk44BAfyt78nIMgO0CXy6Lku03nyBU9rC9DBSxu6fORsJSrcxPRWyHA04F7 las_key@xxxxxx
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOhvNGQ/3nPaZrJDO658d8ITduJGOF+Xq+Zn4jXx2X8t0lRDfnsYNZ2Ahzru1fDj4perHHfnxh/SFZ05VsXcS/0YBZ22ZzVdyww8aH+7Ib/GkEta9gLWTeUd72DaFTkb7W293NfHAZX1g2bGjqp+DgoKVvyz36lvYzFxaTuGmaqPGlr3AqHfyGVoERwzd7tca5S8PhGIpxtW78LXq6sS3ZMbfoMBgT97hPHQaeA75op/13gfMZICaoAPQikA5EGi/cw0DvbZOtC/Ao9jXPb4r6i96xF54RRFxLPNe0Od1tlVOz/3SXPfIwWbdunnv0y+4Y5AHY3krdWNyMpikMiltt Generated by Nova
# - ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuajSCEF1oszZLZBEvzVykvU+WPkVsJIt/7kn3lfpsQM2kUQHqOzNhVRDCK0pgcKog7zMRhRx6WfwmmlCk/F1U3yNHCzJwCRhx8DSPSlTAl0tOk/e2kaskVwxG3nJQcDMP1iMvoppumc8GaTShG4N7L7ROuwJ3Ada/Wn0BqDtLnuaooQ4lVQZx6qgAzFMsK4n9OFIy+UoMgh1OOAUpSQb9l3u6n7sf/np82CVJk4yEyFD8NnSqX9IfgT7LP8bdO98l3IPHJ4J6Pe2IgufjuuQ5LqKIKwcjm0caKsG8I/Osr8syipleJOqpaSx9IUtIm5lxP+Q9LTYFtwBUMWedDAtdQ== btihen@xxxxxxxxx
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4ENUQD65lMrbp/iucjiSQ0Z6XsDaOEvpQ4ikrnJq1sgRA7gz/qtF6MGgXq18dm50KOhuaoT+wNrJhB/fQypddyQO7IxgjSSSMl9C6ZSm4djkTP7lQU9jntPh/XzK3OI5kOGcMFGjdkdubq0a+QUdT5X7rgQIUvSMHa+RyY+nbHPsW8q+/GOE/Yj3dn2Armcvj5fgPMr5Zhb1JdnpYCGyhX06IW9m3YDTXgeYCFaiyYsVAVoXZ5jHvlIb5vzWJFPllgTftVVKwTrDjXIjIWvJOL/PIJrbG1+RNwgkCn6BSpLRk+/xzfGlGSpLxFvQDjGd7vjYTegYLHs8O7k4eTQBX leeweisbecker@xxxxxx
# - name: deploy
# gecos: software
# primary-group: deploy
# groups: admin
# shell: /bin/bash
# home: /home/deploy
# lock_passwd: false
# passwd: $6$rounds=4096$Rj2OvSrUE$zHQatSQioIPT6.aKwxsDkOrxlPHh3e016Y7gFnhZlmwrzhX/7n7IRdleaYKDThi9pN8N9WvLtJwi3dgdwMixJ1
# ssh_pwauth: True
# ssh-import-id: None
# ssh-authorized-keys:
# - ssh-rsa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6Pe2IgufjuuQ5LqKIKwcjm0caKsG8I/Osr8syipleJOqpaSx9IUtIm5lxP+Q9LTYFtwBUMWedDAtdQ== btihen@xxxxxxxxx
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4ENUQD65lMrbp/iucjiSQ0Z6XsDaOEvpQ4ikrnJq1sgRA7gz/qtF6MGgXq18dm50KOhuaoT+wNrJhB/fQypddyQO7IxgjSSSMl9C6ZSm4djkTP7lQU9jntPh/XzK3OI5kOGcMFGjdkdubq0a+QUdT5X7rgQIUvSMHa+RyY+nbHPsW8q+/GOE/Yj3dn2Armcvj5fgPMr5Zhb1JdnpYCGyhX06IW9m3YDTXgeYCFaiyYsVAVoXZ5jHvlIb5vzWJFPllgTftVVKwTrDjXIjIWvJOL/PIJrbG1+RNwgkCn6BSpLRk+/xzfGlGSpLxFvQDjGd7vjYTegYLHs8O7k4eTQBX leeweisbecker@xxxxxx
# PASSWORD FOR Manager & Deploy made using (also see vault)
# mkpasswd --method=SHA-512 --rounds=4096 UbuntuLetM31n!
# $6$rounds=4096$Rj2OvSrUE$zHQatSQioIPT6.aKwxsDkOrxlPHh3e016Y7gFnhZlmwrzhX/7n7IRdleaYKDThi9pN8N9WvLtJwi3dgdwMixJ1
# fix hosts file
# bootcmd:
# - sed -i "s/127.0.0.1 localhost/127.0.0.1 localhost `hostname`/" /etc/hosts
runcmd:
- sed -i "s/127.0.0.1 localhost/127.0.0.1 localhost `hostname`/" /etc/hosts
# updates & upgrades
package_update: true
# install packages for ansible
packages:
- python
# upgrade packages
package_upgrade: true
# reboot after upgrades
power_state:
delay: "+1"
mode: reboot
message: cloud-init reboot after upgrades on firstboot
timeout: 3
condition: True
3) cloud-init collect
/usr/bin/cloud-init: error: argument subcommand: invalid choice:
'collect' (choose from 'init', 'modules', 'single', 'dhclient-hook',
'features', 'analyze', 'devel', 'collect-logs')
I assume you mean collect-logs not collect?
here is the init config too:
Cloud-init v. 17.1 running 'init' at Fri, 08 Dec 2017 08:16:36 +0000. Up 27058.84 seconds.
ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+------------------------------+---------------+-------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+------------------------------+---------------+-------+-------------------+
ci-info: | ens3 | True | 10.158.1.60 | 255.255.254.0 | . | fa:16:3e:98:21:3c |
ci-info: | ens3 | True | fe80::f816:3eff:fe98:213c/64 | . | link | fa:16:3e:98:21:3c |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+------------------------------+---------------+-------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++++
ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.158.0.1 | 0.0.0.0 | ens3 | UG |
ci-info: | 1 | 10.158.0.0 | 0.0.0.0 | 255.255.254.0 | ens3 | U |
ci-info: | 2 | 10.160.0.0 | 10.158.1.254 | 255.224.0.0 | ens3 | UG |
ci-info: | 3 | 10.192.0.0 | 10.158.1.254 | 255.192.0.0 | ens3 | UG |
ci-info: | 4 | 169.254.169.254 | - | 255.255.255.255 | - | !H |
ci-info: | 5 | 169.254.169.254 | 10.158.0.1 | 255.255.255.255 | ens3 | UGH |
ci-info: | 6 | 172.27.42.0 | 10.158.1.254 | 255.255.254.0 | ens3 | UG |
ci-info: | 7 | 172.28.0.46 | 10.158.1.254 | 255.255.255.255 | ens3 | UGH |
ci-info: | 8 | 192.168.98.0 | 10.158.1.254 | 255.255.255.0 | ens3 | UG |
ci-info: | 9 | 192.168.99.0 | 10.158.1.254 | 255.255.255.0 | ens3 | UG |
ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
2017-12-08 08:16:36,429 - warnings.py[WARNING]: **************************************************************************
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['ConfigDrive', 'None'] #
# However, the datasource used was: OpenStack #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https://bugs.launchpad.net/bugs/1669675 #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# After you have filed a bug, you can disable this warning by launching #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg #
# #
# #cloud-config #
# warnings: #
# dsid_missing_source: off #
**************************************************************************
** Affects: cloud-init
Importance: Undecided
Status: New
** Tags: dsid
** Attachment added: "log file attached"
https://bugs.launchpad.net/bugs/1737114/+attachment/5020031/+files/cloud-init.tar.gz
--
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/1737114
Title:
Cloud-Init problem with Platform 9 & Ubuntu 16.04
Status in cloud-init:
New
Bug description:
1) We get this error when we boot new instances on Platform 9 version
of OpenStack.
**************************************************************************
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['ConfigDrive', 'None'] #
# However, the datasource used was: OpenStack #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https://bugs.launchpad.net/bugs/1669675 #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# After you have filed a bug, you can disable this warning by launching #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg #
# #
# #cloud-config #
# warnings: #
# dsid_missing_source: off #
**************************************************************************
2) cloud-init config passed on creation of instance:
#cloud-config
# this first line is required
# allow ubuntu account to login
# password: Let-M3-1n-Please
# chpasswd: { expire: False }
# ssh_pwauth: True
disable_ec2_metadata: true
# add each entry to ~/.ssh/authorized_keys for the default user
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDa3r7xphaH6gNix/CsytnslJUhIRybzZPlIJzba94sAXBSME+N2MbBsJ+XnKRXpPLqtMs+cR+PJ7eB169L7/aNqLEcxEsr1bzhLbG1TKNc/Sgx7lRqftaTZ78/4j7wHpz9JuUgpOE0N/JFmr8bJm8UxnyAcir3BPdnhgL3ijb1LMVIGD6EDmsqT0uSZJ9vPIcqZClZ21q0iqrpXfCF6ar3GLiv9xdclYzTt4OPqOgS1irJ44bUKY7oLVdtC8UMPWXQBP+wK/cXk73RJNejiWt4/bq5qYk44BAfyt78nIMgO0CXy6Lku03nyBU9rC9DBSxu6fORsJSrcxPRWyHA04F7 las_key@xxxxxx
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOhvNGQ/3nPaZrJDO658d8ITduJGOF+Xq+Zn4jXx2X8t0lRDfnsYNZ2Ahzru1fDj4perHHfnxh/SFZ05VsXcS/0YBZ22ZzVdyww8aH+7Ib/GkEta9gLWTeUd72DaFTkb7W293NfHAZX1g2bGjqp+DgoKVvyz36lvYzFxaTuGmaqPGlr3AqHfyGVoERwzd7tca5S8PhGIpxtW78LXq6sS3ZMbfoMBgT97hPHQaeA75op/13gfMZICaoAPQikA5EGi/cw0DvbZOtC/Ao9jXPb4r6i96xF54RRFxLPNe0Od1tlVOz/3SXPfIwWbdunnv0y+4Y5AHY3krdWNyMpikMiltt Generated by Nova
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuajSCEF1oszZLZBEvzVykvU+WPkVsJIt/7kn3lfpsQM2kUQHqOzNhVRDCK0pgcKog7zMRhRx6WfwmmlCk/F1U3yNHCzJwCRhx8DSPSlTAl0tOk/e2kaskVwxG3nJQcDMP1iMvoppumc8GaTShG4N7L7ROuwJ3Ada/Wn0BqDtLnuaooQ4lVQZx6qgAzFMsK4n9OFIy+UoMgh1OOAUpSQb9l3u6n7sf/np82CVJk4yEyFD8NnSqX9IfgT7LP8bdO98l3IPHJ4J6Pe2IgufjuuQ5LqKIKwcjm0caKsG8I/Osr8syipleJOqpaSx9IUtIm5lxP+Q9LTYFtwBUMWedDAtdQ== btihen@xxxxxxxxx
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4ENUQD65lMrbp/iucjiSQ0Z6XsDaOEvpQ4ikrnJq1sgRA7gz/qtF6MGgXq18dm50KOhuaoT+wNrJhB/fQypddyQO7IxgjSSSMl9C6ZSm4djkTP7lQU9jntPh/XzK3OI5kOGcMFGjdkdubq0a+QUdT5X7rgQIUvSMHa+RyY+nbHPsW8q+/GOE/Yj3dn2Armcvj5fgPMr5Zhb1JdnpYCGyhX06IW9m3YDTXgeYCFaiyYsVAVoXZ5jHvlIb5vzWJFPllgTftVVKwTrDjXIjIWvJOL/PIJrbG1+RNwgkCn6BSpLRk+/xzfGlGSpLxFvQDjGd7vjYTegYLHs8O7k4eTQBX leeweisbecker@xxxxxx
# CREATE MANAGER ACCOUNT TOO
# groups:
# - manager
# - deploy
#
# users:
# - default
# - name: manager
# gecos: IT Access
# primary-group: manager
# groups: admin
# shell: /bin/bash
# home: /home/manager
# lock_passwd: false
# passwd: $6$rounds=4096$Rj2OvSrUE$zHQatSQioIPT6.aKwxsDkOrxlPHh3e016Y7gFnhZlmwrzhX/7n7IRdleaYKDThi9pN8N9WvLtJwi3dgdwMixJ1
# ssh_pwauth: True
# ssh-import-id: None
# ssh-authorized-keys:
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDa3r7xphaH6gNix/CsytnslJUhIRybzZPlIJzba94sAXBSME+N2MbBsJ+XnKRXpPLqtMs+cR+PJ7eB169L7/aNqLEcxEsr1bzhLbG1TKNc/Sgx7lRqftaTZ78/4j7wHpz9JuUgpOE0N/JFmr8bJm8UxnyAcir3BPdnhgL3ijb1LMVIGD6EDmsqT0uSZJ9vPIcqZClZ21q0iqr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9C6ZSm4djkTP7lQU9jntPh/XzK3OI5kOGcMFGjdkdubq0a+QUdT5X7rgQIUvSMHa+RyY+nbHPsW8q+/GOE/Yj3dn2Armcvj5fgPMr5Zhb1JdnpYCGyhX06IW9m3YDTXgeYCFaiyYsVAVoXZ5jHvlIb5vzWJFPllgTftVVKwTrDjXIjIWvJOL/PIJrbG1+RNwgkCn6BSpLRk+/xzfGlGSpLxFvQDjGd7vjYTegYLHs8O7k4eTQBX leeweisbecker@xxxxxx
# - name: deploy
# gecos: software
# primary-group: deploy
# groups: admin
# shell: /bin/bash
# home: /home/deploy
# lock_passwd: false
# passwd: $6$rounds=4096$Rj2OvSrUE$zHQatSQioIPT6.aKwxsDkOrxlPHh3e016Y7gFnhZlmwrzhX/7n7IRdleaYKDThi9pN8N9WvLtJwi3dgdwMixJ1
# ssh_pwauth: True
# ssh-import-id: None
# ssh-authorized-keys:
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDa3r7xphaH6gNix/CsytnslJUhIRybzZPlIJzba94sAXBSME+N2MbBsJ+XnKRXpPLqtMs+cR+PJ7eB169L7/aNqLEcxEsr1bzhLbG1TKNc/Sgx7lRqftaTZ78/4j7wHpz9JuUgpOE0N/JFmr8bJm8UxnyAcir3BPdnhgL3ijb1LMVIGD6EDmsqT0uSZJ9vPIcqZClZ21q0iqrpXfCF6ar3GLiv9xdclYzTt4OPqOgS1irJ44bUKY7oLVdtC8UMPWXQBP+wK/cXk73RJNejiWt4/bq5qYk44BAfyt78nIMgO0CXy6Lku03nyBU9rC9DBSxu6fORsJSrcxPRWyHA04F7 las_key@xxxxxx
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOhvNGQ/3nPaZrJDO658d8ITduJGOF+Xq+Zn4jXx2X8t0lRDfnsYNZ2Ahzru1fDj4perHHfnxh/SFZ05VsXcS/0YBZ22ZzVdyww8aH+7Ib/GkEta9gLWTeUd72DaFTkb7W293NfHAZX1g2bGjqp+DgoKVvyz36lvYzFxaTuGmaqPGlr3AqHfyGVoERwzd7tca5S8PhGIpxtW78LXq6sS3ZMbfoMBgT97hPHQaeA75op/13gfMZICaoAPQikA5EGi/cw0DvbZOtC/Ao9jXPb4r6i96xF54RRFxLPNe0Od1tlVOz/3SXPfIwWbdunnv0y+4Y5AHY3krdWNyMpikMiltt Generated by Nova
# - ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuajSCEF1oszZLZBEvzVykvU+WPkVsJIt/7kn3lfpsQM2kUQHqOzNhVRDCK0pgcKog7zMRhRx6WfwmmlCk/F1U3yNHCzJwCRhx8DSPSlTAl0tOk/e2kaskVwxG3nJQcDMP1iMvoppumc8GaTShG4N7L7ROuwJ3Ada/Wn0BqDtLnuaooQ4lVQZx6qgAzFMsK4n9OFIy+UoMgh1OOAUpSQb9l3u6n7sf/np82CVJk4yEyFD8NnSqX9IfgT7LP8bdO98l3IPHJ4J6Pe2IgufjuuQ5LqKIKwcjm0caKsG8I/Osr8syipleJOqpaSx9IUtIm5lxP+Q9LTYFtwBUMWedDAtdQ== btihen@xxxxxxxxx
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4ENUQD65lMrbp/iucjiSQ0Z6XsDaOEvpQ4ikrnJq1sgRA7gz/qtF6MGgXq18dm50KOhuaoT+wNrJhB/fQypddyQO7IxgjSSSMl9C6ZSm4djkTP7lQU9jntPh/XzK3OI5kOGcMFGjdkdubq0a+QUdT5X7rgQIUvSMHa+RyY+nbHPsW8q+/GOE/Yj3dn2Armcvj5fgPMr5Zhb1JdnpYCGyhX06IW9m3YDTXgeYCFaiyYsVAVoXZ5jHvlIb5vzWJFPllgTftVVKwTrDjXIjIWvJOL/PIJrbG1+RNwgkCn6BSpLRk+/xzfGlGSpLxFvQDjGd7vjYTegYLHs8O7k4eTQBX leeweisbecker@xxxxxx
# PASSWORD FOR Manager & Deploy made using (also see vault)
# mkpasswd --method=SHA-512 --rounds=4096 UbuntuLetM31n!
# $6$rounds=4096$Rj2OvSrUE$zHQatSQioIPT6.aKwxsDkOrxlPHh3e016Y7gFnhZlmwrzhX/7n7IRdleaYKDThi9pN8N9WvLtJwi3dgdwMixJ1
# fix hosts file
# bootcmd:
# - sed -i "s/127.0.0.1 localhost/127.0.0.1 localhost `hostname`/" /etc/hosts
runcmd:
- sed -i "s/127.0.0.1 localhost/127.0.0.1 localhost `hostname`/" /etc/hosts
# updates & upgrades
package_update: true
# install packages for ansible
packages:
- python
# upgrade packages
package_upgrade: true
# reboot after upgrades
power_state:
delay: "+1"
mode: reboot
message: cloud-init reboot after upgrades on firstboot
timeout: 3
condition: True
3) cloud-init collect
/usr/bin/cloud-init: error: argument subcommand: invalid choice:
'collect' (choose from 'init', 'modules', 'single', 'dhclient-hook',
'features', 'analyze', 'devel', 'collect-logs')
I assume you mean collect-logs not collect?
here is the init config too:
Cloud-init v. 17.1 running 'init' at Fri, 08 Dec 2017 08:16:36 +0000. Up 27058.84 seconds.
ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+------------------------------+---------------+-------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+------------------------------+---------------+-------+-------------------+
ci-info: | ens3 | True | 10.158.1.60 | 255.255.254.0 | . | fa:16:3e:98:21:3c |
ci-info: | ens3 | True | fe80::f816:3eff:fe98:213c/64 | . | link | fa:16:3e:98:21:3c |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+------------------------------+---------------+-------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++++
ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.158.0.1 | 0.0.0.0 | ens3 | UG |
ci-info: | 1 | 10.158.0.0 | 0.0.0.0 | 255.255.254.0 | ens3 | U |
ci-info: | 2 | 10.160.0.0 | 10.158.1.254 | 255.224.0.0 | ens3 | UG |
ci-info: | 3 | 10.192.0.0 | 10.158.1.254 | 255.192.0.0 | ens3 | UG |
ci-info: | 4 | 169.254.169.254 | - | 255.255.255.255 | - | !H |
ci-info: | 5 | 169.254.169.254 | 10.158.0.1 | 255.255.255.255 | ens3 | UGH |
ci-info: | 6 | 172.27.42.0 | 10.158.1.254 | 255.255.254.0 | ens3 | UG |
ci-info: | 7 | 172.28.0.46 | 10.158.1.254 | 255.255.255.255 | ens3 | UGH |
ci-info: | 8 | 192.168.98.0 | 10.158.1.254 | 255.255.255.0 | ens3 | UG |
ci-info: | 9 | 192.168.99.0 | 10.158.1.254 | 255.255.255.0 | ens3 | UG |
ci-info: +-------+-----------------+--------------+-----------------+-----------+-------+
2017-12-08 08:16:36,429 - warnings.py[WARNING]: **************************************************************************
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['ConfigDrive', 'None'] #
# However, the datasource used was: OpenStack #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https://bugs.launchpad.net/bugs/1669675 #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# After you have filed a bug, you can disable this warning by launching #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg #
# #
# #cloud-config #
# warnings: #
# dsid_missing_source: off #
**************************************************************************
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1737114/+subscriptions
Follow ups