OSK_ACCESS = http://10.138.140.15:5000/v2.0/ # Address of controlled node (where nova-api runs)
OSK_CREDENTIALS = admin-admin-admin
OSK_SECURITY_GROUPS = default # Make sure that this group exists first
OSK_INITIAL_VMCS = RegionOne # Change "RegionOne" accordingly
OSK_LOGIN = cbuser # The username that logins on the VMs
OSK_KEY_NAME = spec_key # SSH key for logging into workload VMs
OSK_SSH_KEY_NAME = cbtool_rsa
OSK_NETNAME = public
[VM_TEMPLATES : OSK_CLOUDCONFIG] # setting various CBTOOL roles and images
# the images have to exist in OpenStack glance.
#ubuntu images
CASSANDRA = size:m1.medium, imageid1:cassandra_ubuntu
YCSB = size:m1.medium, imageid1:cassandraVM
SEED = size:m1.medium, imageid1:cassandraVM
HADOOPMASTER = size:m1.medium, imageid1:kmeansVM
HADOOPSLAVE = size:m1.medium, imageid1:kmeansVM
Getting error
status: VPN configuration for this cloud already generated: /home/ubuntu/osgcloud/cbtool/lib/auxiliary//../../configs/generated/MYOPENSTACK_server-cb-openvpn.conf
status: OpenStack connection parameters: username=admin, password=<omitted>, tenant=admin, cacert=None, insecure=False, region_name=RegionOne, access_url=http://10.138.140.15:5000/v2.0/, endpoint_type=publicURL
Please attempt to execute the following : "python -c "from novaclient import client as novac;ct = novac.Client(2, 'admin', 'REPLACE_PASSWORD', 'admin', 'http://10.138.140.15:5000/v2.0/', region_name='RegionOne', service_type='compute', endpoint_type='publicURL', cacert='None', insecure='False'); ct.flavors.list()"
status: VMC "RegionOne" did not pass the connection test." : OpenStack connection failure: 'VolumeManager' object has no attribute 'list'
The "osk" cloud named "MYOPENSTACK" could not be attached to this experiment: VMC "RegionOne" did not pass the connection test." : OpenStack connection failure: 'VolumeManager' object has no attribute 'list'
Usage: vmcattach <cloud_name> <identifier> [temp_attr_list = empty=empty] [mode]
Hi, This is my first question in cbtool-users. 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.
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', endpoint_type='publicURL', cacert='None', insecure='False'); print ct.flavors.list()"" status: VMC "RegionOne" did not pass the connection test." : OpenStack connection failure: The request you have made requires authentication. (HTTP 401) (Request-ID: req-9c0100c2-bdd8-464d-a36c-9cb86d7ba077)
The "osk" cloud named "MYOPENSTACK" could not be attached to this experiment: VMC "RegionOne" did not pass the connection test." : OpenStack connection failure: The request you have made requires authentication. (HTTP 401) (Request-ID: req-9c0100c2-bdd8-464d-a36c-9cb86d7ba077) Usage: vmcattach <cloud_name> <identifier> [temp_attr_list = empty=empty] [mode] () exit [centos@testvm1 cbtool]$ ls</identifier></cloud_name></omitted>
Thanks,
Anil Maurya