CS 4.3.2 not reconnecting after losing connection to the database.

2015-03-03 Thread Dave Hoffman
Hello,

We have an environment that we are currently stress testing fault tolerance
and we ran into an issue that I can't seem to find much on.

If Cloudstack loses connection to the database server, it gives up
reconnecting pretty quickly.  We rebooted the database server to see if
Cloudstack would reconnect when it came back up and it fails to reconnect.

Is there something we can adjust so Cloudstack will reconnect without
having to restart cloudstack-management?

-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104  |  Fax +1.515.612.7878
Direct +1.515.612.7808  |  Mobile +1.515.966.4633
dave.hoff...@appcore.com  |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Unable to use console proxy with vCenter 5.5

2015-03-17 Thread Dave Hoffman
We have an environment with Cloudstack 4.3.2 and vCenter 5.5.  We can start
vms without issue from templates and ISO but we cannot get the console
proxy to return a usable console session.  The console proxy vm starts, it
can get out to the internet, it can hit the hypervisors on 443 and 80 but
it will not return a usable consoly proxy session.

The logs have been pretty much useless and tcpdumping the traffic hasn't
yielded much information.

The cert has been applied and the DNS is resolving correctly but we do not
see much traffic going from the console proxy vm to vCenter when requesting
a console proxy session.

Any help on where to look would be great.

-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104  |  Fax +1.515.612.7878
Direct +1.515.612.7808  |  Mobile +1.515.966.4633
dave.hoff...@appcore.com  |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Re: Unable to use console proxy with vCenter 5.5

2015-03-20 Thread Dave Hoffman
Somesh/Suresh,

If I disable the use of SSL I can use the console proxy once I allow the
unsigned proxy to run in Chrome.  When I put in the domain in again, load
the cert again then destroy the vm, it temporarily works until the next
keystore check, fails, then sets the certificate back to realhostip.com
with the following:

2015-03-20 14:26:19,470 WARN  [c.c.u.n.Link] (AgentManager-Selector:null)
SSL: Fail to find the generated keystore. Loading fail-safe one to continue.

That matches this issue:
https://issues.apache.org/jira/browse/CLOUDSTACK-5946


I have opened this issue for my initial issue with the console proxy:
https://issues.apache.org/jira/browse/CLOUDSTACK-8337

On Wed, Mar 18, 2015 at 12:35 AM, Suresh Sadhu 
wrote:

> Is it upgraded environment its fresh setup.
>
> Check the following :
> 1. keystore table in your database has right keys.
> 2. global configuration parameters  related console proxy url has right
> domain information  and it should be *.yourdomain.com in case of secure
> communication and  for http mode it should be empty.
> 3. once you successfully uploaded certificates ,check the console proxy
>  whether your certificate is uploaded  or not. Check the below files in
> console proxy:
> /etc/ssl/private/cert_apache.key, (more info refer:
> http://sadhusuresh.blogspot.in/2015_01_01_archive.html it might help)
>
> Also if  you change  console mode from http to https then recreate the
> console proxy  by destroying the current cosnsole proxy vm.
>
> Please  share  the logs It will more helpful to understand the problem.
>
> Regards
> Sadhu
>
>
>
>
>
>
>
>
>
>
>
> -Original Message-
> From: Somesh Naidu [mailto:somesh.na...@citrix.com]
> Sent: 18 March 2015 04:11
> To: users@cloudstack.apache.org
> Subject: RE: Unable to use console proxy with vCenter 5.5
>
> What kind of error do you see on the console proxy session? Have you
> allowed for the VNC ports on the host firewall?
>
> Somesh
> CloudPlatform Escalations
> Citrix Systems, Inc.
>
>
> -Original Message-
> From: Dave Hoffman [mailto:david.hoff...@appcore.com]
> Sent: Tuesday, March 17, 2015 6:01 PM
> To: users@cloudstack.apache.org
> Subject: Unable to use console proxy with vCenter 5.5
>
> We have an environment with Cloudstack 4.3.2 and vCenter 5.5.  We can
> start vms without issue from templates and ISO but we cannot get the
> console proxy to return a usable console session.  The console proxy vm
> starts, it can get out to the internet, it can hit the hypervisors on 443
> and 80 but it will not return a usable consoly proxy session.
>
> The logs have been pretty much useless and tcpdumping the traffic hasn't
> yielded much information.
>
> The cert has been applied and the DNS is resolving correctly but we do not
> see much traffic going from the console proxy vm to vCenter when requesting
> a console proxy session.
>
> Any help on where to look would be great.
>
> --
> Thanks,
> *Dave Hoffman*
> System Administrator | Appcore - the business of cloud computing®
>
> Office +1.800.735.7104  |  Fax +1.515.612.7878 Direct +1.515.612.7808  |
> Mobile +1.515.966.4633 dave.hoff...@appcore.com  |  www.appcore.com
> --
>
> The information in this message is intended for the named recipients only.
> It may contain information that is privileged, confidential or otherwise
> protected from disclosure. If you are not the intended recipient, you are
> hereby notified that any disclosure, copying, distribution, or the taking
> of any action in reliance on the contents of this message is strictly
> prohibited. If you have received this e-mail in error, do not print it or
> disseminate it or its contents. In such event, please notify the sender by
> return e-mail and delete the e-mail file immediately thereafter. Thank you.
>



-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104  |  Fax +1.515.612.7878
Direct +1.515.612.7808  |  Mobile +1.515.966.4633
dave.hoff...@appcore.com  |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


CS 4.3.2 - VPC VPN client IP not routable to network

2015-05-29 Thread Dave Hoffman
We have a VPC configured with a 10.0.0.0/16 and a network within the VPC
with a 10.0.0.0/24 network.

After setting up a VPN on the gateway and connecting I get an address of
10.1.2.8 and I cannot access the VM within the network.

Is there something wrong with the config that we're missing?

-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104  |  Fax +1.515.612.7878
Direct +1.515.612.7808  |  Mobile +1.515.966.4633
dave.hoff...@appcore.com  |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Re: CS 4.3.2 - VPC VPN client IP not routable to network

2015-06-01 Thread Dave Hoffman
Ah, that makes sense.  We'll try changing that address range and testing
when we can get a maintenance window with the customer.

On Fri, May 29, 2015 at 3:06 PM, Andrija Panic 
wrote:

> Nevermind, so it's remote VPN.
>
> This range (10.1.2.8-x) is default range assinged to VPN clients (your
> laptop etc). (global config:
> remote.access.vpn.client.iprange) - this range overlaps with your VPC range
> 10.x.x.x
> you can change this value in global config to i.e
> 192.168.56.5-192.168.56.50 and then create user accounts etc...that will
> get this settings attached.
> this range is a property attached of the ACCOUNT.
>
> Meaning, as a cloud wide admin, login to ACS, and edit existing account,
> there is SETTINGS tab on the account, and change remote VPN IP range.to
> something else than 10.x.x.x
> Also be sure to route all traffic over VPN connections, so you can actuallt
> access your VMs inside VPC.
>
>
> cheers
>
>
>
> On 29 May 2015 at 22:00, Andrija Panic  wrote:
>
> > Dave, VPC setup is fine...
> >
> > You configured site-to-site VPN (remote customer VPN gateway) or Remote
> > VPN (l2tp/ipsec) ?
> >
> > On 29 May 2015 at 21:51, Dave Hoffman  wrote:
> >
> >> We have a VPC configured with a 10.0.0.0/16 and a network within the
> VPC
> >> with a 10.0.0.0/24 network.
> >>
> >> After setting up a VPN on the gateway and connecting I get an address of
> >> 10.1.2.8 and I cannot access the VM within the network.
> >>
> >> Is there something wrong with the config that we're missing?
> >>
> >> --
> >> Thanks,
> >> *Dave Hoffman*
> >> System Administrator | Appcore - the business of cloud computing®
> >>
> >> Office +1.800.735.7104  |  Fax +1.515.612.7878
> >> Direct +1.515.612.7808  |  Mobile +1.515.966.4633
> >> dave.hoff...@appcore.com  |  www.appcore.com
> >> --
> >>
> >> The information in this message is intended for the named recipients
> only.
> >> It may contain information that is privileged, confidential or otherwise
> >> protected from disclosure. If you are not the intended recipient, you
> are
> >> hereby notified that any disclosure, copying, distribution, or the
> taking
> >> of any action in reliance on the contents of this message is strictly
> >> prohibited. If you have received this e-mail in error, do not print it
> or
> >> disseminate it or its contents. In such event, please notify the sender
> by
> >> return e-mail and delete the e-mail file immediately thereafter. Thank
> >> you.
> >>
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104  |  Fax +1.515.612.7878
Direct +1.515.612.7808  |  Mobile +1.515.966.4633
dave.hoff...@appcore.com  |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Re: CS 4.3.2 - VPC VPN client IP not routable to network

2015-06-03 Thread Dave Hoffman
We tried changing the global setting but it is not taking effect after
restarting cloudstack-management, after removing and recreating vpn account
or even adding new users to the account to trigger an update of some kind.

After restarting the VPC and destroying the router multiple times it is
still using the 10.1.2.0 network for VPN clients.

We have changed this at the global settings level as well as changing it in
the account level setting: remote.access.vpn.client.iprange

Neither have changed the default ip range.

Looking into the database I did notice that the updated column was still
set to the install date for remote.access.vpn.client.iprange instead of
todays date.  I'm wondering if that needs to update to trigger the change?

+--+-+-+
| name | value   |
default_value | updated |
+--+-+-+
| remote.access.vpn.client.iprange | 192.168.147.2-192.168.147.9 |
10.1.2.1-10.1.2.8 | 2015-02-05 22:09:37 |
+--+-+---+-+


On Mon, Jun 1, 2015 at 4:18 PM, Dave Hoffman 
wrote:

> Ah, that makes sense.  We'll try changing that address range and testing
> when we can get a maintenance window with the customer.
>
> On Fri, May 29, 2015 at 3:06 PM, Andrija Panic 
> wrote:
>
>> Nevermind, so it's remote VPN.
>>
>> This range (10.1.2.8-x) is default range assinged to VPN clients (your
>> laptop etc). (global config:
>> remote.access.vpn.client.iprange) - this range overlaps with your VPC
>> range
>> 10.x.x.x
>> you can change this value in global config to i.e
>> 192.168.56.5-192.168.56.50 and then create user accounts etc...that will
>> get this settings attached.
>> this range is a property attached of the ACCOUNT.
>>
>> Meaning, as a cloud wide admin, login to ACS, and edit existing account,
>> there is SETTINGS tab on the account, and change remote VPN IP
>> range.to
>> something else than 10.x.x.x
>> Also be sure to route all traffic over VPN connections, so you can
>> actuallt
>> access your VMs inside VPC.
>>
>>
>> cheers
>>
>>
>>
>> On 29 May 2015 at 22:00, Andrija Panic  wrote:
>>
>> > Dave, VPC setup is fine...
>> >
>> > You configured site-to-site VPN (remote customer VPN gateway) or Remote
>> > VPN (l2tp/ipsec) ?
>> >
>> > On 29 May 2015 at 21:51, Dave Hoffman 
>> wrote:
>> >
>> >> We have a VPC configured with a 10.0.0.0/16 and a network within the
>> VPC
>> >> with a 10.0.0.0/24 network.
>> >>
>> >> After setting up a VPN on the gateway and connecting I get an address
>> of
>> >> 10.1.2.8 and I cannot access the VM within the network.
>> >>
>> >> Is there something wrong with the config that we're missing?
>> >>
>> >> --
>> >> Thanks,
>> >> *Dave Hoffman*
>> >> System Administrator | Appcore - the business of cloud computing®
>> >>
>> >> Office +1.800.735.7104  |  Fax +1.515.612.7878
>> >> Direct +1.515.612.7808  |  Mobile +1.515.966.4633
>> >> dave.hoff...@appcore.com  |  www.appcore.com
>> >> --
>> >>
>> >> The information in this message is intended for the named recipients
>> only.
>> >> It may contain information that is privileged, confidential or
>> otherwise
>> >> protected from disclosure. If you are not the intended recipient, you
>> are
>> >> hereby notified that any disclosure, copying, distribution, or the
>> taking
>> >> of any action in reliance on the contents of this message is strictly
>> >> prohibited. If you have received this e-mail in error, do not print it
>> or
>> >> disseminate it or its contents. In such event, please notify the
>> sender by
>> >> return e-mail and delete the e-mail file immediately thereafter. Thank
>> >> you.
>> >>
>> >
>> >
>> >
>> > --
>> >
>> > Andrija Panić
>> >
>>
>>
>>
>> --
>>
>> Andrija Panić
>>
>
>
>
> --
> Thanks,
> *Dave Hoffman*
> System Administrator | Appcore - the business of cloud computing®
>
> Office +1.800.735.7104  |  Fax +1.515.612

SystemVM attempts to use incorrect hypervisor on router creation after host tags have been applied

2014-07-03 Thread Dave Hoffman
6:job-31669) CPUOverprovisioningFactor considered: 1.5
2014-07-03 04:56:12,590 DEBUG [cloud.deploy.UserConcentratedPodPlanner] 
(Job-Executor-116:job-31669) Applying UserConcentratedPod heuristic for 
account: 1
2014-07-03 04:56:12,593 DEBUG [cloud.deploy.UserConcentratedPodPlanner] 
(Job-Executor-116:job-31669) Reordering cluster list as per pods ordered 
by user concentration
2014-07-03 04:56:12,608 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) Cluster: 4 has HyperVisorType that does not 
match the VM, skipping this cluster
2014-07-03 04:56:12,610 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) Checking resources in Cluster: 7 under Pod: 1
2014-07-03 04:56:12,611 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Looking for hosts 
in dc: 1  pod:1  cluster:7
2014-07-03 04:56:12,611 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Looking for hosts 
having tag specified on SvcOffering:Xen
2014-07-03 04:56:12,613 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Hosts with tag 
'Xen' are:[]
2014-07-03 04:56:12,614 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) FirstFitAllocator 
has 0 hosts to check for allocation: []
2014-07-03 04:56:12,617 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Found 0 hosts for 
allocation after prioritization: []
2014-07-03 04:56:12,618 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Looking for 
speed=500Mhz, Ram=128
2014-07-03 04:56:12,618 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Host Allocator 
returning 0 suitable hosts
2014-07-03 04:56:12,618 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) No suitable hosts found
2014-07-03 04:56:12,618 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) No suitable hosts found under this Cluster: 7
2014-07-03 04:56:12,618 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) No suitable hosts found under this Cluster: 7
2014-07-03 04:56:12,620 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) Cluster: 1 has HyperVisorType that does not 
match the VM, skipping this cluster
2014-07-03 04:56:12,620 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-116:job-31669) Could not find suitable Deployment 
Destination for this VM under any clusters, returning.
2014-07-03 04:56:12,638 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-116:job-31669) VM state transitted from :Starting to 
Stopped with event: OperationFailedvm's original host id: null new host 
id: null host id before state transition: null


--
Dave Hoffman
Systems Administrator | Appcore

Office +1.800.735.7104
Direct +1.515.612.7808
dave.hoff...@appcore.com | www.appcore.com


Re: SystemVM attempts to use incorrect hypervisor on router creation after host tags have been applied

2014-07-07 Thread Dave Hoffman
I am aware that it cannot find a VMware host that is tagged Xen.  That 
is intentional.  I have 2 Xen clusters that are able to run the cloud 
router but, Cloudstack is still trying to use vmware for the hypervisor 
to launch the template.


I am wondering if there is not logic to use all hypervisors in a cloud 
and Cloudstack assumes if you launch a vm on a certain hypervisor, the 
cloud router MUST be launched on the same hypervisor.


If that's the case, I'm guessing we may have to remove the vmware 
system template and test if that works as XenServer will then be the 
only choice.


On Thu 03 Jul 2014 11:31:36 PM CDT, Koushik Das wrote:

As per the logs it is not able to find any host with tag=Xen under cluster 7. 
Check if the host is tagged correctly

2014-07-03 04:56:12,611 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Looking for hosts in dc: 
1  pod:1  cluster:7
2014-07-03 04:56:12,611 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Looking for hosts having 
tag specified on SvcOffering:Xen
2014-07-03 04:56:12,613 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-116:job-31669 FirstFitRoutingAllocator) Hosts with tag 'Xen' 
are:[]

-Original Message-
From: Dave Hoffman [mailto:david.hoff...@appcore.com]
Sent: Thursday, 3 July 2014 9:49 PM
To: users@cloudstack.apache.org
Subject: SystemVM attempts to use incorrect hypervisor on router creation after 
host tags have been applied

Hello,

We have a mixed environment with XenServer and Vmware.  We are trying to force 
the system vm to launch on to Xen but, when a new network is created with the 
first vm created being a vmware template, Cloudstack tries to deploy a vmware 
cloud router.

If the first vm created is on XenServer, the router creates on XenServer 
without issue.

Manually create a network does not create a router until a vm is launched so 
same issue applies on first vm creation

All hosts are tagged appropriately - Xen for XenServer and VMware for VMware 
System Offering For Software Router has a host tag of Xen

Below is the log showing the process of the failed creation.


2014-07-03 04:56:12,482 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(Job-Executor-116:job-31669) Allocating the domR with the hypervisor type VMware
2014-07-03 04:56:12,485 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-116:job-31669) Allocating entries for VM:
VM[DomainRouter|r-35772-VM]
2014-07-03 04:56:12,490 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-116:job-31669) Allocating nics for VM[DomainRouter|r-35772-VM]
2014-07-03 04:56:12,491 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-116:job-31669) Allocating nic for vm VM[DomainRouter|r-35772-VM] 
in network Ntwk[633|Guest|6] with requested profile 
NicProfile[0-0-null-10.50.1.1-vlan://2695
2014-07-03 04:56:12,509 DEBUG [cloud.network.NetworkModelImpl]
(Job-Executor-116:job-31669) Service SecurityGroup is not supported in the 
network id=633
2014-07-03 04:56:12,511 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-116:job-31669) Allocating nic for vm VM[DomainRouter|r-35772-VM] 
in network Ntwk[202|Control|3] with requested profile null
2014-07-03 04:56:12,521 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-116:job-31669) Allocating nic for vm VM[DomainRouter|r-35772-VM] 
in network Ntwk[200|Public|1] with requested profile 
NicProfile[0-0-null-205.172.1.176-vlan://1001
2014-07-03 04:56:12,529 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-116:job-31669) Allocaing disks for VM[DomainRouter|r-35772-VM]
2014-07-03 04:56:12,540 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-116:job-31669) Allocation completed for VM:
VM[DomainRouter|r-35772-VM]
2014-07-03 04:56:12,557 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(Job-Executor-116:job-31669) Lock is released for network id 633 as a part of 
router startup in 
Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))]
:
Dest[Zone(1)-Pod(1)-Cluster(7)-Host(26)-Storage(Volume(37515|ROOT-->Pool(268))]
2014-07-03 04:56:12,557 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(Job-Executor-116:job-31669) Starting router VM[DomainRouter|r-35772-VM]
2014-07-03 04:56:12,564 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-116:job-31669) VM state transitted from :Stopped to Starting with 
event: StartRequestedvm's original host id: null new host
id: null host id before state transition: null
2014-07-03 04:56:12,564 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-116:job-31669) Successfully transitioned to start state for 
VM[DomainRouter|r-35772-VM] reservation id = 
fad64dad-8aee-47ce-bff3-e669ed246e8d
2014-07-03 04:56:12,564 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-116:job-31669) Successfully transitioned to start state for 
VM[DomainRouter|r-35772-VM] reservation id = 
fad64dad-8aee-47

Using cloudstack-set-guest-password with a desktop environment

2014-10-02 Thread Dave Hoffman

Hello all,

We have a customer that has been fighting with adding the password reset 
script to CentOS 6.5 running Gnome.  It is not being run on boot no 
matter where we have placed the file


We followed the instructions on the site placing it in /etc/init.d/, 
making it executable and adding it to chkconfig.  No luck.


Added it to /etc/gdm/init.d/Default, nothing.

Added it to /etc/rc.local to try to get it to run after all other 
scripts and no luck either.


Running the script manually pulls down the new password and if you log 
out and back in the new password is set.


Has anyone else gotten this to work in CentOS with a gui (Gnome or KDE) 
or in Ubuntu with Unity?


Re: Using cloudstack-set-guest-password with a desktop environment

2014-10-02 Thread Dave Hoffman
I can run the script manually once I'm logged in with the original 
password and it pulls in the new password without issue.


I just checked and at this time a firewall isn't even running.

On 10/02/2014 11:26 AM, Sam Ceylani wrote:

firewall

Sent from my iPhone


On Oct 2, 2014, at 12:25 PM, "Dave Hoffman"  wrote:

Hello all,

We have a customer that has been fighting with adding the password reset script 
to CentOS 6.5 running Gnome.  It is not being run on boot no matter where we 
have placed the file

We followed the instructions on the site placing it in /etc/init.d/, making it 
executable and adding it to chkconfig.  No luck.

Added it to /etc/gdm/init.d/Default, nothing.

Added it to /etc/rc.local to try to get it to run after all other scripts and 
no luck either.

Running the script manually pulls down the new password and if you log out and 
back in the new password is set.

Has anyone else gotten this to work in CentOS with a gui (Gnome or KDE) or in 
Ubuntu with Unity?




Re: cloudstack 4.1 KVM There no secondary storage for secondary VM

2013-10-01 Thread dave . hoffman
Do you have an NFS share created and added to Cloudstack for it to use as 
Secondary Storage?

- Original Message -
From: "motty cruz" 
To: users@cloudstack.apache.org
Sent: Monday, September 30, 2013 8:43:05 PM
Subject: cloudstack 4.1 KVM There no secondary storage for secondary VM

Hello, I need help!
I have installed CloudStack 4.1 on CentOS, I have two hypervisors KVM
running on CentOS 6.4. both KVM hypervison have 2 network cards one have
static public IP and 2nd has a private IP. can someone point the steps to
have basic network to run with CloudStack?

currently I have cloudstack working but the error I'm getting is "There are
no secondary storage for secondary VM" I know is because my network
interfaces are not configure correctly.

Thanks,
 Motty


Re: limit setting firewall

2014-01-07 Thread Dave Hoffman
You can edit what each user type can view by adding/removing options from

/usr/share/cloudstack-management/webapps/client/scripts/cloudStack.js

Default:

  else { //normal user
return ["dashboard", "instances", "storage", "network",
"templates", "accounts", "events"];

Without Network:

  else { //normal user
return ["dashboard", "instances", "storage", "templates",
"accounts", "events"];

More information on UI customization:
http://www.slideshare.net/cloudstack/cloudstack-ui-customization



On Tue, Jan 7, 2014 at 8:38 AM, Hollman Enciso R.
wrote:

> Hello all.
>
> I'm just wanna know if it's possible to remove the privilege to the users
> to configure the firewall settings like nat, port forwarding etc.. ?
>
> I want that just the administrator configure this.
> It's possible?
>
> thanks
>
> --
> Hollman Eduardo Enciso R.
> http://nexxuz.com
> http://algolibre.com <http://www.hollmanenciso.com/>
> @hollman
>



-- 
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104  |  Fax +1.515.612.7878
Direct +1.515.612.7808  |  Mobile +1.515.966.4633
dave.hoff...@appcore.com  |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Re: issue creating a template with some service offering

2014-01-08 Thread Dave Hoffman
It looks like your host is in an avoid set and cannot be used for 
deploying new vms.


1.
   
2014-01-0809:10:42,798DEBUG[cloud.deploy.FirstFitPlanner](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Listing
   clusters in order of aggregate capacity, that have(atleast one host
   with)enough CPU and RAM capacity under this Zone:1
2.
   
2014-01-0809:10:42,801DEBUG[cloud.deploy.FirstFitPlanner](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Removing
   from the clusterId list these clusters from avoid set:[1]
3.
   
2014-01-0809:10:42,804DEBUG[cloud.deploy.FirstFitPlanner](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])No
   clusters found after removing disabled clusters and clusters in
   avoid list, returning.
4.
   
2014-01-0809:10:42,808DEBUG[cloud.vm.UserVmManagerImpl](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Destroying
   vm VM[User|userver]as it failed to create on Host with Id:null


This typically happens when Cloudstack has an issue deploying on that 
host or cluster.  It will mark it as avoid and move to the next 
host/cluster if available.  I would look further up in your log to see 
if there was another issue prior to this one.


Can you still deploy vms with the x2 service offering? x4?  Can you 
deploy multiple vms with the x2 in the environment?


What version of XenServer are you runnings?  Try running 
xe-toolstack-restart on the host/pool master to force a refresh from 
Cloudstack.  If that doesn't work you may have to restart the host or 
remove the host from Cloudstack and add it back into Cloudstack.


Also check your storage on the Host and/or SAN to make sure that is 
still communicating correctly.



On 01/08/2014 08:29 AM, Hollman Enciso R. wrote:

Hello all.

I created 3 types of service.
x2, x3 and x4

x2 has 2 cores, 2GB of ram, 2.00 GHz
x3 has 3 cores 3gb of ram, 3.00 GHz
...

When I create an instance with x2 works ok, but when I deply a instance with

to x2 I get some errors. this is the general log

http://paste.algolibre.com/105

Reading the log I identify 3 errors.

1. SecurityGroup Service is not supported in the network id = 204
I made a select from table networks with id = 204 and it is this:
http://paste.algolibre.com/106

2. Could not find suitable Deployment Destination for this VM under any
clusters, returning.
I do not know why

3. Listing clusters in order of aggregate capacity, That have (atleast one
host with) enough CPU and RAM capacity Under This Zone 1
says that I have no resources in the area but If I have available

I appreciate any help

thanks





Re: What is your setup?

2014-02-06 Thread Dave Hoffman

All of the above.  KVM is our leading hypervisor at the moment.


On 02/05/2014 08:24 PM, Maurice Lawler wrote:

Just a general question

What is YOUR favorite setup? KVM? Xen? VmWare?

- Maurice


--
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104 | Fax +1.515.612.7878
Direct +1.515.612.7808 | Mobile +1.515.966.4633
dave.hoff...@appcore.com <mailto:dave.hoff...@appcore.com> | 
www.appcore.com <http://www.appcore.com>

--
The information in this message is intended for the named recipients 
only. It may contain information that is privileged, confidential or 
otherwise protected from disclosure. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this message is strictly prohibited. If you have received this e-mail in 
error, do not print it or disseminate it or its contents. In such event, 
please notify the sender by return e-mail and delete the e-mail file 
immediately thereafter. Thank you.


Re: KVM Snapshot issues

2014-02-09 Thread Dave Hoffman
First thing I'm seeing at the top of the error log is that a system vm 
cannot communicate over port 8250 to 10.100.0.10 which looks to be a 
host.  If the secondary storage vm cannot communicate with the host, it 
cannot copy the snapshot from the host and move it to secondary 
storage.  That would explain why the vm starts to perform a snapshot and 
then fail when it attempts to move it to the secondary storage.


I would investigate that networking issue first.

Ports used by Cloudstack: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ports+used+by+CloudStack





On 02/09/2014 07:57 PM, Tanner Danzey wrote:

Hello all, me again. After fixing some issues, I've narrowed my KVM
snapshot issues down to some more specific errors. Here is a log of both
the management server and the agent log from the hypervisor the snapshot is
supposed to run on.

http://pastebin.com/raw.php?i=Lu0VBPn2

Not captured by those logs: I try taking a snapshot by using the snapshot
button in the instance. Whether the instance is running or not, it tells me
that KVM snapshots aren't enabled. The snapshots are enabled, I checked and
double checked in global settings.

After that, I went to Storage and selected the root volume for the
instance. From there, I can click the snapshot volume button and the
snapshot *does in fact* begin, however, after an unknown amount of time
(takes too long for me to actually know how long) it fails with an internal
error (3). I have several snapshots of the process and result, but I feel
like there shouldn't be attachments to list messages, so if you want them I
can send them to you. The logs coincide with the screenshots. After
failing, the snapshot is stuck with the status of "CreatedOnPrimary" and
can only be deleted.

My question is, what am I doing wrong? Are there any steps that I have
missed? How do other users have KVM snapshots set up?

Thanks in advance!


--
Thanks,
*Dave Hoffman*
System Administrator | Appcore - the business of cloud computing®

Office +1.800.735.7104 | Fax +1.515.612.7878
Direct +1.515.612.7808 | Mobile +1.515.966.4633
dave.hoff...@appcore.com <mailto:dave.hoff...@appcore.com> | 
www.appcore.com <http://www.appcore.com>

--
The information in this message is intended for the named recipients 
only. It may contain information that is privileged, confidential or 
otherwise protected from disclosure. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this message is strictly prohibited. If you have received this e-mail in 
error, do not print it or disseminate it or its contents. In such event, 
please notify the sender by return e-mail and delete the e-mail file 
immediately thereafter. Thank you.