[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
I believe this issue is fixed and I am marking it as invalid as nothing from cloud-init was changed. If you disagree or have additional information please feel free to follow up here and put the bug back into the 'new' state. ** Changed in: cloud-init (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Confirmed on Ubuntu18.10 GA build, the 'var/lib/cloud/instance' is back to a symbolic link. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Filed a LP bug to Ubuntu https://bugs.launchpad.net/ubuntu/+source /compiz-plugins-main/+bug/1798540 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
@Scott, thanks a lot for your investigation. The /var/lib/cloud/instance is a directory in Ubuntu18.04.1 and Ubuntu18.10 daily build, while it is a symbolic link in Ubuntu18.04 GA, could this be a regression bug for Ubuntu release? Or for some reason, it was changed from Ubuntu18.04.1. I will go to launch a LP bug for Ubuntu on this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
@Pengpeng, Looking at the logs, the core of the issue seems to be the error in journal.txt and cloud-init-output.log: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance' I'm not really sure how that got that way. I had seen a bug like this before but have never been able to reproduce or understand where it comes from. /var/lib/cloud/instance should always be a symbolic link. Also, I think the logs show 2 boots. the 'modules:config' and 'modules:final' of one boot and then the 'init-local' and 'init' of a second boot. It seems like the clock was set backwards after the first. The best evidence of that is status.json. It is collected from /run, which is tmpfs filesystem, so it will only ever have a single boot in it. There we see: init started at 982.966233 init-local started at 861.9958138 modules-config started at 985.3238215 modules-final started at 985.8770518 for readability i cut off the '1539336' prefix from each of the times above. Ie, init logged it started at '1539336982.966233'. I suspect if you run 'cloud-init clean' the problem would resolve itself, but I'm not /var/lib/cloud/instance got to be a directory. Any ideas? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
@Scott, I found the dependency error was caused by a workaround of us, it might not the root cause of failure on Ubuntu18.04.1 and Ubuntu18.10 After remove the workaround, I got the cloud-init logs again, please check the new attachment cloud-init-18.04.1-FAIL.tar.gz, there are some Tracebacks in it. ** Attachment added: "cloud-init-18.04.1-FAIL.tar.gz" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+attachment/5200337/+files/cloud-init-18.04.1-FAIL.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
VMTools version from UBUNTU18.10 daily build FAIL test $ vmtoolsd -v VMware Tools daemon, version 10.3.0.5330 (build-8931395) VMTools version from UBUNTU18.04.1 FAIL test $ vmtoolsd -v VMware Tools daemon, version 10.2.0.1608 (build-7253323) VMTools version from UBUNTU18.04GA PASS test $ vmtoolsd -v VMware Tools daemon, version 10.2.0.1608 (build-7253323) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Attach cloud-init logs from UBUNTU18.04GA PASS test ** Attachment added: "cloud-init_PASS.tar.gz" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+attachment/5199323/+files/cloud-init_PASS.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Attach cloud-init logs from UBUNTU18.10 daily build FAIL test ** Attachment added: "cloud-init_FAIL.tar.gz" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+attachment/5199324/+files/cloud-init_FAIL.tar.gz ** Changed in: cloud-init (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
@Scott Thanks for your input, please find the cloud-init logs for both PASS and FAIL test. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Hi, Can you please attach the .tar.gz file created by cloud-init collect-logs in success and failure cases. Also, please include the open-vm-tools version in both. ** Changed in: cloud-init (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
when you've provided that input, set the status back to 'New' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1796875] Re: cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Link with VMWare bug: 2212195 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796875 Title: cloud-init and cloud-init-local services boot sequence does not obey dependency settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs