=== EugenMayer599 is now known as EugenMayer59 | ||
=== EugenMayer594 is now known as EugenMayer59 | ||
Matt27 | Heyo, I've been struggling with getting cc_chef module running. Keep hitting a `File not found` error and I've got 0 clue what I'm missing | 03:31 |
---|---|---|
Matt27 | https://cloudinit.readthedocs.io/en/latest/topics/examples.html#install-and-run-chef-recipes | 03:32 |
Matt27 | My cloud-init file has lines 51-86 in it. Anything obvious that I'm missing/messing up? | 03:32 |
Matt27 | 2022-10-31 03:28:53,217 - util.py[DEBUG]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_chef.py'>) failed | 03:33 |
Matt27 | Traceback (most recent call last): | 03:33 |
Matt27 | File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 876, in _run_modules | 03:33 |
Matt27 | freq=freq) | 03:33 |
Matt27 | File "/usr/lib/python3.6/site-packages/cloudinit/cloud.py", line 54, in run | 03:33 |
Matt27 | return self._runners.run(name, functor, args, freq, clear_on_fail) | 03:33 |
Matt27 | File "/usr/lib/python3.6/site-packages/cloudinit/helpers.py", line 185, in run | 03:33 |
Matt27 | results = functor(*args) | 03:33 |
Matt27 | File "/usr/lib/python3.6/site-packages/cloudinit/config/cc_chef.py", line 508, in handle | 03:33 |
Matt27 | util.ensure_dirs(param_paths) | 03:33 |
Matt27 | File "/usr/lib/python3.6/site-packages/cloudinit/util.py", line 1535, in ensure_dirs | 03:33 |
Matt27 | ensure_dir(d, mode) | 03:33 |
Matt27 | File "/usr/lib/python3.6/site-packages/cloudinit/util.py", line 1588, in ensure_dir | 03:33 |
Matt27 | os.makedirs(path) | 03:33 |
Matt27 | File "/usr/lib64/python3.6/os.py", line 220, in makedirs | 03:33 |
Matt27 | mkdir(name, mode) | 03:33 |
Matt27 | FileNotFoundError: [Errno 2] No such file or directory: '' | 03:33 |
Matt27 | I've gone through the source code and really the only thing I can see is I haven't specified validation_key https://github.com/canonical/cloud-init/blob/49e01b4298252c1405cbbf316f5433f371c2cc75/cloudinit/config/cc_chef.py#L70 but I think in the chef template the key is passed through via the cert? I'm super new to cloud-init so its been a steep | 03:36 |
Matt27 | learning curve lol | 03:36 |
=== EugenMayer596 is now known as EugenMayer59 | ||
Matt27 | Also just looking a bit further into this, seems like 'chef_license' is being added into the CHEF_RB_TPL_PATH_KEYS and causing issues. My python is pretty average, so would this be getting set here: https://github.com/canonical/cloud-init/blob/49e01b4298252c1405cbbf316f5433f371c2cc75/cloudinit/config/cc_chef.py#L88 | 04:36 |
Matt27 | I can't find any other reference to the chef_license, and its somehow ending up in the PATH_KEYS var | 04:36 |
Matt27 | It gets set on https://github.com/canonical/cloud-init/blob/49e01b4298252c1405cbbf316f5433f371c2cc75/cloudinit/config/cc_chef.py#L67 but still doesn't reference the chef_license key in the definition, so is there a step I'm missing somewhere? | 04:38 |
=== gschanuel3 is now known as gschanuel | ||
=== EugenMayer595 is now known as EugenMayer59 | ||
=== gschanuel7 is now known as gschanuel | ||
=== EugenMayer595 is now known as EugenMayer59 | ||
=== EugenMayer590 is now known as EugenMayer59 | ||
minimal | is there any way with network-config v1 or v2 to specify ethtool settings (other than WoL) for interfaces? | 14:18 |
=== gschanuel3 is now known as gschanuel | ||
meena | falcojr: I think https://github.com/canonical/cloud-init/pull/1779 is ready for re* review | 17:33 |
-ubottu:#cloud-init- Pull 1779 in canonical/cloud-init "Net: add BSD ifconfig(8) parser and state class" [Open] | 17:33 | |
=== gschanuel0 is now known as gschanuel | ||
falcojr | I'll try to get to it soon. The canonical employees are going to be less active this week as we're at an in person engineering meeting all week. | 18:53 |
minimal | falcojr: I assume this will impact on the 22.4 release schedule then | 18:54 |
falcojr | Bah, yes. Probably next Tuesday. | 18:55 |
=== gschanuel2 is now known as gschanuel | ||
meena | falcojr: might be good to rework my schedule next week with all of y'all's schedule in mind /cc jrm | 20:24 |
=== gschanuel0 is now known as gschanuel | ||
=== gschanuel9 is now known as gschanuel |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!