-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resources added to the configuration file are neither being loaded to runtime nor saved to disk #76
Comments
I have also that the resources are not being saved to disk either, so after making a change to the configuration, not only do I have to run:
...but I also have to run:
|
I see that the problem here is my using the If I create the resources directly, using either the defined types or in hiera using the syntax:
...then the resources are created, loaded to runtime, saved to the sqlite database, but they do not appear in the configuration file Would it not be beneficial to keep the configuration file in sync with the resources, and vice versa? |
I'm not completely sure if this is the same problem, but I have a similar issue. I have this hiera:
which creates this /etc/proxysql.conf:
This config is running, but now I want to add support for IPv6. As
With this hiera, then /etc/proxysql.conf is correctly created:
The problem is that this config is not propagated to runtime.
and manually run it. What I have checked is that when you run So this new config is never loaded in runtime. Any help? Is this a bug of the module? Or a bug in proxysql? |
We are also experiencing this problem A Puppetrun output shows us that the file is being changed on disk and the reload_config is being triggered
However before any of the settings are applied we have to use the ProxySQL Admin interface and issue the following commands
the same is true for It would appear that the problem is that Moving config between layers
|
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Apply the module via profile, with resources defined in hiera.
Sample of hiera data:
I have not specified the
proxysql::load_to_runtime
parameter in hiera, because it defaults totrue
.What are you seeing
The config file
/etc/proxysql.cnf
is correctly written.The in-memory database is not updated.
The runtime database is not updated.
In order to effect any change, I have to execute the following in the ProxySQL admin console:
The observation is the same with other resources such as the scheduler, mysql users, mysql query rules and so on.
What behaviour did you expect instead
I expected to see the resources being saved to the configuration file and then immediately loaded to runtime during the puppet run.
The text was updated successfully, but these errors were encountered: