Rendezvous error

14 views
Skip to first unread message

Lukas Karlsson

unread,
Apr 18, 2018, 7:18:49 PM4/18/18
to Forseti Security Beta Testers
I am now getting this error no matter what I do.

I see similar errors on the server side about "One or more mappers failed to initialize - can't proceed with initialization".

$ forseti inventory list
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.0.0-py2.7.egg/google/cloud/forseti/services/cli.py", line 1031, in <module>
    main(sys.argv[1:], ENV_CONFIG)
  File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.0.0-py2.7.egg/google/cloud/forseti/services/cli.py", line 1013, in main
    services[config.service](client, config, output, config_env)
  File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.0.0-py2.7.egg/google/cloud/forseti/services/cli.py", line 736, in run_inventory
    actions[config.action]()
  File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.0.0-py2.7.egg/google/cloud/forseti/services/cli.py", line 717, in do_list_inventory
    for inventory in client.list():
  File "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 350, in next
    return self._next()
  File "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 341, in _next
    raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, Exception iterating responses: One or more mappers failed to initialize - can't proceed with initialization 
of other mappers. Triggering mapper: 'Mapper|Member|262b641dbfb41c53941cf5afcf038417_members'. Original exception was: Class 'google.cloud.forseti.services.dao.Binding' is not mapped)>

I didn't know what to do to fix, so I did gcloud compute instances reset forseti-server-vm-#### and then when the vm was back online I sshed into it and tailed the /tmp/deployment.log and it looks like it came up cleanly.

Logged back in the client vm and "forseti inventory list" works now.

/l

--
Lukas Karlsson, Cloud Architect / Developer Advocate

Broad Institute of MIT and Harvard
75 Ames Street, 11129, Cambridge, Massachusetts 02142
karl...@broadinstitute.org, +1.6177147142

Joe Cheuk

unread,
Apr 18, 2018, 7:45:56 PM4/18/18
to Lukas Karlsson, Forseti Security Beta Testers
Hi Lukas,

For the current version (2.0-rc2) of Forseti, we restart the Forseti server every time we run the cron job because we want to read in the most updated forseti configuration file from the GCS bucket. During the restart of the server, errors like this will happen when the server is not fully restarted or in the process of restarting.

We have opened an issue and hopefully can address it in the near future:

Best regards,
Joe

--
You received this message because you are subscribed to the Google Groups "Forseti Security Beta Testers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beta-testers...@forsetisecurity.org.
To post to this group, send email to beta-t...@forsetisecurity.org.
To view this discussion on the web visit https://groups.google.com/a/forsetisecurity.org/d/msgid/beta-testers/CADT05STcY5BJqie-vCAXcdWb-NQK-1f-cuecc9R1NPmSmZaGuw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages