Re: api and secret key for cloudmonkey
Thank you Sebastien and Daan. On Fri, Nov 29, 2013 at 3:32 PM, Daan Hoogland wrote: > you don't need the username in the cloudmonkey config. It uses the api > - and secret keys to authenticate. > > On Fri, Nov 29, 2013 at 10:47 AM, raj kumar > wrote: > > got it. thank you. I appreciate your help. > > > > > > cloudmonkey is running in management server itself. > > > > Created the keys and updated it in ~/.cloudmonkey/config. [user] > section. > > when I used sync in cloudmonkey, i'm getting, > > > >> sync > > Unauthorized: None > > Failed to sync apis, please check your config? > > Note: `sync` requires api discovery service enabled on the CloudStack > > management server > > > > > > confusion is where to give the username in config? also do I need to > enable > > api discovery service somewhere? > > > > > > > > On Fri, Nov 29, 2013 at 1:03 PM, Sebastien Goasguen >wrote: > > > >> > >> On Nov 29, 2013, at 2:04 AM, raj kumar > wrote: > >> > >> > Hi, > >> > > >> > I'm trying cloudmonkey, but i don't have api/secret key. I'm using > basic > >> > cloudstack4.2. In the user account actions, I see edit, update > resource > >> > count, disable account, lock account and delete account. I don't see > key > >> > options. pls let me know how to enable it. > >> > >> Under Accounts, select/click the account you want to use, then click on > >> show users. > >> Click on the user you want to use. > >> Then you should see an icon 'generate keys', click on it and that should > >> generate your keys. > >> Then start cloudmonkey and: > >> >set apikey > >> >set secretkey > >> > >> >
Re: api and secret key for cloudmonkey
Got it working. Used set in the cloudmonkey prompt as you mentioned. Thank you. On Fri, Nov 29, 2013 at 3:17 PM, raj kumar wrote: > got it. thank you. I appreciate your help. > > > cloudmonkey is running in management server itself. > > Created the keys and updated it in ~/.cloudmonkey/config. [user] section. > when I used sync in cloudmonkey, i'm getting, > > > sync > Unauthorized: None > Failed to sync apis, please check your config? > Note: `sync` requires api discovery service enabled on the CloudStack > management server > > > confusion is where to give the username in config? also do I need to > enable api discovery service somewhere? > > > > On Fri, Nov 29, 2013 at 1:03 PM, Sebastien Goasguen wrote: > >> >> On Nov 29, 2013, at 2:04 AM, raj kumar wrote: >> >> > Hi, >> > >> > I'm trying cloudmonkey, but i don't have api/secret key. I'm using >> basic >> > cloudstack4.2. In the user account actions, I see edit, update resource >> > count, disable account, lock account and delete account. I don't see key >> > options. pls let me know how to enable it. >> >> Under Accounts, select/click the account you want to use, then click on >> show users. >> Click on the user you want to use. >> Then you should see an icon 'generate keys', click on it and that should >> generate your keys. >> Then start cloudmonkey and: >> >set apikey >> >set secretkey >> >> >
Re: api and secret key for cloudmonkey
got it. thank you. I appreciate your help. cloudmonkey is running in management server itself. Created the keys and updated it in ~/.cloudmonkey/config. [user] section. when I used sync in cloudmonkey, i'm getting, > sync Unauthorized: None Failed to sync apis, please check your config? Note: `sync` requires api discovery service enabled on the CloudStack management server confusion is where to give the username in config? also do I need to enable api discovery service somewhere? On Fri, Nov 29, 2013 at 1:03 PM, Sebastien Goasguen wrote: > > On Nov 29, 2013, at 2:04 AM, raj kumar wrote: > > > Hi, > > > > I'm trying cloudmonkey, but i don't have api/secret key. I'm using basic > > cloudstack4.2. In the user account actions, I see edit, update resource > > count, disable account, lock account and delete account. I don't see key > > options. pls let me know how to enable it. > > Under Accounts, select/click the account you want to use, then click on > show users. > Click on the user you want to use. > Then you should see an icon 'generate keys', click on it and that should > generate your keys. > Then start cloudmonkey and: > >set apikey > >set secretkey > >
api and secret key for cloudmonkey
Hi, I'm trying cloudmonkey, but i don't have api/secret key. I'm using basic cloudstack4.2. In the user account actions, I see edit, update resource count, disable account, lock account and delete account. I don't see key options. pls let me know how to enable it.
Re: CS 4.2 System VMs not starting
Can you check whether zone is enabled? if not enabled it. On Sat, Oct 19, 2013 at 9:34 PM, Erdősi Péter wrote: > Hy, > > Can you try to vnc to sysvm machine? > root/password should be work, if you use the default sysvm template. > > > Peter > > 2013.10.19. 17:33 keltezéssel, motty cruz írta: > > thank you; >> I found the file : >> [root@kvm1 .ssh]# ls >> id_rsa.cloud id_rsa.pub.cloud known_hosts >> [root@kvm1 .ssh]# >> >> >> [root@kvm1 network-scripts]# ssh -i ~/.ssh/id_rsa.cloud -p 3922 >> 169.254.2.56 >> ssh: connect to host 169.254.2.56 port 3922: No route to host >> [root@kvm1 network-scripts]# >> >> >> I get no route to host, I'm running out of ideas. please help >> >> >> >> On Thu, Oct 17, 2013 at 9:15 PM, Jayapal Reddy Uradi < >> jayapalreddy.ur...@citrix.com> wrote: >> >> Hi, >>> >>> use the key file at /root/.ssh/id_rsa.cloud >>> If it not found, locate key file >>> >>> >>> Thanks, >>> Jayapal >>> >>> On 18-Oct-2013, at 2:41 AM, motty cruz wrote: >>> >>> Thanks Peter, I tried the command you suggested, [root@kvm1 network-scripts]# ssh -i .ssh/id_rsa.cloud -p 3922 >>> 169.254.3.53 >>> Warning: Identity file .ssh/id_rsa.cloud not accessible: No such file or directory. ssh: connect to host 169.254.3.53 port 3922: No route to host [root@kvm1 network-scripts]# do you mind providing the config file of your vlans? I believe VLANs are not configure properly here is my management/storage bridge less ifcfg-eth1: DEVICE=eth1 HWADDR=00:25:90:88:51:5D ONBOOT=yes BRIDGE=cloudbr1 [root@kvm1 network-scripts]# less ifcfg-cloudbr1: DEVICE=cloudbr1 ONBOOT=yes TYPE=Bridge IPADDR=10.107.0.7 NETMASK=255.255.255.0 DNS1=8.8.8.8 DNS2=10.0.10.0 Thank you for your support! On Thu, Oct 17, 2013 at 1:45 PM, Erdősi Péter wrote: Hello! > > I stucked something like this in Xen. > The problem was the networks (and vlans) on sysvm. > Can you ssh it (in xen, ssh -i .ssh/id_rsa.cloud -p 3922 169.254.X.Y > from the xen host machine, which own the guest), and check the network > avaibility of the system vm? > > Best regards, > Peter > > > 2013.10.17. 22:31 keltezéssel, motty cruz írta: > > Hello, install Cloudstack 4.2 with KVM hypervisors, Console Proxy MV > >> started but I am not able to ping the private or public IP, second VM >> won't >> start. When I ran the command >> [root@kvm1 network-scripts]# virsh list >> IdName State >> ---- >> 2 v-2-VM running >> 4 s-3-VM running >> >> [root@kvm1 network-scripts]# >> >> I see both VMs running; I configured zone with advance network, >> guest/public network on eth0, management/storage on eth1 >> >> any ideas or suggestions? >> >> Thanks, >> >> >> >>> >
Re: agent not running in ssvm
I'm using packages. As I mentioned, console system vm is running fine. On Sat, Oct 19, 2013 at 4:13 PM, Sebastien Goasguen wrote: > > On Oct 18, 2013, at 9:37 PM, raj kumar wrote: > > > Hi guys, > > > > I'm running out of time on cloudstack implementation. > > > > java agent is not running in ssvm, but running console system vm. > > > > In ssvm, I'm getting repeated error: > > > > /var/log/cloud.log shows, > > > > ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: > > Resource class not found: > > com.cloud.storage.resource.PremiumSecondaryStorageResource due to: > > java.lang.ClassNotFoundException: > > com.cloud.storage.resource.PremiumSecondaryStorageResource. > > > > Env: > > cloudstack 4.2.0 > > mgmt serve: centos6.4 > > kvm hosts: ubuntu13.04 > > Raj, our integration testing are run against ubuntu 12.04, so it might be > something linked to 13.04… > > Are you using the packages or compiling from source ? > > > > > sorry for duplicating the issue here. the original thread is: > > > http://mail-archives.apache.org/mod_mbox/cloudstack-users/201310.mbox/%3CCAGUH%3DuZMdDN17JuXEx-itp8PjU7kqZtPs8p%2B%3DBbpLmskJ-BFdw%40mail.gmail.com%3E > >
agent not running in ssvm
Hi guys, I'm running out of time on cloudstack implementation. java agent is not running in ssvm, but running console system vm. In ssvm, I'm getting repeated error: /var/log/cloud.log shows, ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource. Env: cloudstack 4.2.0 mgmt serve: centos6.4 kvm hosts: ubuntu13.04 sorry for duplicating the issue here. the original thread is: http://mail-archives.apache.org/mod_mbox/cloudstack-users/201310.mbox/%3CCAGUH%3DuZMdDN17JuXEx-itp8PjU7kqZtPs8p%2B%3DBbpLmskJ-BFdw%40mail.gmail.com%3E
Re: cloudstack4.2.0 network configuration - ssvm has no IP
thank you. figured out. it's because of using wrong template. On Fri, Oct 18, 2013 at 10:45 AM, Sanjeev Neelarapu < sanjeev.neelar...@citrix.com> wrote: > Hi, > > While creating a zone you must specify guest and management traffic with > ip ranges from your primary network. > If you want to use dedicated storage network then add the storage traffic > to physical network (during zone creation) and specify ip range from your > second network. > This should work find. > > Thanks, > Sanjeev > > > -Original Message- > From: raj kumar [mailto:rajkumar600...@gmail.com] > Sent: Thursday, October 17, 2013 3:39 PM > To: users@cloudstack.apache.org > Subject: cloudstack4.2.0 network configuration - ssvm has no IP > > Hi, > > I'd like to use basic network configuration. No vlans in the network. > > I've two networks. one is primary used for all cloudstack servers(guest, > system vms, management server, hypervisor, etc). > > another one is connected to storage. only hypervisors(kvm) have access to > this network. > > my questions. > 1. what should be my network configuration in hypervisors. I've used eth0, > and cloudstack automatically created cloud0, cloudbr0, etc. > 2. Even though ssvm is up, it didn't get any IP. Hence I could not connect > the console from web or can't add any iso. > > please let me know what should be my configuration and how to fix the ssvm > issue. >
cloudstack4.2.0 network configuration - ssvm has no IP
Hi, I'd like to use basic network configuration. No vlans in the network. I've two networks. one is primary used for all cloudstack servers(guest, system vms, management server, hypervisor, etc). another one is connected to storage. only hypervisors(kvm) have access to this network. my questions. 1. what should be my network configuration in hypervisors. I've used eth0, and cloudstack automatically created cloud0, cloudbr0, etc. 2. Even though ssvm is up, it didn't get any IP. Hence I could not connect the console from web or can't add any iso. please let me know what should be my configuration and how to fix the ssvm issue.
Re: could not register iso
configured manually link-local ip listed in the web in ssvm with gateway ip(hypervisor link local ip) stopped iptables in both hypervisor and ssvm. I can able to ssh. if iptables is running i can't ssh. tried adding iso. but not successful. log shows [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:null) No running ssvm is found, so command will be sent to LocalHostEndPoint. On Thu, Oct 17, 2013 at 12:03 PM, raj kumar wrote: > Thank you all for your responses. > > After refering logs and logging into console through virsh, seen that > there is no link-local ip even though the link ip address is listed in web > console. there is only 127.0.0.1 configure in ssvm. So where i'm missing. > > I'm using basic network, no vlans. only one subnet. Also pls note I > skipped totally "8.1.7.2. Configuring the network bridges" from the > installation guide for kvm hypervisor. But cloudstack itself has created > cloud0, cloudbr0 and vnet interfaces. > > -Raj > > > On Thu, Oct 17, 2013 at 12:48 AM, Nitin Mehta wrote: > >> Did you reboot the SSVM as well ? You might have to do this to take into >> affect. Let me know if that resolves it for you. >> >> On 16/10/13 6:22 AM, "raj kumar" wrote: >> >> >Hi, >> > >> >while registering iso, registration is successful, but it is not ready >> for >> >use. after 20 to 30sec, it vanishes. I've added the http server in >> global >> >settings secstorage.allowed.internal.sites. still no luck. >> > >> >both secodary and console system vms are running. >> >> >
Re: could not register iso
Thank you all for your responses. After refering logs and logging into console through virsh, seen that there is no link-local ip even though the link ip address is listed in web console. there is only 127.0.0.1 configure in ssvm. So where i'm missing. I'm using basic network, no vlans. only one subnet. Also pls note I skipped totally "8.1.7.2. Configuring the network bridges" from the installation guide for kvm hypervisor. But cloudstack itself has created cloud0, cloudbr0 and vnet interfaces. -Raj On Thu, Oct 17, 2013 at 12:48 AM, Nitin Mehta wrote: > Did you reboot the SSVM as well ? You might have to do this to take into > affect. Let me know if that resolves it for you. > > On 16/10/13 6:22 AM, "raj kumar" wrote: > > >Hi, > > > >while registering iso, registration is successful, but it is not ready for > >use. after 20 to 30sec, it vanishes. I've added the http server in global > >settings secstorage.allowed.internal.sites. still no luck. > > > >both secodary and console system vms are running. > >
could not register iso
Hi, while registering iso, registration is successful, but it is not ready for use. after 20 to 30sec, it vanishes. I've added the http server in global settings secstorage.allowed.internal.sites. still no luck. both secodary and console system vms are running.
Re: could not add ceph primary storage.
Upgraded ubuntu to 13 and I can do it now. thank you. On Thu, Oct 10, 2013 at 9:44 PM, Suresh Sadhu wrote: > on the host run this command and provide the output: > > #virsh pool-define rbd-pool.xml > > ** ** > > If you get the same error message(error missing backend for pool type 8) > then might be RBD storage pool support is not enabled in libvirt. > > ** ** > > Also refer this below link: > http://blog.widodh.nl/2013/06/a-quick-note-on-running-cloudstack-with-rbd-on-ubuntu-12-04/ > hope this might help. > > ** ** > > ** ** > > ** ** > > I tried with Ubuntu 13.4 and I didn’t face any problem and able to add > primary storage successfully. > > ** ** > > ** ** > > Regards > > Sadhu**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* raj kumar [mailto:rajkumar600...@gmail.com] > *Sent:* 09 October 2013 22:50 > *To:* Suresh Sadhu > > *Subject:* Re: could not add ceph primary storage. > > ** ** > > tried client.admin instead of admin, but still fails. > > ** ** > > I'm doing exactly the same. I can access ceph storage from the kvm host. > For Eg. > > ** ** > > #ceph osd lspools > > 0 data,1 metadata,2 rbd,4 cloudstack, > > ** ** > > in the agent.log I see, > > DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) > org.libvirt.LibvirtException: internal error missing backend for pool type > 8. > > ** ** > > This is causing the issue? > > ** ** > > ** ** > > On Wed, Oct 9, 2013 at 6:22 PM, Suresh Sadhu > wrote: > > > Raj, > > > 1.set the rados.user value as client.admin instead of admin and try > adding ceph primary storage. > > 2. check your kvm host is able to access the ceph storage or not [if > not I will recommend to install ceph on host and copy client.admin's key in > /etc/ceph folder and try adding the primarystorage ] > > Thanks > > Sadhu > > -Original Message- > From: raj kumar [mailto:rajkumar600...@gmail.com] > > Sent: 09 October 2013 11:59 > To: users@cloudstack.apache.org > Subject: Re: could not add ceph primary storage. > > Added new pool in ceph - cloudstack > > > > > *Client log from firebug:* > > > "NetworkError: 530 - > > http://192.168.210.35:8080/client/api?command=createStoragePool&zoneid=9fe2780a-0bf8-466d-a712-60f456501597&podId=6bbd3b48-d03a-4169-8d9d-8283cddc537f&clusterid=c1c9a508-76c0-4dea-8b12-8962663316f7&name=rbd-primary&url=rbd%3A%2F%2Fadmin%3AAQDZJB9SaI8vOBAAY00Iaoz7dTHcpUHXFxS8eQ%3D%3D%40192.168.210.40%2Fcloudstack&tags=rbd&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299847389 > " > > > > > *Server apilog.log:* > > > 2013-10-09 11:53:09,096 INFO [cloud.api.ApiServer] (catalina-exec-18:null) > (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) > 192.168.208.119 -- GET > > command=listStoragePools&id=eb8dbc7b-08a0-33df-bb48-5157de0f5b61&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299809242 > 200 { "liststoragepoolsresponse" : { "count":1 ,"storagepool" : [ > > {"id":"eb8dbc7b-08a0-33df-bb48-5157de0f5b61","zoneid":"9fe2780a-0bf8-466d-a712-60f456501597","zonename":"zone-bangalore","podid":"6bbd3b48-d03a-4169-8d9d-8283cddc537f","podname":"pod-rack1","name":"primary-nfs","ipaddress":"192.168.211.4","path":"/export/primary","created":"2013-10-03T16:50:56+0530","type":"NetworkFilesystem","clusterid":"c1c9a508-76c0-4dea-8b12-8962663316f7","clustername":"cluster-kvm1","disksizetotal":76754714624,"disksizeallocated":0,"state":"Up"} > ] } } > > 2013-10-09 11:53:10,811 INFO [cloud.api.ApiServer] (catalina-exec-11:null) > (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) > 192.168.208.119 -- GET > > command=listZones&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&listAll=true&_=1381299810896 > 200 { "listzonesresponse" : { "count":1 ,"zone" : [ > > {"id":"9fe2780a-0bf8-466d-a712-60f456501597","name":"zone-bangalore","dns1":"192.168.210.15","internaldns1":"192.168.210.15","networktype
Re: could not add ceph primary storage.
Added new pool in ceph - cloudstack *Client log from firebug:* "NetworkError: 530 - http://192.168.210.35:8080/client/api?command=createStoragePool&zoneid=9fe2780a-0bf8-466d-a712-60f456501597&podId=6bbd3b48-d03a-4169-8d9d-8283cddc537f&clusterid=c1c9a508-76c0-4dea-8b12-8962663316f7&name=rbd-primary&url=rbd%3A%2F%2Fadmin%3AAQDZJB9SaI8vOBAAY00Iaoz7dTHcpUHXFxS8eQ%3D%3D%40192.168.210.40%2Fcloudstack&tags=rbd&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299847389"; *Server apilog.log:* 2013-10-09 11:53:09,096 INFO [cloud.api.ApiServer] (catalina-exec-18:null) (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) 192.168.208.119 -- GET command=listStoragePools&id=eb8dbc7b-08a0-33df-bb48-5157de0f5b61&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299809242 200 { "liststoragepoolsresponse" : { "count":1 ,"storagepool" : [ {"id":"eb8dbc7b-08a0-33df-bb48-5157de0f5b61","zoneid":"9fe2780a-0bf8-466d-a712-60f456501597","zonename":"zone-bangalore","podid":"6bbd3b48-d03a-4169-8d9d-8283cddc537f","podname":"pod-rack1","name":"primary-nfs","ipaddress":"192.168.211.4","path":"/export/primary","created":"2013-10-03T16:50:56+0530","type":"NetworkFilesystem","clusterid":"c1c9a508-76c0-4dea-8b12-8962663316f7","clustername":"cluster-kvm1","disksizetotal":76754714624,"disksizeallocated":0,"state":"Up"} ] } } 2013-10-09 11:53:10,811 INFO [cloud.api.ApiServer] (catalina-exec-11:null) (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) 192.168.208.119 -- GET command=listZones&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&listAll=true&_=1381299810896 200 { "listzonesresponse" : { "count":1 ,"zone" : [ {"id":"9fe2780a-0bf8-466d-a712-60f456501597","name":"zone-bangalore","dns1":"192.168.210.15","internaldns1":"192.168.210.15","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Disabled","zonetoken":"5070ff41-97a9-375b-9412-970ae512110f","dhcpprovider":"VirtualRouter","localstorageenabled":false} ] } } 2013-10-09 11:53:10,843 INFO [cloud.api.ApiServer] (catalina-exec-13:null) (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) 192.168.208.119 -- GET command=listPods&zoneid=9fe2780a-0bf8-466d-a712-60f456501597&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299811017 200 { "listpodsresponse" : { "count":1 ,"pod" : [ {"id":"6bbd3b48-d03a-4169-8d9d-8283cddc537f","name":"pod-rack1","zoneid":"9fe2780a-0bf8-466d-a712-60f456501597","zonename":"zone-bangalore","gateway":"192.168.210.5","netmask":"255.255.254.0","startip":"192.168.211.182","endip":"192.168.211.186","allocationstate":"Enabled"} ] } } 2013-10-09 11:53:10,873 INFO [cloud.api.ApiServer] (catalina-exec-9:null) (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) 192.168.208.119 -- GET command=listClusters&podid=6bbd3b48-d03a-4169-8d9d-8283cddc537f&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299811049 200 { "listclustersresponse" : { "count":1 ,"cluster" : [ {"id":"c1c9a508-76c0-4dea-8b12-8962663316f7","name":"cluster-kvm1","podid":"6bbd3b48-d03a-4169-8d9d-8283cddc537f","podname":"pod-rack1","zoneid":"9fe2780a-0bf8-466d-a712-60f456501597","zonename":"zone-bangalore","hypervisortype":"KVM","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed"} ] } } 2013-10-09 11:53:47,452 INFO [cloud.api.ApiServer] (catalina-exec-23:null) (userId=2 accountId=2 sessionId=5E5DE14C96E830CE8DEC70FD9060A126) 192.168.208.119 -- GET command=createStoragePool&zoneid=9fe2780a-0bf8-466d-a712-60f456501597&podId=6bbd3b48-d03a-4169-8d9d-8283cddc537f&clusterid=c1c9a508-76c0-4dea-8b12-8962663316f7&name=rbd-primary&url=rbd%3A%2F%2Fadmin%3AAQDZJB9SaI8vOBAAY00Iaoz7dTHcpUHXFxS8eQ%3D%3D%40192.168.210.40%2Fcloudstack&tags=rbd&response=json&sessionkey=Vpza7MLGCa136227d7bBir94yAs%3D&_=1381299847389 530 Failed to add storage pool On Wed, Oct 9, 2013
Re: could not add ceph primary storage.
Name: rbd-primary protocol: RBD Rad mon: 192.168.210.35 (one of the monitor ip) rados pool: cloudstack (this pool don't exists in ceph) rados user: admin rados secret: storage tags: rbd can you pls let me know how can i get the api call. Is it part of logs in /var/log/cloudstack. On Tue, Oct 8, 2013 at 5:45 PM, Suresh Sadhu wrote: > What are the parameters you passed while adding the primary storage. > > Can you copy and paste api call > > Regards > Sadhu > > > -----Original Message- > From: raj kumar [mailto:rajkumar600...@gmail.com] > Sent: 08 October 2013 15:37 > To: users@cloudstack.apache.org > Subject: could not add ceph primary storage. > > Hi, using ubuntu 12.04, compiled libvirtd 1.1.0 with rbd support. But I'm > getting below error. > > pls note libvirt-bin 0.9.8 also exists for cloudstack-agent dependency. > > /var/log/cloudstack/agent/agent.log shows: > 2013-10-08 05:11:33,280 DEBUG [kvm.storage.LibvirtStorageAdaptor] > (agentRequest-Handler-3:null) org.libvirt.LibvirtException: internal error > missing backend for pool type 8 > 2013-10-08 05:11:33,282 WARN [cloud.agent.Agent] > (agentRequest-Handler-3:null) Caught: > java.lang.NullPointerException > at > > com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540) > at > > com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111) > at > > com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:104) > at > > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2304) > at > > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1094) > at com.cloud.agent.Agent.processRequest(Agent.java:525) > at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852) > at com.cloud.utils.nio.Task.run(Task.java:83) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > > pls let me know how to resolve it. Thanks. >
could not add ceph primary storage.
Hi, using ubuntu 12.04, compiled libvirtd 1.1.0 with rbd support. But I'm getting below error. pls note libvirt-bin 0.9.8 also exists for cloudstack-agent dependency. /var/log/cloudstack/agent/agent.log shows: 2013-10-08 05:11:33,280 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null) org.libvirt.LibvirtException: internal error missing backend for pool type 8 2013-10-08 05:11:33,282 WARN [cloud.agent.Agent] (agentRequest-Handler-3:null) Caught: java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:104) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2304) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1094) at com.cloud.agent.Agent.processRequest(Agent.java:525) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) pls let me know how to resolve it. Thanks.