ERROR: Could not find the repository on the Review Board server.

326 views
Skip to first unread message

Reena THOMAS

unread,
May 31, 2022, 9:17:16 PM5/31/22
to Review Board Community

Hi Team,

 

I’m unable to find the repository on review board server despite creating a .reviewboardrc file with the below contents.

Please note that I can access the review board URL link with my credentials


[reenthom@vm21bsd0155 ~/esa/work/main]$ cat .reviewboardrc

REVIEWBOARD_URL = https://sec-review.cisco.com/

REPOSITORY = "sec-p4-cs"

REPOSITORY_TYPE = "perforce"

 

Error faced:

 

  1. While posting any change via rbt to review board server

[reenthom@vm21XXXX ~/esa/work/main]$ rbt post 872985

ERROR: Could not find the repository on the Review Board server.

 

  1. Setup-repo command in rbt

 

[reenthom@vm21bsd0155 ~/esa/work/main]$ rbt setup-repo

 

This command is intended to help users create a .reviewboardrc file in the current

directory to connect a repository and Review Board server.

 

Repositories must currently exist on your server (either hosted

internally or via RBCommons) to successfully generate this file.

Repositories can be added using the Admin Dashboard in Review Board or

under your team administration settings in RBCommons.

 

Press CTRL + C anytime during this command to cancel generating your

config file.

 

 

Current server: https://sec-review.cisco.com/

 

No Perforce repository found for the Review Board server https://sec-review.cisco.com/

 

Cancelling .reviewboardrc creation...

 

Please make sure your repositories currently exist on your server.

Repositories can be configured using the Review Board Admin Dashboard

or under your team administration settings in RBCommons. For more

information, see `rbt help setup-repo` or the official docs at

https://www.reviewboard.org/docs/.

 

 

Other details:

 

[reenthom@vm21bsd0155 ~/esa/work/main]$ p4 info

User name: reenthom

Client name: reenthom:vm21bsd0155.cs21:main

Client host: vm21bsd0155.cs21

Client root: /home/reenthom/esa/work/main

Current directory: /home/reenthom/esa/work/main

Peer address: 10.76.158.131:32458

Client address: 10.76.158.131

Server address: sec-p4-prd-0504.cisco.com:1666

Server root: /data1/cs/p4metadata

Server date: 2022/05/31 01:51:13 -0700 PDT

Server uptime: 2770:33:48

Server version: P4D/LINUX26X86_64/2018.1/1752641 (2019/01/25)

ServerID: sp4-p-cs-bgl-r1

Server services: forwarding-replica

Replica of: sp4-cs-m.cisco.com:1669

Authorization server: sp4-cs-m.cisco.com:1669

Server license: sp4-cs-m.cisco.com:1669

Case Handling: sensitive

 

 [reenthom@vm21bsd0155 ~/esa/work/main]$ p4 set

P4CLIENT=reenthom:vm21bsd0155.cs21:main (config '/home/reenthom/esa/work/main/P4ENV')
P4CONFIG=P4ENV (config '/home/reenthom/esa/work/main/P4ENV' )
P4PORT=sp4-p-cs-bgl-r1.cisco.com:1666 (config '/home/reenthom/esa/work/main/P4ENV')
P4USER=reenthom (config '/home/reenthom/esa/work/main/P4ENV')

P4_sp4-p-cs-bgl-r1.cisco.com:1666_CHARSET=none (enviro)

[reenthom@vm21bsd0155 ~/esa/work/main]$ cat P4ENV
P4PORT=sp4-p-cs-bgl-r1.cisco.com:1666
P4CLIENT=reenthom:vm21bsd0155.cs21:main
P4USER=reenthom

 

 

Regards,

Reena

David Trowbridge

unread,
May 31, 2022, 9:18:32 PM5/31/22
to reviewboard
Reena,

The .reviewboardrc file configures rbtools, but you'll also need to make sure that the repository is configured on the server within the Review Board admin UI. Has it been added there?

David

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/42e3c5a6-29d1-4055-aad8-2a24337af117n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages