You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mohammad Rastgoo <mo...@synapti.ca> on 2015/01/05 18:48:14 UTC
API error
Hi,
I'm not sure if this is related to CS or not. Thanks in advance for all the
help and advice.
Setup: 4.4.2 on Centos 6.6 64bit
External Secondary Storage: NFS
Local Primary on identical hosts.
API error that we get:
Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
permission denied.
We are using hostbill if it matters.
--
Mohammad Rastgoo
RE: API error
Posted by Somesh Naidu <So...@citrix.com>.
Ok, all the accounts with account_name "client_1_1" seem to be removed.
So not sure using which account you are trying to launch the VM?
-----Original Message-----
From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
Sent: Monday, January 05, 2015 2:16 PM
To: users@cloudstack.apache.org
Subject: Re: API error
mysql> select * from account where account_name='client_1_1'\G
*************************** 1. row ***************************
id: 4
account_name: client_1_1
uuid: 7124a5a9-eb18-42b8-818e-f64a248d7194
type: 0
domain_id: 3
state: enabled
removed: 2015-01-02 21:00:46
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 2. row ***************************
id: 5
account_name: client_1_1
uuid: 16d39f9c-028e-4d7d-9821-8b95a2d39d2f
type: 0
domain_id: 4
state: enabled
removed: 2015-01-02 21:14:46
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 3. row ***************************
id: 6
account_name: client_1_1
uuid: fbecb3ac-601b-4827-9797-ceacd7c10699
type: 0
domain_id: 5
state: enabled
removed: 2015-01-02 21:18:25
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 4. row ***************************
id: 7
account_name: client_1_1
uuid: 2416c3df-1fe4-489b-8538-f9ed42c4801e
type: 0
domain_id: 6
state: enabled
removed: 2015-01-02 21:24:19
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 5. row ***************************
id: 8
account_name: client_1_1
uuid: 95a84c01-2a51-4d8b-b35d-5e189f79bd2e
type: 0
domain_id: 7
state: enabled
removed: 2015-01-02 21:29:38
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 6. row ***************************
id: 9
account_name: client_1_1
uuid: d569892c-c335-428f-889f-271ecfed12cb
type: 0
domain_id: 8
state: enabled
removed: 2015-01-02 21:42:18
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 7. row ***************************
id: 10
account_name: client_1_1
uuid: 5d176acb-9d4c-413b-8441-0c1f548393f6
type: 0
domain_id: 9
state: enabled
removed: 2015-01-02 21:43:40
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 8. row ***************************
id: 11
account_name: client_1_1
uuid: 89f60ee3-527f-4174-bff8-a59738d279b3
type: 0
domain_id: 10
state: enabled
removed: 2015-01-02 21:44:29
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 9. row ***************************
id: 12
account_name: client_1_1
uuid: cdc04dd2-df08-49f8-ab75-e84f70fd2b0a
type: 0
domain_id: 11
state: enabled
removed: 2015-01-05 17:45:34
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
9 rows in set (0.00 sec)
=================================================
mysql> select * from networks where
uuid='626ee136-933c-4bca-9084-fc0691f2ff81'\G
*************************** 1. row ***************************
id: 204
name: Default
uuid: 626ee136-933c-4bca-9084-fc0691f2ff81
display_text: Default
traffic_type: Guest
broadcast_domain_type: Vlan
broadcast_uri: vlan://624
gateway: 10.1.0.1
cidr: 10.1.0.0/20
mode: Dhcp
network_offering_id: 8
physical_network_id: 200
data_center_id: 1
guru_name: ExternalGuestNetworkGuru
state: Implemented
related: 204
domain_id: 1
account_id: 2
dns1: NULL
dns2: NULL
guru_data: NULL
set_fields: 0
acl_type: Account
network_domain: cs2cloud.internal
reservation_id: d028a548-0b79-4722-9751-29483dbbd12b
guest_type: Isolated
restart_required: 0
created: 2015-01-02 06:03:01
removed: NULL
specify_ip_ranges: 0
vpc_id: NULL
ip6_gateway: NULL
ip6_cidr: NULL
network_cidr: NULL
display_network: 1
network_acl_id: NULL
streched_l2: 0
1 row in set (0.00 sec)
On Mon, Jan 5, 2015 at 2:09 PM, Somesh Naidu <So...@citrix.com>
wrote:
> Share the output of the following SQL query/s:
>
> select * from account where account_name='client_1_1'\G
> select * from networks where uuid='626ee136-933c-4bca-9084-fc0691f2ff81'\G
>
> -----Original Message-----
> From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> Sent: Monday, January 05, 2015 1:53 PM
> To: users@cloudstack.apache.org
> Subject: Re: API error
>
> Hi,
>
> Thanks again.
>
> here is the API log:
>
> http://pastebin.com/Fdx3mPK2
>
> seems there is communication back and forth between HB and ACS.
>
> I appreciate any help with the log please.
>
> Thanks
>
> On Mon, Jan 5, 2015 at 1:41 PM, Somesh Naidu <So...@citrix.com>
> wrote:
>
> > I am sorry, I am not familiar with "hostbill" but a quick look up on the
> > internet tells me that this is a billing software module that would, I
> > guess, consume raw usage data from ACS (of course via ACS API).
> >
> > So if I understand it correct, you say you are trying to create a VM via
> a
> > hostbill API call?
> >
> > Irrespective of whether above is true or not, I believe the create VM is
> > eventually being executed by ACS. If that's the case then it would help
> > looking up the management-server.log (and/or apilog.log) to get more
> > details of what is failing. Are you familiar with these logs?
> >
> > -----Original Message-----
> > From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> > Sent: Monday, January 05, 2015 1:04 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: API error
> >
> > Thanks for you reply.
> >
> > Hypervisor is KVM.
> > I'm creating a VM. Unfortunately hostbill module is encoded so I cannot
> see
> > anything at hostbill end. is there any API log in hostbill that I can
> > see/paste the API calls here?
> >
> > Thanks
> >
> >
> > On Mon, Jan 5, 2015 at 12:54 PM, Somesh Naidu <So...@citrix.com>
> > wrote:
> >
> > > Can we get more details. As a start, what API call are we talking about
> > > here and what hypervisor?
> > >
> > > -----Original Message-----
> > > From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> > > Sent: Monday, January 05, 2015 12:48 PM
> > > To: users@cloudstack.apache.org
> > > Subject: API error
> > >
> > > Hi,
> > >
> > > I'm not sure if this is related to CS or not. Thanks in advance for all
> > the
> > > help and advice.
> > >
> > > Setup: 4.4.2 on Centos 6.6 64bit
> > > External Secondary Storage: NFS
> > > Local Primary on identical hosts.
> > >
> > > API error that we get:
> > >
> > > Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
> > > permission denied.
> > >
> > > We are using hostbill if it matters.
> > >
> > > --
> > > Mohammad Rastgoo
> > >
> >
>
>
>
> --
> Mohammad Rastgoo
> Founder & CEO
>
--
Mohammad Rastgoo
Founder & CEO
Re: API error
Posted by Mohammad Rastgoo <mo...@synapti.ca>.
mysql> select * from account where account_name='client_1_1'\G
*************************** 1. row ***************************
id: 4
account_name: client_1_1
uuid: 7124a5a9-eb18-42b8-818e-f64a248d7194
type: 0
domain_id: 3
state: enabled
removed: 2015-01-02 21:00:46
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 2. row ***************************
id: 5
account_name: client_1_1
uuid: 16d39f9c-028e-4d7d-9821-8b95a2d39d2f
type: 0
domain_id: 4
state: enabled
removed: 2015-01-02 21:14:46
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 3. row ***************************
id: 6
account_name: client_1_1
uuid: fbecb3ac-601b-4827-9797-ceacd7c10699
type: 0
domain_id: 5
state: enabled
removed: 2015-01-02 21:18:25
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 4. row ***************************
id: 7
account_name: client_1_1
uuid: 2416c3df-1fe4-489b-8538-f9ed42c4801e
type: 0
domain_id: 6
state: enabled
removed: 2015-01-02 21:24:19
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 5. row ***************************
id: 8
account_name: client_1_1
uuid: 95a84c01-2a51-4d8b-b35d-5e189f79bd2e
type: 0
domain_id: 7
state: enabled
removed: 2015-01-02 21:29:38
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 6. row ***************************
id: 9
account_name: client_1_1
uuid: d569892c-c335-428f-889f-271ecfed12cb
type: 0
domain_id: 8
state: enabled
removed: 2015-01-02 21:42:18
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 7. row ***************************
id: 10
account_name: client_1_1
uuid: 5d176acb-9d4c-413b-8441-0c1f548393f6
type: 0
domain_id: 9
state: enabled
removed: 2015-01-02 21:43:40
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 8. row ***************************
id: 11
account_name: client_1_1
uuid: 89f60ee3-527f-4174-bff8-a59738d279b3
type: 0
domain_id: 10
state: enabled
removed: 2015-01-02 21:44:29
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
*************************** 9. row ***************************
id: 12
account_name: client_1_1
uuid: cdc04dd2-df08-49f8-ab75-e84f70fd2b0a
type: 0
domain_id: 11
state: enabled
removed: 2015-01-05 17:45:34
cleanup_needed: 0
network_domain: NULL
default_zone_id: NULL
default: 0
9 rows in set (0.00 sec)
=================================================
mysql> select * from networks where
uuid='626ee136-933c-4bca-9084-fc0691f2ff81'\G
*************************** 1. row ***************************
id: 204
name: Default
uuid: 626ee136-933c-4bca-9084-fc0691f2ff81
display_text: Default
traffic_type: Guest
broadcast_domain_type: Vlan
broadcast_uri: vlan://624
gateway: 10.1.0.1
cidr: 10.1.0.0/20
mode: Dhcp
network_offering_id: 8
physical_network_id: 200
data_center_id: 1
guru_name: ExternalGuestNetworkGuru
state: Implemented
related: 204
domain_id: 1
account_id: 2
dns1: NULL
dns2: NULL
guru_data: NULL
set_fields: 0
acl_type: Account
network_domain: cs2cloud.internal
reservation_id: d028a548-0b79-4722-9751-29483dbbd12b
guest_type: Isolated
restart_required: 0
created: 2015-01-02 06:03:01
removed: NULL
specify_ip_ranges: 0
vpc_id: NULL
ip6_gateway: NULL
ip6_cidr: NULL
network_cidr: NULL
display_network: 1
network_acl_id: NULL
streched_l2: 0
1 row in set (0.00 sec)
On Mon, Jan 5, 2015 at 2:09 PM, Somesh Naidu <So...@citrix.com>
wrote:
> Share the output of the following SQL query/s:
>
> select * from account where account_name='client_1_1'\G
> select * from networks where uuid='626ee136-933c-4bca-9084-fc0691f2ff81'\G
>
> -----Original Message-----
> From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> Sent: Monday, January 05, 2015 1:53 PM
> To: users@cloudstack.apache.org
> Subject: Re: API error
>
> Hi,
>
> Thanks again.
>
> here is the API log:
>
> http://pastebin.com/Fdx3mPK2
>
> seems there is communication back and forth between HB and ACS.
>
> I appreciate any help with the log please.
>
> Thanks
>
> On Mon, Jan 5, 2015 at 1:41 PM, Somesh Naidu <So...@citrix.com>
> wrote:
>
> > I am sorry, I am not familiar with "hostbill" but a quick look up on the
> > internet tells me that this is a billing software module that would, I
> > guess, consume raw usage data from ACS (of course via ACS API).
> >
> > So if I understand it correct, you say you are trying to create a VM via
> a
> > hostbill API call?
> >
> > Irrespective of whether above is true or not, I believe the create VM is
> > eventually being executed by ACS. If that's the case then it would help
> > looking up the management-server.log (and/or apilog.log) to get more
> > details of what is failing. Are you familiar with these logs?
> >
> > -----Original Message-----
> > From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> > Sent: Monday, January 05, 2015 1:04 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: API error
> >
> > Thanks for you reply.
> >
> > Hypervisor is KVM.
> > I'm creating a VM. Unfortunately hostbill module is encoded so I cannot
> see
> > anything at hostbill end. is there any API log in hostbill that I can
> > see/paste the API calls here?
> >
> > Thanks
> >
> >
> > On Mon, Jan 5, 2015 at 12:54 PM, Somesh Naidu <So...@citrix.com>
> > wrote:
> >
> > > Can we get more details. As a start, what API call are we talking about
> > > here and what hypervisor?
> > >
> > > -----Original Message-----
> > > From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> > > Sent: Monday, January 05, 2015 12:48 PM
> > > To: users@cloudstack.apache.org
> > > Subject: API error
> > >
> > > Hi,
> > >
> > > I'm not sure if this is related to CS or not. Thanks in advance for all
> > the
> > > help and advice.
> > >
> > > Setup: 4.4.2 on Centos 6.6 64bit
> > > External Secondary Storage: NFS
> > > Local Primary on identical hosts.
> > >
> > > API error that we get:
> > >
> > > Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
> > > permission denied.
> > >
> > > We are using hostbill if it matters.
> > >
> > > --
> > > Mohammad Rastgoo
> > >
> >
>
>
>
> --
> Mohammad Rastgoo
> Founder & CEO
>
--
Mohammad Rastgoo
Founder & CEO
RE: API error
Posted by Somesh Naidu <So...@citrix.com>.
Share the output of the following SQL query/s:
select * from account where account_name='client_1_1'\G
select * from networks where uuid='626ee136-933c-4bca-9084-fc0691f2ff81'\G
-----Original Message-----
From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
Sent: Monday, January 05, 2015 1:53 PM
To: users@cloudstack.apache.org
Subject: Re: API error
Hi,
Thanks again.
here is the API log:
http://pastebin.com/Fdx3mPK2
seems there is communication back and forth between HB and ACS.
I appreciate any help with the log please.
Thanks
On Mon, Jan 5, 2015 at 1:41 PM, Somesh Naidu <So...@citrix.com>
wrote:
> I am sorry, I am not familiar with "hostbill" but a quick look up on the
> internet tells me that this is a billing software module that would, I
> guess, consume raw usage data from ACS (of course via ACS API).
>
> So if I understand it correct, you say you are trying to create a VM via a
> hostbill API call?
>
> Irrespective of whether above is true or not, I believe the create VM is
> eventually being executed by ACS. If that's the case then it would help
> looking up the management-server.log (and/or apilog.log) to get more
> details of what is failing. Are you familiar with these logs?
>
> -----Original Message-----
> From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> Sent: Monday, January 05, 2015 1:04 PM
> To: users@cloudstack.apache.org
> Subject: Re: API error
>
> Thanks for you reply.
>
> Hypervisor is KVM.
> I'm creating a VM. Unfortunately hostbill module is encoded so I cannot see
> anything at hostbill end. is there any API log in hostbill that I can
> see/paste the API calls here?
>
> Thanks
>
>
> On Mon, Jan 5, 2015 at 12:54 PM, Somesh Naidu <So...@citrix.com>
> wrote:
>
> > Can we get more details. As a start, what API call are we talking about
> > here and what hypervisor?
> >
> > -----Original Message-----
> > From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> > Sent: Monday, January 05, 2015 12:48 PM
> > To: users@cloudstack.apache.org
> > Subject: API error
> >
> > Hi,
> >
> > I'm not sure if this is related to CS or not. Thanks in advance for all
> the
> > help and advice.
> >
> > Setup: 4.4.2 on Centos 6.6 64bit
> > External Secondary Storage: NFS
> > Local Primary on identical hosts.
> >
> > API error that we get:
> >
> > Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
> > permission denied.
> >
> > We are using hostbill if it matters.
> >
> > --
> > Mohammad Rastgoo
> >
>
--
Mohammad Rastgoo
Founder & CEO
Re: API error
Posted by Mohammad Rastgoo <mo...@synapti.ca>.
Hi,
Thanks again.
here is the API log:
http://pastebin.com/Fdx3mPK2
seems there is communication back and forth between HB and ACS.
I appreciate any help with the log please.
Thanks
On Mon, Jan 5, 2015 at 1:41 PM, Somesh Naidu <So...@citrix.com>
wrote:
> I am sorry, I am not familiar with "hostbill" but a quick look up on the
> internet tells me that this is a billing software module that would, I
> guess, consume raw usage data from ACS (of course via ACS API).
>
> So if I understand it correct, you say you are trying to create a VM via a
> hostbill API call?
>
> Irrespective of whether above is true or not, I believe the create VM is
> eventually being executed by ACS. If that's the case then it would help
> looking up the management-server.log (and/or apilog.log) to get more
> details of what is failing. Are you familiar with these logs?
>
> -----Original Message-----
> From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> Sent: Monday, January 05, 2015 1:04 PM
> To: users@cloudstack.apache.org
> Subject: Re: API error
>
> Thanks for you reply.
>
> Hypervisor is KVM.
> I'm creating a VM. Unfortunately hostbill module is encoded so I cannot see
> anything at hostbill end. is there any API log in hostbill that I can
> see/paste the API calls here?
>
> Thanks
>
>
> On Mon, Jan 5, 2015 at 12:54 PM, Somesh Naidu <So...@citrix.com>
> wrote:
>
> > Can we get more details. As a start, what API call are we talking about
> > here and what hypervisor?
> >
> > -----Original Message-----
> > From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> > Sent: Monday, January 05, 2015 12:48 PM
> > To: users@cloudstack.apache.org
> > Subject: API error
> >
> > Hi,
> >
> > I'm not sure if this is related to CS or not. Thanks in advance for all
> the
> > help and advice.
> >
> > Setup: 4.4.2 on Centos 6.6 64bit
> > External Secondary Storage: NFS
> > Local Primary on identical hosts.
> >
> > API error that we get:
> >
> > Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
> > permission denied.
> >
> > We are using hostbill if it matters.
> >
> > --
> > Mohammad Rastgoo
> >
>
--
Mohammad Rastgoo
Founder & CEO
RE: API error
Posted by Somesh Naidu <So...@citrix.com>.
I am sorry, I am not familiar with "hostbill" but a quick look up on the internet tells me that this is a billing software module that would, I guess, consume raw usage data from ACS (of course via ACS API).
So if I understand it correct, you say you are trying to create a VM via a hostbill API call?
Irrespective of whether above is true or not, I believe the create VM is eventually being executed by ACS. If that's the case then it would help looking up the management-server.log (and/or apilog.log) to get more details of what is failing. Are you familiar with these logs?
-----Original Message-----
From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
Sent: Monday, January 05, 2015 1:04 PM
To: users@cloudstack.apache.org
Subject: Re: API error
Thanks for you reply.
Hypervisor is KVM.
I'm creating a VM. Unfortunately hostbill module is encoded so I cannot see
anything at hostbill end. is there any API log in hostbill that I can
see/paste the API calls here?
Thanks
On Mon, Jan 5, 2015 at 12:54 PM, Somesh Naidu <So...@citrix.com>
wrote:
> Can we get more details. As a start, what API call are we talking about
> here and what hypervisor?
>
> -----Original Message-----
> From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> Sent: Monday, January 05, 2015 12:48 PM
> To: users@cloudstack.apache.org
> Subject: API error
>
> Hi,
>
> I'm not sure if this is related to CS or not. Thanks in advance for all the
> help and advice.
>
> Setup: 4.4.2 on Centos 6.6 64bit
> External Secondary Storage: NFS
> Local Primary on identical hosts.
>
> API error that we get:
>
> Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
> permission denied.
>
> We are using hostbill if it matters.
>
> --
> Mohammad Rastgoo
>
Re: API error
Posted by Mohammad Rastgoo <mo...@synapti.ca>.
Thanks for you reply.
Hypervisor is KVM.
I'm creating a VM. Unfortunately hostbill module is encoded so I cannot see
anything at hostbill end. is there any API log in hostbill that I can
see/paste the API calls here?
Thanks
On Mon, Jan 5, 2015 at 12:54 PM, Somesh Naidu <So...@citrix.com>
wrote:
> Can we get more details. As a start, what API call are we talking about
> here and what hypervisor?
>
> -----Original Message-----
> From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
> Sent: Monday, January 05, 2015 12:48 PM
> To: users@cloudstack.apache.org
> Subject: API error
>
> Hi,
>
> I'm not sure if this is related to CS or not. Thanks in advance for all the
> help and advice.
>
> Setup: 4.4.2 on Centos 6.6 64bit
> External Secondary Storage: NFS
> Local Primary on identical hosts.
>
> API error that we get:
>
> Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
> permission denied.
>
> We are using hostbill if it matters.
>
> --
> Mohammad Rastgoo
>
RE: API error
Posted by Somesh Naidu <So...@citrix.com>.
Can we get more details. As a start, what API call are we talking about here and what hypervisor?
-----Original Message-----
From: Mohammad Rastgoo [mailto:mohammad@synapti.ca]
Sent: Monday, January 05, 2015 12:48 PM
To: users@cloudstack.apache.org
Subject: API error
Hi,
I'm not sure if this is related to CS or not. Thanks in advance for all the
help and advice.
Setup: 4.4.2 on Centos 6.6 64bit
External Secondary Storage: NFS
Local Primary on identical hosts.
API error that we get:
Unable to use network with id= 626ee136-933c-4bca-9084-fc0691f2ff81,
permission denied.
We are using hostbill if it matters.
--
Mohammad Rastgoo