Ticket #: CS0003239
Summary: bx cs init affects more than current session
Details: I'm provisioning two clusters simultaneously.
In the first session I initiated a us-south dal13 build, watched it till it got to the master deployment
At that point I switched to a different session to build a London cluster. I ran "bx cs init --host uk-south.containers.bluemix.net"
I switched back to the first session to check progress
Below you see the effect of running bx init in the second session on the first session.
Please accept an enhancement request to alter behaviour such that different sessions in the same user account should not affect each other in this way.
Best Regards
annnnn
annnnn@atunnn-SL1:/mnt/c/Users/annnn$ bx cs workers atunnn-4x16
OK
ID Public IP Private IP Machine Type State Status Version
kube-dal13-swkdjfjksadsdf245d8a2558daff706771d-w1 - - b1c.4x16 provision_pending Waiting for master to be deployed 1.7.4_1503
kube-dal13-swkdjfjksadsdf245d8a2558daff706771d-w2 - - b1c.4x16 provision_pending Waiting for master to be deployed 1.7.4_1503
kube-dal13-swkdjfjksadsdf245d8a2558daff706771d-w3 - - b1c.4x16 provision_pending Waiting for master to be deployed 1.7.4_1503
annnnn@atunnn-SL1:/mnt/c/Users/annnn$ bx cs workers atunnn-4x16
FAILED
The specified cluster could not be found. Run 'bx cs clusters' to list all clusters you have access to. (E0008)
Incident ID: 1cc5263d-1d27-4c07-8a7c-3902beff173a
annnnn@atunnn-SL1:/mnt/c/Users/annnn$ bx cs clusters
OK
Name ID State Created Workers Datacenter Version
atunnn-4x16 94b457cf1b3d448d8855f3532a99df5d deploying 3 seconds ago 3 lon02 1.7.4_1503
annnnn@atunnn-SL1:/mnt/c/Users/annnn$ bx cs workers atunnn-4x16
OK
ID Public IP Private IP Machine Type State Status Version
kube-lon02-pogophoghghghgfhgg8855f3532a99df5d-w1 - - b1c.4x16 provision_pending Waiting for master to be deployed 1.7.4_1503
kube-lon02-pogophoghghghgfhgg8855f3532a99df5d-w2 - - b1c.4x16 provision_pending Waiting for master to be deployed 1.7.4_1503
kube-lon02-pogophoghghghgfhgg8855f3532a99df5d-w3 - - b1c.4x16 provision_pending Waiting for master to be deployed 1.7.4_1503
| Idea priority | Medium |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
Resolved by global endpoint
Hi Chris,
I had to close the ticket as directed by the support team.
Detail below - this still happens with bx version 0.6.4+41cb1aa-2017-12-19T03:46:07+00:00,
It is because ~/.bluemix/plugins/container-service/config.json is not shell specific. Ensuring the shell used config.json.$$ would probably solve it
Thanks
Adrian
In terminal window A
bx cs init --host https://uk-south.containers.bluemix.net
bx cs clusters
# sees UK clusters
In terminal window B
bx cs init --host https://eu-central.containers.bluemix.net
bx cs clusters
# sees EU clusters
Back in terminal window A
bx cs clusters
# sees EU clusters
Closer detail....
adrian@ATU045-SL1:/mnt/c/Users/adria/OneDrive/Code$ cat /home/adrian/.bluemix/plugins/container-service/config.json
{
"api-bx-endpoint": "https://api.eu-de.bluemix.net",
"api-cs-endpoint": "https://eu-central.containers.bluemix.net",
"api-is-dedicated": "true",
"api-manual-init": "true",
"latest-prod-version": "0.1.425",
"latest-prod-version-checked": "2018-01-18T07:41:48Z",
"latest-prod-version-informed": "2018-01-18T07:41:48Z",
"user-messages": "[]",
"user-messages-expires-at": "2018-01-18T07:52:19Z",
"user-messages-printed-at": ""
}adrian@ATU045-SL1:/mnt/c/Users/adria/OneDrive/Code$bx cs init --host https://uk-south.containers.bluemix.net
Using user provided API endpoint: https://uk-south.containers.bluemix.net
OK
adrian@ATU045-SL1:/mnt/c/Users/adria/OneDrive/Code$ cat /home/adrian/.bluemix/plugins/container-service/config.json
{
"api-bx-endpoint": "https://api.eu-de.bluemix.net",
"api-cs-endpoint": "https://uk-south.containers.bluemix.net",
"api-is-dedicated": "",
"api-manual-init": "true",
"latest-prod-version": "0.1.425",
"latest-prod-version-checked": "2018-01-18T07:41:48Z",
"latest-prod-version-informed": "2018-01-18T07:41:48Z",
"user-messages": "[]",
"user-messages-expires-at": "2018-01-18T07:52:19Z",
"user-messages-printed-at": ""
This should not be an issue still. What is the status of the ticket noted above? Do you have a link to the ticket?