Hi Smitha, This works for me. Can I get a complete log of the error?
Thanks, Courage On Thu, Jan 10, 2019 at 7:36 AM Smitha Prabhu < [email protected]> wrote: > Hi Courage, > I did write on the thread with Patrick and Juhan on the containerization, > sending this email as well, just in case, Have u tried that the feign > client calls happen after the docker setup. It is failing for me with > aused by: feign.RetryableException: Connection refused (Connection > refused) executing GET http://accounting-v1/accounting/v1/accounts/1101 > at feign.FeignException.errorExecuting(FeignException.java:67) > > But i do see that the eureka has this registered. > > Any help greatly appreciated. > Thanks again, > Smitha > > On Fri, Dec 21, 2018 at 7:07 PM Courage Angeh <[email protected]> > wrote: > >> Hi Smitha, >> >> First, Please *ALWAYS* cc the Mifos and, or Fineract mailing list so our >> conversations are open, it might help someone on the mailing list. *I >> will hate to have to do that again, PLEASE*. >> >> I am not sure what your question is though, I do not have a provisioner >> branch on any of my repositories. >> You said you sent me an empty docker-compose file but, I can't find >> another docker-compose file provided by you. >> And you sent me logs to errors without telling me the steps that lead to >> that error. >> >> Please be more specific. >> >> Thanks, >> Courage. >> >> On Fri, Dec 21, 2018 at 6:11 AM Smitha Prabhu < >> [email protected]> wrote: >> >>> Made a little more progress and see >>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >>> creating bean with name >>> 'org.apache.fineract.cn.anubis.config.AnubisSecurityConfigurerAdapter': >>> Unsatisfied dependency expressed through method 'configureGlobal' parameter >>> 1; nested exception is >>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >>> creating bean with name >>> 'org.apache.fineract.cn.anubis.security.IsisAuthenticatedAuthenticationProvider': >>> Unsatisfied dependency expressed through constructor parameter 2; nested >>> exception is >>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >>> creating bean with name >>> 'org.apache.fineract.cn.anubis.security.SystemAuthenticator': Unsatisfied >>> dependency expressed through constructor parameter 1; nested exception is >>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >>> creating bean with name >>> 'org.apache.fineract.cn.anubis.service.PermittableService': Unsatisfied >>> dependency expressed through constructor parameter 0; nested exception is >>> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'requestMappingHandlerMapping' defined in class path >>> resource >>> [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: >>> Bean instantiation via factory method failed; nested exception is >>> org.springframework.beans.BeanInstantiationException: Failed to instantiate >>> [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping]: >>> Factory method 'requestMappingHandlerMapping' threw exception; nested >>> exception is org.springframework.beans.factory.BeanCreationException: Error >>> creating bean with name 'openEntityManagerInViewInterceptor' defined in >>> class path resource >>> [org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.class]: >>> Initialization of bean failed; nested exception is >>> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'flywayInitializer' defined in class path resource >>> [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: >>> Invocation of init method failed; nested exception is >>> org.flywaydb.core.api.FlywayException: Unable to scan for SQL migrations in >>> location: classpath:db/migration >>> at >>> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:648) >>> at >>> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) >>> at >>> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349) >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219) >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) >>> Do i need to add the db/scripts to the jar ? >>> >>> Thanks >>> smitha >>> >>> On Fri, Dec 21, 2018 at 2:05 PM Smitha Prabhu < >>> [email protected]> wrote: >>> >>>> Sorry Courage, sent you the email in a jiffy, got the provisioner >>>> scripts running. Thanks again for all your support. >>>> I do not understand the fineract CN completely yet. Just got my hands >>>> on it a while ago. Even after executing the provisioner script, the >>>> playground Database in mariadb is empty. >>>> Would you know when/how tables get created here ? >>>> Would be happy if you could share any details about flyway execution if >>>> possible. >>>> >>>> Thanks again, >>>> Smitha >>>> >>>> On Fri, Dec 21, 2018 at 12:53 PM Smitha Prabhu < >>>> [email protected]> wrote: >>>> >>>>> Hi courage, >>>>> Thanks for your help. >>>>> I took the latest from the your provisioner branch , and sending you >>>>> my docker.compose file. >>>>> I still get this message and I am not quite sure how to resolve this. >>>>> "message": "The given identity instance didnt recognize the system >>>>> token as valid. Perhaps the system keys for the provisioner or for the >>>>> identity manager are misconfigured?", >>>>> >>>>> Thanks >>>>> Smitha >>>>> >>>>> On Thu, Dec 20, 2018 at 10:07 AM Courage Angeh <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Smitha, >>>>>> >>>>>> You should clone my version of provisioner again and try it and it >>>>>> should work. I just tried it on a clean environment and it worked. >>>>>> >>>>>> *P.S: **I cc the community on this email as it might help someone >>>>>> within the community.* >>>>>> >>>>>> Thanks, >>>>>> Courage. >>>>>> >>>>>> On Wed, Dec 19, 2018 at 8:18 PM Courage Angeh <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Smitha, >>>>>>> >>>>>>> I was busy all day and I just read my mail now so, pls I will look >>>>>>> into this and get back to you. >>>>>>> >>>>>>> Thanks, >>>>>>> Courage >>>>>>> >>>>>>> On Wed, Dec 19, 2018 at 12:01 PM Smitha Prabhu < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hi Courage, >>>>>>>> >>>>>>>> Sorry to bother you. I have not been able to connect to cassandra >>>>>>>> database from my local machine . any tips in that regard woould be >>>>>>>> appreciated. >>>>>>>> Also, when the provisioner is run to create tenants. I see that the >>>>>>>> playground DB is created in mysql which is empty. Any idea when the >>>>>>>> users >>>>>>>> are created in that DB. >>>>>>>> I wanted to test that the Web UI is accessible after the setup is >>>>>>>> completed. But I am not able to login with any of the username/password >>>>>>>> combination. Any help in this regard is appreciated too. >>>>>>>> >>>>>>>> Thanks again and sorry to bother you with this. >>>>>>>> >>>>>>>> Smitha >>>>>>>> >>>>>>>> On Wed, Dec 19, 2018 at 10:29 AM Smitha Prabhu < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Yes Courage, I saw that the last updates were about 2 months ago. >>>>>>>>> So was wondering if I could use it off the shelf. >>>>>>>>> Also, After i run the startup scripts and try to run the >>>>>>>>> provisioner script, the curl is not responding. >>>>>>>>> Could not get any response >>>>>>>>> There was an error connecting to >>>>>>>>> http://172.16.238.6:2020/provisioner-v1/auth/token?grant_type=password&client_id=service-runner&username=wepemnefret&password=oS/0IiAME/2unkN1momDrhAdNKOhGykYFH/mJN20 >>>>>>>>> . >>>>>>>>> Why this might have happened: >>>>>>>>> >>>>>>>>> - The server couldn't send a response: >>>>>>>>> Ensure that the backend is working properly >>>>>>>>> - Self-signed SSL certificates are being blocked: >>>>>>>>> Fix this by turning off 'SSL certificate verification' in *Settings >>>>>>>>> > General* >>>>>>>>> - Proxy configured incorrectly >>>>>>>>> Ensure that proxy is configured correctly in *Settings > Proxy* >>>>>>>>> - Request timeout: >>>>>>>>> Change request timeout in *Settings > General* >>>>>>>>> >>>>>>>>> *If you could guide in this regard as well. It would be really >>>>>>>>> helpful.* >>>>>>>>> Thanks again for your help >>>>>>>>> Smitha >>>>>>>>> >>>>>>>>> On Tue, Dec 18, 2018 at 11:35 PM Courage Angeh < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> It works okay. I did change some code on provisioner and you can >>>>>>>>>> see that in my fork of provisioner. >>>>>>>>>> >>>>>>>>>> Not yet for the web application. >>>>>>>>>> >>>>>>>>>> The script should let you fully set up the system using Docker >>>>>>>>>> and Docker Compose. >>>>>>>>>> I am working on the Kubernetes scripts for full deployment on >>>>>>>>>> GKE. Is that what you are looking for? >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> Courage. >>>>>>>>>> >>>>>>>>>> On Tue, Dec 18, 2018 at 10:59 AM Smitha Prabhu < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Thanks Courage for your quick response. Was this functionally >>>>>>>>>>> working well. Anything else missing for containerizing fineract. >>>>>>>>>>> Also, did you get a chance to get the web application on a >>>>>>>>>>> container too. >>>>>>>>>>> >>>>>>>>>>> Thanks again for your help. >>>>>>>>>>> Smitha >>>>>>>>>>> >>>>>>>>>>> On Tue, Dec 18, 2018 at 8:12 PM Courage Angeh < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> I expose the key then set it as an environment variable for the >>>>>>>>>>>> other project. You check that out on the project's GitHub >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Dec 18, 2018 at 5:44 AM Smitha Prabhu < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Courage, >>>>>>>>>>>>> Was trying to work on the containerization of the finreact and >>>>>>>>>>>>> came across your project that has been very helpful. Had a quick >>>>>>>>>>>>> question >>>>>>>>>>>>> in this regard. How do you get the private Key for the >>>>>>>>>>>>> provisioner. If you >>>>>>>>>>>>> could guide thro this, it would be very much appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks >>>>>>>>>>>>> Smitha >>>>>>>>>>>>> >>>>>>>>>>>>>
