Hi,
I have created infra in AWS and 1 master 2 slave . Trying to install openshift with container and getting following error
Play : Web console
Task : Report console error
message : console install failed
I have open all ports and hosted in public subnet
Which openshift-ansible branch are you using? Which origin release are you installing?
Please attach inventory file and ansible playbook output
@AK00468797
I had the issue: do you have your scheduling disabled on your masters? if yes: I added this to our inventory:
openshift_web_console_nodeselector: {"region": "infra"}
I do have the same issue.
atomic-openshift-utils-3.9.14-1.git.3.c62bc34.el7.noarch
openshift-ansible-3.9.14-1.git.3.c62bc34.el7.noarch
TASK [openshift_web_console : Report console errors] ************************
fatal: [172.19.1.100]: FAILED! => {"changed": false, "msg": "Console install failed."}
any help?
I finally added this line in my inventory in the vars section and it solved my problem :
openshift_web_console_nodeselector={'region':'infra'}
Thanks
That's probably just a workaround and not a solution: the web console should apparently be running on masters. You are making it run on nodes instead. Still, a good workaround :)
I figured it out for my installation -- it's actually clearly explained in the release notes, but I seem to have missed it.
Before 3.9, the situation has been pretty simple:
Since 3.9, the situation has changed, probably to keep up with upstream Kubernetes:
So in short, I'm fixing my problem as follows:
Hope this helps someone. As for this issue, web console won't be deployable without enabling scheduling for masters, might be nice to check for that in Ansible.
@rassie did you find any more details about the region=infra concept? We had all of our kubelets labeled as region=infra and didn't really rope off any specific nodes for running the registry, registry console, hawkular, etc.. components. As such, the ansible upgrade plays did not add the node labels and we had to write a bit to add the compute label to all non-master nodes.
I'm guessing that "we are doing it wrong" by not having nodes dedicated to the infra components and that this is all "Working as intended"?
HI @rassie
I'm running into the problem the following task failing, which sounds similar:
TASK [openshift_web_console : Verify that the console is running]
Can you please help with the following points that you listed.
Make masters schedulable again
Is this correct?
[masters]
apps.mydomain.com openshift_schedulable=true
Add masters to nodes group in the inventory in addition to being in masters group
Can you clarify how to do this?
Remove compute node label from masters
Can you clarify how to do this?
Add region=infra label to my masters, since I don't have real dedicated infra nodes and I don't want to bother installing a couple of servers just for the registry.
Can you clarify how to do this?
Thanks
HI @rassie
I'm running into the problem the following task failing, which sounds similar:
TASK [openshift_web_console : Verify that the console is running]Can you please help with the following points that you listed.
Make masters schedulable again
Is this correct?
[masters] apps.mydomain.com openshift_schedulable=trueAdd masters to nodes group in the inventory in addition to being in masters group
Can you clarify how to do this?
Remove compute node label from masters
Can you clarify how to do this?
Add region=infra label to my masters, since I don't have real dedicated infra nodes and I don't want to bother installing a couple of servers just for the registry.
Can you clarify how to do this?
Thanks
Same here
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle rotten
/remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
/close
@openshift-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen.
Mark the issue as fresh by commenting/remove-lifecycle rotten.
Exclude this issue from closing again by commenting/lifecycle frozen./close
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.
Most helpful comment
HI @rassie
I'm running into the problem the following task failing, which sounds similar:
Can you please help with the following points that you listed.
Is this correct?
Can you clarify how to do this?
Can you clarify how to do this?
Can you clarify how to do this?
Thanks