What are the required steps after running inside docker with 'make run-kb' and installing the database dlls?
The default kaui superuser is admin/password.
Where is it defined when using docker-compose? How can I change the password?
After I login I'm getting a warning:
"Error while retrieving tenants: No tenants configured for users AND KillBillClient.api_key, KillBillClient.api_secret have not been set"
It will be helpful to see a link to /admin_tenants.
I don't see links to tenant management like /admin_tenants in the kaui menu.
The new tenants form has a checkbox 'Create tenant'. Why do I need a checkbox if this is a create tenant form?
http://127.0.0.1:9090/admin_tenants/new
Is the new tenants form equivalent to the api /tenants post command?
curl -uadmin:password \
-X POST \
-H 'Content-Type: application/json' \
-H 'X-Killbill-CreatedBy: admin' \
-d '{"apiKey": "bob", "apiSecret": "lazar"}' \
http://127.0.0.1:8080/1.0/kb/tenants
After creating the tenant I can't access it from the tenants table.
I'm getting an error: Does not have permissions to see tenant id 1
http://127.0.0.1:9090/admin_tenants/1
Hi,
What are the required steps after running inside docker with 'make run-kb' and installing the database dlls?
The default kaui superuser is admin/password.
Where is it defined when using docker-compose? How can I change the password?
After I login I'm getting a warning:
"Error while retrieving tenants: No tenants configured for users AND KillBillClient.api_key, KillBillClient.api_secret have not been set"
It will be helpful to see a link to /admin_tenants.
I don't see links to tenant management like /admin_tenants in the kaui menu.
The new tenants form has a checkbox 'Create tenant'. Why do I need a checkbox if this is a create tenant form?
http://127.0.0.1:9090/admin_tenants/new
Is the new tenants form equivalent to the api /tenants post command?
curl -uadmin:password \
-X POST \
-H 'Content-Type: application/json' \
-H 'X-Killbill-CreatedBy: admin' \
-d '{"apiKey": "bob", "apiSecret": "lazar"}' \
http://127.0.0.1:8080/1.0/kb/tenants
After creating the tenant I can't access it from the tenants table.
I'm getting an error: Does not have permissions to see tenant id 1
http://127.0.0.1:9090/admin_tenants/1
Hi Stephane,
On Monday, April 18, 2016 at 9:02:07 PM UTC+3, stephane brossier wrote:
> Hi Pablo,
>
>
>
>
> On Thu, Apr 14, 2016 at 9:51 AM, <pablo...@gmail.com> wrote:
> Hi,
>
>
>
> What are the required steps after running inside docker with 'make run-kb' and installing the database dlls?
>
>
>
> The default kaui superuser is admin/password.
>
> Where is it defined when using docker-compose? How can I change the password?
>
>
>
>
>
> You should probably user management guide we write a while ago (in particular it explains where the default admin/password are configured)
>
The user management guide says that the superuser is configured in shiro.ini.
The killbill dockerfile sets the config path to classpath:shiro.ini.
https://github.com/killbill/killbill-cloud/blob/2d4a950607a701c5b8d57ef4f653115161002267/docker/templates/killbill/latest/Dockerfile#L13
I can't find the shiro.ini file in the killbill-cloud repository only in the killbill src
https://github.com/killbill/killbill/blob/73df2253ad000c3596193983928cc3a449184770/profiles/killbill/src/main/resources/shiro.ini
To change it I need to extend the killbill image set a different path to the config file and include it?
Isn't it unsafe to keep the superuser password in plaintext?
>
> After I login I'm getting a warning:
>
> "Error while retrieving tenants: No tenants configured for users AND KillBillClient.api_key, KillBillClient.api_secret have not been set"
>
> It will be helpful to see a link to /admin_tenants.
>
>
>
> I don't see links to tenant management like /admin_tenants in the kaui menu.
>
>
>
>
>
> All that is because you don't have correct permissions. Once you are logged in a with a user that has enough permissions, should see the menu on the right (it looks like gears), and be able to manage your user/tenants from KAUI.
If the superuser is defined with *:* why don't I have enough permissions?
>
> The new tenants form has a checkbox 'Create tenant'. Why do I need a checkbox if this is a create tenant form?
>
> http://127.0.0.1:9090/admin_tenants/new
>
>
>
>
> The checkbox 'was' there to specify if KAUI should attempt to create the tenant in Kill Bill or not (when tenant already exists in KB, we just want to make it tenant visible through KAUI). However in the latest version of KAUI we removed the checkbox (the code will automatically detect if tenant already exists and do the appropriate thing). Attached a screenshot of that screen (without the checkbox).
>
>
>
>
> Is the new tenants form equivalent to the api /tenants post command?
>
> curl -uadmin:password \
>
> -X POST \
>
> -H 'Content-Type: application/json' \
>
> -H 'X-Killbill-CreatedBy: admin' \
>
> -d '{"apiKey": "bob", "apiSecret": "lazar"}' \
>
> http://127.0.0.1:8080/1.0/kb/tenants
>
>
> Yes.
>
>
>
>
> After creating the tenant I can't access it from the tenants table.
>
> I'm getting an error: Does not have permissions to see tenant id 1
>
> http://127.0.0.1:9090/admin_tenants/1
>
>
>
>
> Permission issue.
Thanks
--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To post to this group, send email to killbill...@googlegroups.com.
Visit this group at https://groups.google.com/group/killbilling-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/de91ed97-b45f-489e-b64f-12c63b47841e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
>
>
>
> The idea is that you submit your own shiro.ini file (with the definition of your user/roles/pwd) and specify that file through a environment property (KILLBILL_SHIRO_RESOURCE_PATH) when starting your docker container as explained in the README.
What path is classpath:shiro.ini?
Can I use absolute path instead?
>
>
> It should be visible under that 'gears' icon. Which version of KAUI are you using?
I'm using the docker-compose yml from:
https://github.com/killbill/killbill-cloud/blob/master/docker/compose/docker-compose.kb.yml
It is using kaui:0.3.0. Should it be kaui:latest instead?
The README says to load the ddl of 0.16 instead of 0.15. Should it be changed too?
curl -s http://docs.killbill.io/0.15/ddl.sql
Now I'm getting 'We're sorry, but something went wrong.' When trying to login with admin/password.
curl to the api gives me 404:
curl -v -uadmin:password http://127.0.0.1:8080/1.0/kb/security/subject
How can I debug it?