Hello Ody,

sorry for this late reply!  I have tried starting a cluster with the
configuration you provided and, after swapping in my credentials, it
worked (see output log at end of email).

The only difference that I can find is that I have this additional
line in the `[cloud/google-cloud]` section:

noauth_local_webserver=True

As to your question, step by step instructions for creating the client
ID and secret keys are given here:
https://cloud.google.com/life-sciences/docs/tutorials/grid-engine-cluster#obtain_your_client_id_and_client_secret

Let me know if this helps!

Kind regards,
Riccardo


---- output from correctly starting cluster -----
(elasticluster) riccardo.murri@dev:~$ elasticluster -c ody.conf stop
-y odycluster
Destroying cluster `odycluster` ...
2020-08-14 20:46:12 dev elasticluster[12178] WARNING Node `compute001`
has no instance ID. Assuming it did not start correctly, so removing
it anyway from the cluster.
2020-08-14 20:46:12 dev elasticluster[12178] WARNING Node `compute002`
has no instance ID. Assuming it did not start correctly, so removing
it anyway from the cluster.
2020-08-14 20:46:12 dev elasticluster[12178] WARNING Node
`frontend001` has no instance ID. Assuming it did not start correctly,
so removing it anyway from the cluster.
(elasticluster) riccardo.murri@dev:~$ elasticluster -vv -c ody.conf
start odycluster
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Checking section
`cloud/google-cloud` ...
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Checking section
`login/google` ...
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Checking section
`cluster/odycluster` ...
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Checking section
`setup/gridengine` ...
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Using class <class
'elasticluster.providers.gce.GoogleCloudProvider'> from module <module
'elasticluster.providers.gce' from '/home/riccard
o.murri/elasticluster/elasticluster/providers/gce.py'> to instanciate
provider 'google'
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Using class <class
'elasticluster.providers.ansible_provider.AnsibleSetupProvider'> from
module <module 'elasticluster.providers.ansible_pr
ovider' from 
'/home/riccardo.murri/elasticluster/elasticluster/providers/ansible_provider.py'>
to instanciate provider 'ansible'
Starting cluster `odycluster` with:
* 1 frontend nodes.
* 2 compute nodes.
(This may take a while...)
2020-08-14 20:47:53 dev elasticluster[12182] INFO Starting cluster
nodes (timeout: 600 seconds) ...
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG Note: starting 3
nodes concurrently.
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG _start_node:
working on node `frontend001`
2020-08-14 20:47:53 dev elasticluster[12182] INFO Starting node
`frontend001` from image `debian-9-stretch-v20200805` with flavor
n1-standard-1 ...
2020-08-14 20:47:53 dev elasticluster[12182] WARNING UserWarning:
Cannot access 
/home/riccardo.murri/.elasticluster/storage/363333365221-s8atntam5ihgtdclh7odfni4jn7hmtrq.apps.googleuserconte
nt.com.oauth.dat: No such file or directory
2020-08-14 20:47:53 dev elasticluster[12182] INFO Determined that
provided credentials are not valid.
2020-08-14 20:47:53 dev elasticluster[12182] INFO Attempting to use
Google Application Default Credentials.
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG _start_node:
working on node `compute001`
2020-08-14 20:47:53 dev elasticluster[12182] INFO Starting node
`compute001` from image `debian-9-stretch-v20200805` with flavor
n1-standard-1 ...
2020-08-14 20:47:53 dev elasticluster[12182] DEBUG _start_node:
working on node `compute002`
2020-08-14 20:47:53 dev elasticluster[12182] INFO Starting node
`compute002` from image `debian-9-stretch-v20200805` with flavor
n1-standard-1 ...
2020-08-14 20:47:53 dev elasticluster[12182] WARNING ResourceWarning:
unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=2049,
proto=6, laddr=('10.166.0.2', 47110), raddr=('169
.254.169.254', 80)>
2020-08-14 20:48:06 dev elasticluster[12182] DEBUG Node `compute002`
has instance ID `odycluster-compute002`
2020-08-14 20:48:06 dev elasticluster[12182] INFO Node `compute002`
has been started.
2020-08-14 20:48:10 dev elasticluster[12182] DEBUG Node `frontend001`
has instance ID `odycluster-frontend001`
2020-08-14 20:48:10 dev elasticluster[12182] INFO Node `frontend001`
has been started.
2020-08-14 20:48:21 dev elasticluster[12182] DEBUG Node `compute001`
has instance ID `odycluster-compute001`
2020-08-14 20:48:21 dev elasticluster[12182] INFO Node `compute001`
has been started.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticluster/CAJGE3zX%2BNP3EQuw3q074aLSO9pPsxJ3nFc2SBzP990jiaU9DAA%40mail.gmail.com.

Reply via email to