cbtool integration with openstack

asked 2017-01-09 08:56:16 -0500

updated 2017-01-24 14:20:59 -0500

rbowen gravatar image

Hi, This is my first question in openstack community. I am intermediate user of openstack based cloud.. I have installed openstack versoin 14. I have created two vm in openstack. I am trying to integrate cbtool with openstack.

On one openstack VM i have install cbtool. It had installed all the required packages on VM.
I have configured the cloud configure.

STARTUP_CLOUD = MYOPENSTACK
[USER-DEFINED : CLOUDOPTION_MYOPENSTACK]
OSK_ACCESS = http://xx.xxx.xx.xx:5000/v2.0/                   # Address of controlled node (where nova-api runs). I have 
                                                                                         #userd public ip address of openstack cloud
OSK_CREDENTIALS =  admin-admin-admin
OSK_SECURITY_GROUPS = default                              # Make sure that this group exists first
OSK_INITIAL_VMCS = RegionOne:sut                           # Change "RegionOne" accordingly
OSK_LOGIN = centos                                         # The username that logins on the VMs
OSK_SSH_KEY_NAME = openstack                      #openstack key copied into /home/centos/cbtool/credentials/
OSK_NETNAME = public

I have copied openstack key in the : This openstack key I had created while creating VM in openstack. /home/centos/cbtool/credentials/openstack

Note: I am able to run the ./cb --hard_reset with dummy cloud. i.e. MYSIMCLOUD . I could run the dummy work load.

#./cb --hard_reset   (with integration of openstack)
getting error:

Cbtool version is "4851ecb"
Parsing "cloud definitions" file..... "/home/centos/cbtool/lib/auxiliary//../..//configs/centos_cloud_definitions.txt" opened and parsed successfully.
Checking "Object Store".....An Object Store of the kind "Redis" (shared) on node 192.168.0.5, TCP port 6379, database id "0" seems to be running.
Checking "Log Store".....A Log Store of the kind "rsyslog" (private) on node 192.168.0.5, UDP port 5114 seems to be running.
Checking "Metric Store".....A Metric Store of the kind "MongoDB" (shared) on node 192.168.0.5, TCP port 27017, database id "metrics" seems to be running.
Checking "File Store".....A File Store of the kind "rsync" (private) on node 192.168.0.5, TCP port 873 seems to be running.
Executing "hard" reset: (killing all running toolkit processes and flushing stores) before starting the experiment......
Killing all processes... done
Flushing Object Store... done
Flushing Log Store... done

Flushing Metric Store... done
Checking for a running API service daemon.....API Service daemon was successfully started. The process id is ['6233'] (http://192.168.0.5:7070).
Checking for a running GUI service daemon.....GUI Service daemon was successfully started. The process id is ['6255', '6256'], listening on port 8080. Full url is "http://192.168.0.5:8080".
 status: Creating "OpenVPN" VPN server unified CB configuration: /home/centos/cbtool/lib/operations//../../util/openvpn/make_keys.sh 192.168.0.0 255.255.0.0 MYOPENSTACK 192.168.0.5 1194, please wait ...
 status: VPN configuration success: (192.168.0.0 255.255.0.0)
 status: OpenStack connection parameters: username=admin, password=<omitted>, tenant=admin, cacert=None, insecure=False, region_name=RegionOne, access_url=http://xx.xxx.xx.xx:5000/v2.0/, endpoint_type=publicURL
Request returned failure status: 401
Please attempt to execute the following : "python -c "from novaclient import client as novac;ct = novac.Client(2, 'admin', 'REPLACE_PASSWORD', 'admin', 'http://xx.xxx.xx.xx:5000/v2.0/', region_name='RegionOne', service_type='compute ...
(more)
edit retag flag offensive close merge delete