-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Vtadmin page does not show any data on first install in version 19 #15833
Comments
To add to this issue, when reproducing the steps in the consol we can see that API requests are blocked by CORS as seen in the log below (visible in the web consol). This issue happens even though we use the URL printed by the 101 script and also when going on
|
Thanks @frouioui ! Would you mind sharing where you see the |
Good news is that after normalizing the hostnames in the start up scripts, this works fine now: from #15839 |
@bantyK can you share your output from running |
hi @notfelineit I had to do a fresh install and now its working. Thank you for fixing this. :) |
@bantyK yay that's great! 🥳 |
Overview of the Issue
Upon following all the steps mention in Local install via source in mac, after running the script
./101_initial_cluster.sh
script the command output in the terminal shows all steps being run successfully but the vtadmin UI portal shows no data. Keyspace, cluster, schema etc all show "No result".The script output is shown below
Underlying database is created as shown in the screenshot below.
![Screenshot 2024-05-02 at 8 42 56 PM](https://private-user-images.githubusercontent.com/8079844/327483786-b03ed119-67f0-49d1-8eb3-534bc1b39e4b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNTg2MDQsIm5iZiI6MTcyNDI1ODMwNCwicGF0aCI6Ii84MDc5ODQ0LzMyNzQ4Mzc4Ni1iMDNlZDExOS02N2YwLTQ5ZDEtOGViMy01MzRiYzFiMzllNGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjFUMTYzODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDAwN2ZkYmY5ZGZkOWY3M2ViZjI5ZjFjMWY0ODEzMzJhNjRkNzNhZmNhNTVjZDhkNzRjMTI1NDJkYzZkNTFmNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.KoRRlAq7pk2Af8FQMbX892XVfRp5Thgsfdm-ohiRD1s)
Vtadmin shows no data
![Screenshot 2024-05-02 at 8 43 19 PM](https://private-user-images.githubusercontent.com/8079844/327483975-8f080454-1997-4133-8e78-827df66e405d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNTg2MDQsIm5iZiI6MTcyNDI1ODMwNCwicGF0aCI6Ii84MDc5ODQ0LzMyNzQ4Mzk3NS04ZjA4MDQ1NC0xOTk3LTQxMzMtOGU3OC04MjdkZjY2ZTQwNWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjFUMTYzODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjYxOGUyNzhjYjI0ZTllMGEyNGRhNDZmNjk5YjZlNTljMTY4YjQ5YzAzYTg0Njg2YmY3ZDk5ZmJmOWY1NDJmOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.EzplRYcaqbhyslC_XTEl-zfIWkxEKND6GvpYWZSG9sc)
Create keyspace page also shows error
![Screenshot 2024-05-02 at 8 43 56 PM](https://private-user-images.githubusercontent.com/8079844/327484107-742caf1f-f8aa-423f-b8db-6d432168fb13.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNTg2MDQsIm5iZiI6MTcyNDI1ODMwNCwicGF0aCI6Ii84MDc5ODQ0LzMyNzQ4NDEwNy03NDJjYWYxZi1mOGFhLTQyM2YtYjhkYi02ZDQzMjE2OGZiMTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjFUMTYzODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2Y5OGFiNTIxMjRjMmU0OGE0Yzk4YTA5MjIwMDRkYjgwMWYzNzE3MWJhZThlYjFjNTkxOTUwOWM2NzJmMWY1ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.KOJSV9d5ZAPJWQ_cUQAc_Fo3wRfwn4Fk_zXpA2uItIk)
Further more the last step in the document asks to run the command
source ../common/env.sh
does not work in mac and fails with the error../common/env.sh:83: command not found: shopt
Reproduction Steps
Go to this link: https://vitess.io/docs/19.0/get-started/local-mac/
Do a clean installation.
Run the last 101_initial_cluster.sh
Open the vtadmin portal via http://:14200/api/clusters (this is the URL given by the 101_initial_cluster.sh script
Observe the count of keyspaces, Gates, Clusters etc. They will all be 0
Binary Version
vtgate version Version: 20.0.0-SNAPSHOT (Git revision 1fd6d904ed1994a91f0901704f15123a292ef205 branch 'main') built on Thu May 2 12:05:40 IST 2024 by bantyk@bantyk-P32N2QYH2C using go1.22.2 darwin/arm64
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: