-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
oc adm diagnostics: unable to parse requirement #18127
Comments
Looks like it was broken by the following commit: 357071f |
@php-coder that commit was against master (3.9), so I don't think it's relevant to 3.7. Also since the router deployment is seeing the same message... My guess would be admission config, default nodeSelector, or something like that is breaking things. @micah can you post the |
@sosiouxme - sure, I'm happy to provide any details, or do any debugging that can help! The server is an atomic centos system, at version 7.1712. I deployed the openshift-ansible advanced recipes to get things going on the system. I tried to disable the stats port for the router, according to the docs, but it did not work, and may be the cause of this issue. Because the documentation did not work, I filed an issue on that: openshift/openshift-docs#6969 Here is my
|
It looks like this error message comes from parsing a label or label selector, the combination of this and this. It looks like something was empty or simply lacked the @pweil- both the router pod and the diagnostic pod seem to exhibit this problem for the user, and I don't see it (naturally). Any pointers how something might get here in a broken state? The specific code hasn't been touched in years (it was @pravisankar FWIW) so I doubt it's that; more likely something is getting mangled in between the definition given above and this parsing code. Who would know? |
@mfojtik do you have any thoughts here? I have also never seen this launching a router pod. |
@sosiouxme since we have no diagnosis other than it possibly being admission and cannot reproduce this I don't have a good suggestion. The fact that the error message wants an |
@pweil- since it also showed up in the router pod it seems likely to be a wider issue. But obviously we're not getting other reports of this, so there's something triggering about this reported environment. @micah by any chance do you have a reproducing environment we can poke around in to see if we can track it down? Otherwise, I think we'll need to close this as no one has any further ideas. |
@micah could you also dump the namespace? |
Yup, might worth to check |
Tomáš Nožička <[email protected]> writes:
@micah could you also dump the namespace? `oc get namespace <name> -o yaml` There is additional annotation configuring project default node selector which might possibly cause this.
sorry, I've since destroyed the cluster, so I cannot gather anymore data
:(
…--
micah
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Running
ocm adm diagnostics
produces an error about the diagnostic pod.Version
openshift v3.7.0+7ed6862
kubernetes v1.7.6+a08f5eeb62
etcd 3.2.8
Steps To Reproduce
oc adm diagnostics
Current Result
Expected Result
No error.
Additional Information
The router deployment config also seems to exhibit this error:
The text was updated successfully, but these errors were encountered: