Re: [Cloud-init-dev] [Merge] ~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into cloud-init:master

2019-09-25 Thread Server Team CI bot
Review: Approve continuous-integration

PASSED: Continuous integration, rev:ac38c650c1b6cb9df4021786d772450470f17aff
https://jenkins.ubuntu.com/server/job/cloud-init-ci/1176/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions


Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/1176//rebuild
-- 
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/372727
Your team cloud-init Commiters is requested to review the proposed merge of 
~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into 
cloud-init:master.

___
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Cloud-init-dev] [Merge] ~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into cloud-init:master

2019-09-13 Thread Server Team CI bot
Review: Approve continuous-integration

PASSED: Continuous integration, rev:485384fe14caf0a3da01dfd7d5c79027e2c00161
https://jenkins.ubuntu.com/server/job/cloud-init-ci/1141/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions


Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/1141//rebuild
-- 
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/372727
Your team cloud-init Commiters is requested to review the proposed merge of 
~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into 
cloud-init:master.

___
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Cloud-init-dev] [Merge] ~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into cloud-init:master

2019-09-13 Thread Ryan Harper
Maybe, but I don't think we really wanted to always append a header to the 
file, and we certainly wanted to avoid writing the file if we didn't have a 
config.  Lastly the side-effect of modifying resolvconf without dns settings 
disabled system auto-generation.

We do need to be careful w.r.t detecting whether netconfig is present or not.  
I think that we could replace updating resolvconf directly if netconfig is 
present.   This renderer is shared by a range of SuSE and RHEL releases which 
may or maynot have netconfig (or something equivalent).

I'd like Robert to comment on whether we want to move to netconfig or not.  
That can be done incrementally (land this fix of not touching resolv.conf at 
all if we don't have settings) and then separately replacing writing 
resolv.conf directly with using netconfig if present.


-- 
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/372727
Your team cloud-init Commiters is requested to review the proposed merge of 
~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into 
cloud-init:master.

___
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Cloud-init-dev] [Merge] ~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into cloud-init:master

2019-09-13 Thread Scott Moser
It can be argued that cloud-init *was* doing the right thing.
It was told that there were no dns servers and no dns 'search' (by lack of that 
in network config).

dhcp muddies that argument for sure.

That said, based on the content in the description of the bug (the
previously-existing /etc/resolv.conf), cloud-init should *never* be
writing that file when 'netconfig' is involved. It seems rather that
resolv.conf is generated based on contents of
/etc/sysconfig/network/config .

Would writing /etc/sysconfig/network/config with valid content for 
NETCONFIG_DNS_STATIC_SEARCHLIST and friends fix this?

-- 
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/372727
Your team cloud-init Commiters is requested to review the proposed merge of 
~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into 
cloud-init:master.

___
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Cloud-init-dev] [Merge] ~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into cloud-init:master

2019-09-12 Thread Server Team CI bot
Review: Approve continuous-integration

PASSED: Continuous integration, rev:cc70b43e9becd6a469ed17430c5907b85b5f2b2d
https://jenkins.ubuntu.com/server/job/cloud-init-ci/1139/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions


Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/1139//rebuild
-- 
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/372727
Your team cloud-init Commiters is requested to review the proposed merge of 
~raharper/cloud-init:fix/sysconfig-skip-resolvconf-no-dns-config into 
cloud-init:master.

___
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp