Closed STiCory closed 1 year ago
https://truecharts.org/news/operator-changes
Not a bug
Will this new "CNPG operator" permit the use of stopping and starting containers from the Truenas GUI in this case? How did I miss this? I feel like this would be a "breaking change"?
Any major versions, aka 19 to 20, are possible breaking changes based on semVer
, and no, that's because ix/TrueNAS chose not to support and operators so we have to do other things, notable the stopall
inside the Edit
screen
Feel free to read this -> https://truecharts.org/news/metallb-changes
And this -> https://truecharts.org/news/stop-all
Any major versions, aka 19 to 20, are possible breaking changes based on
semVer
, and no, that's because ix/TrueNAS chose not to support and operators so we have to do other things, notable thestopall
inside theEdit
screenFeel free to read this -> https://truecharts.org/news/metallb-changes
And this -> https://truecharts.org/news/stop-all
Wow. This is a lot of really good info, thank you for sharing - I'm definitely new to this so this was very helpful! I went through and successfully upgraded to version 20.0.0! Homeassistant is the only app that is using CN-PG.
Just one question - the cloudnative-pg and prometheus operator apps must be running forever now, right?
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists
App Name
Home-Assistant
SCALE Version
22.12.2
App Version
20.0.0
Application Events
Application Logs
Application Configuration
All default except for host-path for storage and adding USB Matter/Zigbee controller
Describe the bug
Version 19.0.37 is the last version that will install cleanly or upgrade to, version 20.0.0 fails to install complaining that CN-PG needs to be installed first.
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 428, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 463, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1378, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1246, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 115, in upgrade await self.upgrade_chart_release(job, release, options) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 298, in upgrade_chart_release await self.middleware.call('chart.release.helm_action', release_name, chart_path, config, 'upgrade') File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1395, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1355, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1258, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 44, in helm_action raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}') middlewared.service_exception.CallError: [EFAULT] Failed to upgrade chart release: Error: UPGRADE FAILED: execution error at (home-assistant/templates/common.yaml:2:4): Operator [cloudnative-pg] has to be installed first
To Reproduce
Expected Behavior
Successful upgrade.
Screenshots
Additional Context
Actually on TrueNAS-SCALE-22.12.3.3 but there is no dropdown for 22.12.3 available
I've read and agree with the following