'Tarantool Error - Procedure 'vshard.storage.buckets_count' is not defined

I'm trying to initialize a router and I get this error.

 Procedure 'vshard.storage.buckets_count' is not defined

All respose: response screen shote
I also do not have buckets. What could be the problem?



Solution 1:[1]

Most likely you need to set the vshard global variable:

_G.vshard = require('vshard')

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Alexander Turenko