https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • j

    jhoblitt

    11/22/2022, 3:56 PM
    nmcli, nmtui, nm-connection-editor, nmstatectl ...
  • j

    jhoblitt

    11/22/2022, 3:56 PM
    nmcli, nmtui, nm-connection-editor, nmstatectl ...
  • j

    jhoblitt

    11/22/2022, 3:56 PM
    nmstatectl uses yaml
  • j

    jhoblitt

    11/22/2022, 3:57 PM
    but it is back to an all in one config in a file... and I don't know if it can handle setting up multiple routing tables, ip match rules, etc.
  • j

    jhoblitt

    11/22/2022, 3:59 PM
    and... it is rather detailed
    Copy code
    [root@pillan09 system-connections]# nmstatectl show  | wc -l
    [2022-11-22T15:58:42Z INFO  nmstate::nispor::show] Got unsupported interface lo type Loopback
    [2022-11-22T15:58:42Z INFO  nmstate::nm::show] Got unsupported interface type generic: lo, ignoring
    936
  • j

    jhoblitt

    11/22/2022, 4:48 PM
    I think there 3-4 possible ways forward. 1) drop files under /etc/NetworkManager/system-connections/ -- this will work for interfaces, I still don't know about setting up routes with drop-in files 2) try to write out a yaml config and invoke
    nmstatectl
    . This does appear to support setting up multiple routing tables: https://nmstate.io/examples.html#route 3) try wrap
    nmcli
    with a provider and pass everything as cli flags 4) similar to 3 but try to bypass
    nmcli
    and talk to NM directly via d-bus using something like https://rubygems.org/gems/ruby-dbus
  • j

    jhoblitt

    11/22/2022, 4:49 PM
    @ananace which way did you go?
  • v

    VoxBot

    11/22/2022, 6:51 PM
    @jhoblitt - Got a bunch of types and providers that build the nmconnection ini-files, which then call nmcli to handle the reloading and bringing up/down when necessary
  • j

    jhoblitt

    11/22/2022, 6:53 PM
    @Ananance It would be great if you can share what you have. I am about to go on vacation until January but I'm going to have to start work on a "final" solution then.
  • j

    jhoblitt

    11/22/2022, 6:53 PM
    I'm rather pissed about the updown compat scripts being broken under EL9
  • j

    jhoblitt

    11/22/2022, 6:53 PM
    I'm rather pissed about the updown compat scripts being broken under EL9
  • s

    Slackbot

    11/22/2022, 6:57 PM
    This message was deleted.
    j
    • 2
    • 3
  • o

    op-ct

    11/22/2022, 10:24 PM
    Hi, I was searching for this exact error and noticed you ran into the same problem I just did. So in case you are still inconvenienced by this: This is a Puppet Debugger problem, caused by this Bolt PR (released in 3.23.0). That patch rearranged the API for the
    Bolt::PuppetDB::Config
    class, including removing the
    load_config
    method. I just submitted a PR to fix it at https://github.com/nwops/puppet-debugger/pull/74
  • o

    op-ct

    11/22/2022, 10:24 PM
    Hi, I was searching for this exact error and noticed you ran into the same problem I just did. So in case you are still inconvenienced by this: This is a Puppet Debugger problem, caused by this Bolt PR (released in 3.23.0). That patch rearranged the API for the
    Bolt::PuppetDB::Config
    class, including removing the
    load_config
    method. I just submitted a PR to fix it at https://github.com/nwops/puppet-debugger/pull/74
  • a

    Alex Fisher

    11/23/2022, 10:43 AM
    ewoud: OT: As a RedHatter, do you know why all the more recent ubi image tags have disappeared from here? https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8
  • s

    Slackbot

    11/23/2022, 10:59 AM
    This message was deleted.
    j
    • 2
    • 1
  • v

    VoxBot

    11/23/2022, 11:24 AM
    afisher: no, I do not know
  • a

    Alex Fisher

    11/23/2022, 11:27 AM
    no worries. I think it's just a confusing search interface and the image I was actually looking for was renamed and is https://catalog.redhat.com/software/containers/ubi8-minimal/5c64772edd19c77a158ea216
  • v

    VoxBot

    11/23/2022, 11:27 AM
    afisher: https://quay.io/repository/app-sre/ubi8-ubi-minimal has more recent tags
  • v

    VoxBot

    11/23/2022, 11:28 AM
    oh yes, that interface is horrible and finding what you're after is hard
  • v

    VoxBot

    11/23/2022, 2:42 PM
    can I get a review for https://github.com/voxpupuli/beaker/pull/1759
  • j

    jhoblitt

    11/23/2022, 10:23 PM
    @Alex Fisher I think they announced somewhere docker hub is deprecated (for ubi)
  • m

    Mila

    11/27/2022, 6:26 PM
    @Mila has left the channel
  • v

    VoxBot

    11/28/2022, 10:38 AM
    can I get a review for https://github.com/voxpupuli/puppet-augeasproviders_postgresql/pull/13
  • a

    Alex Fisher

    11/28/2022, 11:06 AM
    Morning all
  • r

    Robert Waffen

    11/28/2022, 11:06 AM
    @bastelfreak this are only references to already merged things, and these things are only "meta"-changes for tested plattforms?
  • r

    Robert Waffen

    11/28/2022, 11:06 AM
    this are only references to already merged things, and these things are only "meta"-changes for tested plattforms?
  • r

    Robert Waffen

    11/28/2022, 11:07 AM
    @bastelfreak this are only references to already merged things, and these things are only "meta"-changes for tested plattforms?
  • b

    bastelfreak

    11/28/2022, 11:17 AM
    we didnt do any real code changes, yes. the module got migrated to us and this is the first release in our namespace
    👍 1
  • v

    VoxBot

    11/28/2022, 11:19 AM
    https://github.com/voxpupuli/puppet-nginx/pull/1519
1...195196197...648Latest