- 기술지원CF 포탈 portal_api push 중 에러가 발생 한 경우
-
날*라호빵맨 2018-01-16 18:46:56- hits126
portal-api를 cf push를 할 경우
2018-01-16T09:12:19.65+0000 [CELL/0] ERR Failed to make TCP connection to port 8080: connection refused
2018-01-16T09:12:19.65+0000 [CELL/0] ERR Timed out after 1m0s: health check never passed.
와 같은 에러가 발생 합니다.
인터넷에 검색하여 보니 health-check-type: process 문장을 Yaml 파일에 추가하여 실행 하였는데
org.javaswift.joss.exception.CommandException: Unable to execute the HTTP call or to convert the HTTP Response
와
aused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openpaas.paasta.portal.api.service.AppService org.openpaas.paasta.portal.api.controller.AppController.appService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openpaas.paasta.portal.api.service.AppAutoScaleModalService org.openpaas.paasta.portal.api.service.AppService.appAutoScaleModalService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appAutoScaleModalService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openpaas.paasta.portal.api.service.OrgService org.openpaas.paasta.portal.api.service.AppAutoScaleModalService.orgService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openpaas.paasta.portal.api.service.UserService org.openpaas.paasta.portal.api.service.OrgService.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openpaas.paasta.portal.api.service.GlusterfsServiceImpl org.openpaas.paasta.portal.api.service.UserService.glusterfsService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'glusterfsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.javaswift.joss.model.Container org.openpaas.paasta.portal.api.service.GlusterfsServiceImpl.container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'container' defined in class path resource [org/openpaas/paasta/portal/api/config/service/GlusterfsConfig.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.javaswift.joss.model.Account]: : Error creating bean with name 'account' defined in class path resource [org/openpaas/paasta/portal/api/config/service/GlusterfsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.javaswift.joss.model.Account]: Factory method 'account' threw exception; nested exception is org.javaswift.joss.exception.CommandException: Unable to execute the HTTP call or to convert the HTTP Response; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'account' defined in class path resource [org/openpaas/paasta/portal/api/config/service/GlusterfsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.javaswift.joss.model.Account]: Factory method 'account' threw exception; nested exception is org.javaswift.joss.exception.CommandException: Unable to execute the HTTP call or to convert the HTTP Response
2018-01-16T09:16:08.26+0000 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.9.RELEASE.jar!/:4.1.9.RELEASE]
2018-01-16T09:16:08.26+0000 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.9.RELEASE.jar!/:4.1.9.RELEASE]
2018-01-16T09:16:08.26+0000 [APP/PROC/WEB/0] OUT at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.9.RELEASE.jar!/:4.1.9.RELEASE]
2018-01-16T09:16:08.26+0000 [APP/PROC/WEB/0] OUT ... 22 common frames omitted
등 에러 메세지가 발생 합니다. 혹시 원인을 알 수 있을까요?
안녕하세요!
본 에러는 Object스토리지에 연결문제로 인해 다음 step으로 넘어가지 못하고 대기하고 있다가 timeout으로 fail되는 상태인것으로 보입니다.
우선,
1. 오브젝트 스토리지 설치 여부
2. 오브젝트 스토리지 계정
3. 오브젝트 스토리지 접근 security group등을 확인해 보시기 바랍니다.
위의 모든 내용이 이상이 없을경우 port_api를 다시 재 배포 시도해보시기 바랍니다.
감사합니다.