[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
Stretch, can you please attach /var/log/cloud-init.log ? Better would be to attach output of 'cloud-init collect-logs' Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
We are seeing errors very similar to this: can't create /var/tmp/cloud-init/cloud-init-.../dhcp.leases: No such file or directory The /var/tmp/cloud-init has been created, world writable. Started seeing the errors a few days after the fix was released - around 5th December. AWS EC2 ubuntu 16.04.1 cloud-init 17.1-46-g7acc9e68-0ubuntu1~16.04.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
This bug is believed to be fixed in cloud-init in 1705804. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
This bug was fixed in the package cloud-init - 17.1-46-g7acc9e68-0ubuntu1~17.10.1 --- cloud-init (17.1-46-g7acc9e68-0ubuntu1~17.10.1) artful-proposed; urgency=medium * New upstream snapshot. - ec2: Fix sandboxed dhclient background process cleanup. (LP: #1735331) - tests: NoCloudKVMImage do not modify the original local cache image. - tests: Enable bionic in integration tests. [Joshua Powers] - tests: Use apt-get to install a deb so that depends get resolved. - sysconfig: Correctly render dns and dns search info. [Ryan McCabe] cloud-init (17.1-41-g76243487-0ubuntu1~17.10.1) artful-proposed; urgency=medium * debian/cloud-init.templates: Fix capitilazation in 'AliYun' (LP: #1728186) * New upstream snapshot (LP: #1733653) - integration test: replace curtin test ppa with cloud-init test ppa. - EC2: Fix bug using fallback_nic and metadata when restoring from cache. - EC2: Kill dhclient process used in sandbox dhclient. - ntp: fix configuration template rendering for openSUSE and SLES - centos: Provide the failed #include url in error messages - Catch UrlError when #include'ing URLs [Andrew Jorgensen] - hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs. [Robert Schweikert] - rh_subscription: Perform null checks for enabled and disabled repos. [Dave Mulford] - Improve warning message when a template is not found. [Robert Schweikert] - Replace the temporary i9n.brickies.net with i9n.cloud-init.io. - Azure: don't generate network configuration for SRIOV devices - tests: address some minor feedback missed in last merge. - tests: integration test cleanup and full pass of nocloud-kvm. - Gentoo: chmod +x on all files in sysvinit/gentoo/ [Carlos Konstanski] -- Chad Smith Fri, 01 Dec 2017 09:58:48 -0700 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
This bug was fixed in the package cloud-init - 17.1-46-g7acc9e68-0ubuntu1~16.04.1 --- cloud-init (17.1-46-g7acc9e68-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * New upstream snapshot. - ec2: Fix sandboxed dhclient background process cleanup. (LP: #1735331) - tests: NoCloudKVMImage do not modify the original local cache image. - tests: Enable bionic in integration tests. [Joshua Powers] - tests: Use apt-get to install a deb so that depends get resolved. - sysconfig: Correctly render dns and dns search info. [Ryan McCabe] cloud-init (17.1-41-g76243487-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * debian/cloud-init.templates: Fix capitilazation in 'AliYun' (LP: #1728186) * New upstream snapshot (LP: #1733653) - integration test: replace curtin test ppa with cloud-init test ppa. - EC2: Fix bug using fallback_nic and metadata when restoring from cache. - EC2: Kill dhclient process used in sandbox dhclient. - ntp: fix configuration template rendering for openSUSE and SLES - centos: Provide the failed #include url in error messages - Catch UrlError when #include'ing URLs [Andrew Jorgensen] - hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs. [Robert Schweikert] - rh_subscription: Perform null checks for enabled and disabled repos. [Dave Mulford] - Improve warning message when a template is not found. [Robert Schweikert] - Replace the temporary i9n.brickies.net with i9n.cloud-init.io. - Azure: don't generate network configuration for SRIOV devices - tests: address some minor feedback missed in last merge. - tests: integration test cleanup and full pass of nocloud-kvm. - Gentoo: chmod +x on all files in sysvinit/gentoo/ [Carlos Konstanski] -- Chad Smith Fri, 01 Dec 2017 10:05:01 -0700 ** Changed in: cloud-init (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
This bug was fixed in the package cloud-init - 17.1-46-g7acc9e68-0ubuntu1~17.04.1 --- cloud-init (17.1-46-g7acc9e68-0ubuntu1~17.04.1) zesty-proposed; urgency=medium * New upstream snapshot. - ec2: Fix sandboxed dhclient background process cleanup. (LP: #1735331) - tests: NoCloudKVMImage do not modify the original local cache image. - tests: Enable bionic in integration tests. [Joshua Powers] - tests: Use apt-get to install a deb so that depends get resolved. - sysconfig: Correctly render dns and dns search info. [Ryan McCabe] cloud-init (17.1-41-g76243487-0ubuntu1~17.04.1) zesty-proposed; urgency=medium * debian/cloud-init.templates: Fix capitilazation in 'AliYun' (LP: #1728186) * New upstream snapshot (LP: #1733653) - integration test: replace curtin test ppa with cloud-init test ppa. - EC2: Fix bug using fallback_nic and metadata when restoring from cache. - EC2: Kill dhclient process used in sandbox dhclient. - ntp: fix configuration template rendering for openSUSE and SLES - centos: Provide the failed #include url in error messages - Catch UrlError when #include'ing URLs [Andrew Jorgensen] - hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs. [Robert Schweikert] - rh_subscription: Perform null checks for enabled and disabled repos. [Dave Mulford] - Improve warning message when a template is not found. [Robert Schweikert] - Replace the temporary i9n.brickies.net with i9n.cloud-init.io. - Azure: don't generate network configuration for SRIOV devices - tests: address some minor feedback missed in last merge. - tests: integration test cleanup and full pass of nocloud-kvm. - Gentoo: chmod +x on all files in sysvinit/gentoo/ [Carlos Konstanski] -- Chad Smith Fri, 01 Dec 2017 10:02:24 -0700 ** Changed in: cloud-init (Ubuntu Zesty) Status: Fix Committed => Fix Released ** Changed in: cloud-init (Ubuntu Artful) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
** Changed in: cloud-init (Ubuntu Xenial) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
Thanks Steve. Attached are the verification logs for ec2 instance asserting that this bug is fixed. # Launch instance under test $ for release in xenial zesty artful; do echo "Handling $release"; launch-ec2 --series $release; ssh ubuntu@ cat /run/cloud-init/result.json; ssh ubuntu@ grep Trace /var/log/cloud-init.log; ssh ubuntu@ sudo sed 's/ $release / $release-proposed /' /etc/apt/sources.list; ssh ubuntu@ sudo apt update; ssh ubuntu@ sudo apt install cloud-init; # Show upgrade without restart doesn't break ssh ubuntu@ sudo cloud-init init; # Show clean install doesn't break ssh ubuntu@ 'sudo rm -rf /var/log/cloud-init* /var/lib/cloud; sudo reboot' ssh ubuntu@ 'sudo cat /run/cloud-init/result.json ssh ubuntu@ 'sudo grep Trace /var/log/cloud-init*'; # Asssert no intermittent tracebacks from dhcp_discovery and no leaked dhcpclients; ssh ubuntu@ "sudo python3 -c 'from cloudinit.net.dhcp import maybe_perform_dhcp_discovery; maybe_perform_dhcp_discovery()"; sudo ps -afe |grep dhclient; done [Regression Potential] Regression would still result in Tracebacks in DataSourceEc2Local which would cause cloud-init to fallback to DataSourceEc2 in init-network stage. [Other Info] Upstream commit at https://git.launchpad.net/cloud-init/commit/?id=7acc9e68 === End SRU Template === === SRU Verification output === ### EC2 Xenial upgrade and fresh install test ubuntu@ip-10-0-20-54:~$ sudo vi /etc/apt/sources.list ubuntu@ip-10-0-20-54:~$ sudo apt update ... ubuntu@ip-10-0-20-54:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceEc2Local", "errors": [] } } ubuntu@ip-10-0-20-54:~$ grep Trace /var/log/cloud-init.log ubuntu@ip-10-0-20-54:~$ sudo apt install cloud-init Setting up cloud-init (17.1-46-g7acc9e68-0ubuntu1~16.04.1) ... ubuntu@ip-10-0-20-54:~$ sudo cloud-init init Cloud-init v. 17.1 running 'init' at Sat, 02 Dec 2017 04:10:13 +. Up 167.09 seconds. ci-info: ++Net device info++ ci-info: ++--++---++---+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address| ci-info: ++--++---++---+ ci-info: | eth0 | True | 10.0.20.54 | 255.255.255.0 | .| 0a:a4:58:cb:62:8c | ci-info: | eth0 | True | 2600:1f16:dc8:a120:73c6:9626:9c1d:2ecf/128 | . | global | 0a:a4:58:cb:62:8c | 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.0.20.1 |0.0.0.0|eth0 | UG | ci-info: | 1 | 10.0.20.0 | 0.0.0.0 | 255.255.255.0 |eth0 | U | ci-info: +---+-+---+---+---+---+ ubuntu@ip-10-0-20-54:~$ # remove cloud-init artifacts for clean boot ubuntu@ip-10-0-20-54:~$ sudo rm -rf /var/log/cloud-init* /var/lib/cloud/; sudo reboot csmith@uptown:~/src/server/cloud-init/cloud-init ((2f2070f...))$ ssh-keygen -f "/home/csmith/.ssh/known_hosts" -R ec2-18-217-50-75.us-east-2.compute.amazonaws.com csmith@uptown:~/src/server/cloud-init/cloud-init ((2f2070f...))$ ssh -i ~/Downloads/ubuntu.pem ubu...@ec2-18-217-50-75.us-east-2.compute.amazonaws.com Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ec2-18-217-50-75.us-east-2.compute.amazonaws.com,18.217.50.75' (ECDSA) to the list of known hosts. Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-1041-aws x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support:https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 51 packages can be updated. 8 updates are security updates. Last login: Sat Dec 2 04:08:08 2017 from 67.174.121.94 ubuntu@ip-10-0-20-54:~$ dpkg-query --show cloud-init cloud-init 17.1-46-g7acc9e68-0ubuntu1~16.04.1 ubuntu@ip-10-0-20-54:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceEc2Local", "errors": [] } } ubuntu@ip-10-0-20-54:~$ grep Trace /var/log/cloud-init.log #
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
Hello Chad, or anyone else affected, Accepted cloud-init into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- init/17.1-46-g7acc9e68-0ubuntu1~17.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: cloud-init (Ubuntu Artful) Status: Confirmed => Fix Committed ** Tags added: verification-needed verification-needed-artful ** Changed in: cloud-init (Ubuntu Zesty) Status: Confirmed => Fix Committed ** Tags added: verification-needed-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334594 ** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334595 ** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334597 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334593 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
** Changed in: cloud-init (Ubuntu Xenial) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Zesty) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Artful) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu Zesty) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu Artful) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu Bionic) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
This bug was fixed in the package cloud-init - 17.1-46-g7acc9e68-0ubuntu1 --- cloud-init (17.1-46-g7acc9e68-0ubuntu1) bionic; urgency=medium * New upstream snapshot. - ec2: Fix sandboxed dhclient background process cleanup. [Chad Smith] (LP: #1735331) - tests: NoCloudKVMImage do not modify the original local cache image. - tests: Enable bionic in integration tests. [Joshua Powers] - tests: Use apt-get to install a deb so that depends get resolved. - sysconfig: Correctly render dns and dns search info. [Ryan McCabe] (LP: #1705804) -- Scott Moser Thu, 30 Nov 2017 21:59:55 -0500 ** Changed in: cloud-init (Ubuntu Bionic) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334565 ** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334566 ** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334567 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1735331] Re: ec2: zesty tempfile sandbox dhclient.pid file can't be created
** Changed in: cloud-init Status: In Progress => Fix Committed ** Also affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Zesty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1735331 Title: ec2: zesty tempfile sandbox dhclient.pid file can't be created To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1735331/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs