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

On Tue, May 31, 2022 at 7:17 PM Reena THOMAS <reenathomas...@gmail.com>
wrote:

> 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/ <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
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/42e3c5a6-29d1-4055-aad8-2a24337af117n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/42e3c5a6-29d1-4055-aad8-2a24337af117n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNU0bGUTuTHE25mrHdBrAF%3Dm-3QNJBgDZxS7vDpKMmgcXA%40mail.gmail.com.

Reply via email to