Quantcast

worker 1 fail to perform operation mycontainers1 using keystone auth

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

worker 1 fail to perform operation mycontainers1 using keystone auth

dileep
Hi

  I am using cosbench 0.4.2.c3, I have created one workload file. I am facing issue while submit the workload.
the below is the error message.

2016-06-01 02:37:34,009 [INFO] [Log4jLogManager] - will append log to file /root/0.4.2.c3/log/mission/MCAAE76E02.log
2016-06-01 02:37:34,227 [INFO] [NoneStorage] - performing PUT at /mycontainers1
2016-06-01 02:37:34,229 [ERROR] [AbstractOperator] - worker 1 fail to perform operation mycontainers1
com.intel.cosbench.api.storage.StorageException: java.lang.IllegalStateException: Target host must not be null, or set in parameters.
        at com.intel.cosbench.api.swift.SwiftStorage.createContainer(SwiftStorage.java:188)
        at com.intel.cosbench.driver.operator.Preparer.doInit(Preparer.java:113)
        at com.intel.cosbench.driver.operator.Preparer.operate(Preparer.java:87)
        at com.intel.cosbench.driver.operator.AbstractOperator.operate(AbstractOperator.java:76)
        at com.intel.cosbench.driver.operator.Initializer.operate(Initializer.java:1)
        at com.intel.cosbench.driver.agent.WorkAgent.performOperation(WorkAgent.java:197)
        at com.intel.cosbench.driver.agent.WorkAgent.doWork(WorkAgent.java:177)
        at com.intel.cosbench.driver.agent.WorkAgent.execute(WorkAgent.java:134)
        at com.intel.cosbench.driver.agent.AbstractAgent.call(AbstractAgent.java:44)
        at com.intel.cosbench.driver.agent.AbstractAgent.call(AbstractAgent.java:1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

The work load file

<?xml version="1.0" encoding="UTF-8" ?>
<workload name="first_1" description="20 Workers 4 container with 100 objects">

  <auth type="keystone" config="username=admin;password=passw0rd;tenant_name=admin;auth_url=http://9.47.82.73:5000/v2.0;service=swift;timeout=600000"/>
  <storage type="swift" config=""/>

  <workflow>
    <workstage name="init">
      <work type="init" workers="1" config="containers=r(1,4)" />
    </workstage>

    <workstage name="prepare">
      <work type="prepare" workers="54" config="containers=r(1,4);objects=r(1,100);sizes=c(15)KB" />
    </workstage>

    <workstage name="main">
      <work name="main" workers="20" runtime="120">
        <operation type="read"   ratio="54" config="containers=u(1,4);objects=u(11,100)" />
        <operation type="delete" ratio="13" config="containers=u(1,4);objects=u(1,10)" />
        <operation type="write"  ratio="33" config="containers=u(1,4);objects=u(11,100);sizes=c(15)KB" />
      </work>
    </workstage>

    <workstage name="cleanup">
      <work type="cleanup" workers="54" config="containers=r(1,4);objects=r(1,100)" />
    </workstage>

    <workstage name="dispose">
      <work type="dispose" workers="1" config="containers=r(1,4)" />
    </workstage>

  </workflow>

I checked with curl command everything is fine with keystone and swift.

Please help on this
Loading...