Posts

Showing posts from 2013

A required class was missing while executing org.mortbay.jetty:jetty-maven-plugin

When I was running the command mvn jetty:run I got the message [ERROR] Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:8.1.1.v20120215:run (default-cli) on project CabShareService: Execution default-cli of goal org.mortbay.jetty:jetty-maven-plugin:8.1.1.v20120215:run failed: A required class was missing while executing org.mortbay.jetty:jetty-maven-plugin:8.1.1.v201202 15:run: org/slf4j/impl/StaticLoggerBinder My Jetty settings were org.mortbay.jetty jetty-maven-plugin 8.1.1.v20120215 com.jolbox bonecp 0.7.1.RELEASE /${project.artifactId} src/test/resources/jetty.xml true 10 ${project.artifactId}-stop 9999  The reason of the error was that the slf4j implementation was not defined. Tried setting the Logback as the one of the better implementation ( detailed post  ) . Added the following dependency in the jetty dependencies section. ch

Openstack Keystone : 'Client' object has no attribute 'service_catalog'

When I try the following command on my setup keystone catalog or keystone token-get I get the following error 'Client' object has no attribute 'service_catalog' When I run in debug mode I can see that the issue is client side. I checked my environment variables env | grep --perl "^OS|^SERV" the variables SERVICE_ENDPOINT and SERVICE_TOKEN were defined and taking precedence Doing following resolved it export SERVICE_TOKEN= export SERVICE_ENDPOINT=  

Openstack Keystone : No handlers could be found for logger "keystoneclient.client"

When I hit the the command Keystone user-list I get the following error No handlers could be found for logger "keystoneclient.client" Invalid OpenStack Identity credentials.  If you run the command in debug mode keystone --debug user-list you get the following response send: 'GET /v2.0//users HTTP/1.1\r\nHost: 10.1.1.1:35357\r\nx-auth-token: 012345\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-keystoneclient\r\n\r\n' reply: 'HTTP/1.1 401 Not Authorized\r\n' header: Vary: X-Auth-Token header: Content-Type: application/json header: Date: Wed, 16 Jan 2013 08:58:36 GMT header: Transfer-Encoding: chunked No handlers could be found for logger "keystoneclient.client" connect: (10.128.176.48, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 10.128.176.48:5000\r\nContent-Length: 87\r\nx-auth-token: 12345\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-keystoneclient\r\n\r\n{"auth"