-
Notifications
You must be signed in to change notification settings - Fork 87
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
not showing any differences #132
Comments
The catalog you posted has no resources in it. Without knowing your exact setup it is difficult to suggest a specific solution. My general advice would be to consider how you're currently classifying nodes. For example, do you use an external node classifier (ENC) that supplies Or, perhaps you use node definitions? If so, is there a node definition for the actual hostname you're using -- "blah.domain.com" in your example? |
Hi, I agree, there are no resources. Its like the node is not being classified, but we are using the following node definition:
We're not using PE, or any ENC. We are not using r10k-style 'environments per branch'. Its a git repo with and the node definitions are under the environments dir.
|
Hi, @kpaulisse I managed to get things working, but with a quite a few workarounds. octocatalog-diff is serving our purpose for now. I'm hoping you can tell me how I can do this quicker and easier. In a nutshell, I need to 'fix' the repo by adding a few symbolic links. This solution works. If there is a way to avoid this, it would be great. Example: Compare branches master and PR13990 against a list of nodes.
This command then works as expected. Here I am comparing the catalogs for one node at a time. Is it possible to do these in parallel as it would be much faster. When I tried to background the bin/octocatalog-diff command, it didnt like it. Any advice would be appreciated. |
Did you ever get anywhere with this? or is comparing branches with octocatalog-diff dead :( |
Thx a lot.It works.
can try do "ln -sf XXX/modules modules" in basedir |
octodiff is not showing any differences when there should be differences.
I made a branch called 'octodiff_test'. I made a change in this branch that would impact node 'blah.domain.com'. When I run octodiff, it says 'No differences'. I expected differences to be be shown.
If I repeat this for a node that doesn't exist, I get the same outcome.
I followed the troubleshooting and when I create look at the compiled JSON, the file is basically empty.
See run_output.txt attached.
I tried following the troubleshooting and the catalog that is compiled is basically empty. I assume its creating this catalog for each branch and finding no diff.
See troubleshooting.txt attached.
I think the issue is related to classification. We are setting the role of the host in environments/stress_test/manifests/site.pp, We dont use ENC, so I'm not sure how we can classify a node in Hiera.
I installed from gem, so assume this does not apply.
The text was updated successfully, but these errors were encountered: