Re: Web Console Timing Out

2021-05-23 Thread Sergey Levitskiy
The error is right here in the log. SSVM is supposed to have secondary storage mounted over NFS. 255.255.255.0 is not the correct IP. Likely, the cause is garbled record for secondary storage. Try to delete it and re-add. ERROR: NFS is not currently mounted Try manually mounting from inside the

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-26 Thread Sergey Levitskiy
You can try this. Restore your DB backup, register SSVM template and run the following against your MySQL DB before starting the upgrade. ALTER TABLE `cloud`.`project_account` ADD CONSTRAINT `fk_project_account__account_id` FOREIGN KEY(`account_id`) REFERENCES `account`(`id`) ON DELETE

Re: Deploying Linux/Windows Vm's on hypervisors

2020-09-15 Thread Sergey Levitskiy
ACC can only route provisioning based on the tags ( compute and storage) assigned to a service offering so if you are looking at mandatory automatic assignment based on guest OS provisioning it is not possible without segregating your environment. If you are OK with soft segregation then you

Re: Cloudstack 4.11.3 to 4.13.1 DB Upgrade Error

2020-07-19 Thread Sergey Levitskiy
Correcting few typos: There are 2 possibilities here 1. Since column reаson was added to table network_acl_item during the DB schema upgrade from 4.11.2 to 4.12 this likely means that your upgrade failed on a later step and you've tried to re-execute upgrade script. If so this is

Re: Cloudstack 4.11.3 to 4.13.1 DB Upgrade Error

2020-07-19 Thread Sergey Levitskiy
There are 2 possibilities here 1. Since column reаson was added to table network_acl_item during the DB schema upgrade from 4.11.12 to 4.12 this likely means that your upgrade failed on a later step and you've tried to re-execute upgrade script. If so this is not a right sequence of

Re: Need Support

2020-07-19 Thread Sergey Levitskiy
You need to cleanup entry in vmware_data_center table e.g. assuming you have unique vmware datacenter names: delete from vmware_data_center where name='name_of_your_datacenter' Thanks, Sergey On 7/18/20, 9:22 AM, "Rakesh v" wrote: All the cloudstack management logs are stored in

Re: Unable to shrink a data disk

2020-07-12 Thread Sergey Levitskiy
Not a chance. QCOW volume type can be shrunk on RBD backend only. The only other option of shrinking with KVM is LVM backend. On 7/12/20, 4:48 AM, "Fariborz Navidan" wrote: Any chance to get it working on NFS in later version? On Sun, Jul 12, 2020 at 9:44 AM Nicolas Vazquez <

Re: help! ACS4.11.3+vSphere6.x Sendary failure,

2020-06-28 Thread Sergey Levitskiy
You can’t have attachments in emails to this group. Instead save your full log elsewhere e.g. pastbin and send a link. From: hu xl Reply-To: "users@cloudstack.apache.org" Date: Sunday, June 28, 2020 at 11:25 AM To: "users@cloudstack.apache.org" , "users...@cloudstack.apache.org" Subject:

Re: help! ACS4.11.3+vSphere6.x Sendary failure,

2020-06-28 Thread Sergey Levitskiy
You can’t have attachments in emails to this group. Instead save your full log elsewhere e.g. pastbin and send a link. From: hu xl Reply-To: "us...@cloudstack.apache.org" Date: Sunday, June 28, 2020 at 11:25 AM To: "us...@cloudstack.apache.org" , "users-cn@cloudstack.apache.org" Subject:

Re: Converting an existing management server to a region

2020-06-07 Thread Sergey Levitskiy
Regions need to share user, account and domain records so second, third etc regions need to be rebuild from scratch and import certain tables from region 1. http://docs.cloudstack.apache.org/en/latest/installguide/configuration.html#adding-regions-optional On 6/7/20, 4:22 AM, "Fariborz

Re: Connecting to VNC server via public IP - timed out

2020-05-22 Thread Sergey Levitskiy
When ACS deploys an instance into Vmware cluster it adds VNC configuration into each VM using VNC port range 5900 to 5999 and then using configurable additional range 5-51000 (setting name vmware.additional.vnc.portrange.start). To get available port it asks Vmware cluster resource for a

Re: Testing CS 4.13.1

2020-05-18 Thread Sergey Levitskiy
Plz share full management-server.log since your snippet doesn't have relevant lines. Thanks, Sergey On 5/18/20, 1:25 PM, "Luis Martinez" wrote: This is the error I see in the logs, I am trying to ssh to the VM for secondary storage but i am not able to do it. 2020-05-18

Re: Unable to create VM through 100 and 200 GB temaplate.

2020-05-02 Thread Sergey Levitskiy
Most likely this timeout is set to 20 min at present "vmware.vcenter.session.timeout". If you use full clones on vmware set it to at least 1 hour. Actual cloning time depends on the size of the root disk and speed of your storage array. Thanks, Sergey On 4/28/20, 11:29 AM, "Andrija Panic"

Re: Adding Regions and Zone's

2020-01-28 Thread Sergey Levitskiy
This level of HA lays beyond the scope of ACS. I advise you to explore GLB that runs outside of ACS that will direct traffic to the available VMs across regions. Alternatively if you physical network architecture can provide the same L2 segments across regions you can explore keepalived VRRP

Re: Adding Regions and Zone's

2020-01-28 Thread Sergey Levitskiy
This level of HA lays beyond the scope of ACS. I advise you to explore GLB that runs outside of ACS that will direct traffic to the available VMs across regions. Alternatively if you physical network architecture can provide the same L2 segments across regions you can explore keepalived VRRP

Re: Can't start systemVM in a new advanced zone deployment

2019-06-06 Thread Sergey Levitskiy
o primary storage, a snapshot was created, which does not exist In the original OVA or on secondary storage. I suppose this is the expected behavior? Yiping On 6/6/19, 6:59 AM, "Sergey Levitskiy" wrote: This option is 'vol options name_of_volume nosnapdir on'

Re: Can't start systemVM in a new advanced zone deployment

2019-06-06 Thread Sergey Levitskiy
the destination VMDK file path it is looking for is "//.vmdk", see uploaded log at https://pastebin.com/yHcsD8xB So, I am confused as to how the path for destination VMDK was determined and by CloudStack or VMware, how did I end up with this? Yiping On 6/5

Re: Can't start systemVM in a new advanced zone deployment

2019-06-05 Thread Sergey Levitskiy
Yiping On 6/5/19, 11:15 AM, "Sergey Levitskiy" wrote: This must be specific to that environment. For a full clone mode ACS simply calls cloneVMTask of vSphere API so basically until cloning of that template succeeds when attmepted in vSphere client it

Re: Can't start systemVM in a new advanced zone deployment

2019-06-05 Thread Sergey Levitskiy
. > > Thanks again, > > Yiping > > On 6/4/19, 11:13 AM, "Sergey Levitskiy" wrote: > > Everything looks good and consistent including all references in VMDK > and its snapshot. I would

Re: Can't start systemVM in a new advanced zone deployment

2019-06-04 Thread Sergey Levitskiy
.present = "TRUE" hpet0.present = "TRUE" floppy0.present = "FALSE" memSize = "256" scsi0.virtualDev = "lsilogic" scsi0.present = "TRUE" ide0:0.startConnected = "FALSE" ide0:0.deviceType = "atapi

Re: Can't start systemVM in a new advanced zone deployment

2019-06-04 Thread Sergey Levitskiy
you unregister and delete template from the vCenter. On 6/4/19, 8:37 AM, "Yiping Zhang" wrote: I have manually imported the OVA to vCenter and successfully cloned a VM instance with it, on the same NFS datastore. On 6/4/19, 8:25 AM, "Sergey Levitskiy" w

Re: Can't start systemVM in a new advanced zone deployment

2019-06-04 Thread Sergey Levitskiy
I would suspect the template is corrupted on the secondary storage. You can try disabling/enabling link clone feature and see if it works the other way. vmware.create.full.clonefalse Also systemVM template might have been generated on a newer version of vSphere and not

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-18 Thread Sergey Levitskiy
ode list for exceptions Florent - Mail original - > De: "Sergey Levitskiy" > À: "users" > Envoyé: Mercredi 17 Avril 2019 22:45:23 > Objet: Re: Problem with ACS 4.11.2 and vCenter server > It doesn

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-17 Thread Sergey Levitskiy
s or errors: > - *Loading directly connected host* > - *initialize VmwareContext* > - *Unable to connect to vSphere server* > - *can not load directly connected host* > > CS keeps trying to connect to the host, by default every 90 secs (agent > scan in

Re: CloudStack and SDN

2019-04-17 Thread Sergey Levitskiy
Nicira NVP/NSX is very outdated and doesn’t support latest NSX. On 4/17/19, 1:22 AM, "Andrija Panic" wrote: Simplest one that actually works (call it SDN if you like) - VXLAN. A few others with various implementation states and all hypervisor dependent: Nicira NVP / Vmware

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-16 Thread Sergey Levitskiy
is is the full log : https://filesender.renater.fr/?s=download=6be77301-3893-46fa-912c-3912086cae5f Florent - Mail original - > De: "Sergey Levitskiy" > À: "users" > Envoyé: Mardi 16 Avril 2019 17:27:37 > Obj

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-16 Thread Sergey Levitskiy
Please post a full management-server.log without parsing. On 4/16/19, 7:49 AM, "Florent Paillot" wrote: I did this on purpose to limit the size of the log. I let the controller run for more than 30mins. Can't find any revelant error... :( I put some grep results here :

Re: Disaster after maintenance

2019-03-20 Thread Sergey Levitskiy
; >> work ? > > > > > >> > > > > > >> Andrija > > > > > >> > > > > > >> On Wed, 20 Mar 2019 at 08:58, Jevgeni Zolotarjov < > > > > > j.zolotar...@gmail.com> > > &g

Re: Disaster after maintenance

2019-03-19 Thread Sergey Levitskiy
5', '204', 'Shared' '9', '86', '204', 'Shared' '10', '87', '204', 'Shared' On Wed, Mar 20, 2019 at 12:18 AM Sergey Levitskiy wrote: > Check network_offering table for value in column > redundant_router_service for the network offering you use. > Can you

Re: Disaster after maintenance

2019-03-19 Thread Sergey Levitskiy
. On 3/19/19, 2:56 PM, "Jevgeni Zolotarjov" wrote: >>>Network offering needs to be change to non-redundant How do I do that? On Tue, Mar 19, 2019 at 11:47 PM Sergey Levitskiy wrote: > Network offering needs to be change to non-redundan

Re: Disaster after maintenance

2019-03-19 Thread Sergey Levitskiy
Network offering needs to be change to non-redundant. Most likely old bug is resurfaced. https://issues.apache.org/jira/browse/CLOUDSTACK-9024 On 3/19/19, 2:19 PM, "Jevgeni Zolotarjov" wrote: Hello I did exactly like you suggested. After UPDATE on db, I can see the

Re: Upgrading from 4.9.3 to 4.11

2018-11-05 Thread Sergey Levitskiy
It seems your screenshot was lost. Can you re-send/save it somewhere and we will take a look? From: "McClune, James" Reply-To: "users@cloudstack.apache.org" Date: Monday, November 5, 2018 at 7:34 AM To: "users@cloudstack.apache.org" Cc: "Adams, Christopher" Subject: Re: Upgrading from 4.9.3

Re: cloudstack 4.11 still support PVLAN?

2018-11-04 Thread Sergey Levitskiy
PVLAN is supported although there are some prerequisites http://docs.cloudstack.apache.org/projects/archived-cloudstack-administration/en/latest/networking_and_traffic.html#isolation-in-advanced-zone-using-private-vlan On 11/4/18, 7:05 PM, "Ivan Kudryavtsev" wrote: Probably MAC-based

Re: Upgrading from 4.9.3 to 4.11

2018-11-03 Thread Sergey Levitskiy
Basically version of Cloudstack you are running has already some pieces of the code that is part of the upgrade from 4.9.3 to 4.10. This could have happened if you deployed a fix on the top of 4.9.3 or if a PR was backported to 4.9.3 codebase after you install. You still can perform successful

Re: 4.9 to 4.11 upgrade broken

2018-08-22 Thread Sergey Levitskiy
rade fails on the Virtual Router? Looking for docs on this, but can’t find anything. Thanks for your assistance. Asai > On Aug 21, 2018, at 6:35 PM, Sergey Levitskiy wrote: > > Yes. this should bring you back. > However if you perform what you desc

Re: 4.9 to 4.11 upgrade broken

2018-08-21 Thread Sergey Levitskiy
, "Asai" wrote: OK thanks a lot, Sergey, That helps. What’s the best method to roll back? Just use yum to roll back to 4.9 and rebuild the DB from backup? > On Aug 21, 2018, at 3:59 PM, Sergey Levitskiy wrote: > > The fastest and easiest way

Re: 4.9 to 4.11 upgrade broken

2018-08-21 Thread Sergey Levitskiy
The fastest and easiest way is to rollback both DB and management server and start over. You need to have correct systemVM template registered before you initiate an upgrade. Thanks, Sergey On 8/21/18, 2:30 PM, "Asai" wrote: Is there anybody out there that can assist with this?

Re: VR starting problem

2017-11-07 Thread Sergey Levitskiy
Try one of these: https://discussions.citrix.com/topic/299938-error-when-disabling-ha-the-uuid-you-supplied-was-invalid/ http://blog.branix.net/cloudplatform/when-live-storage-migration-goes-wrong On 11/7/17, 12:58 PM, "he...@powershield.ru" wrote: All day we tested

Re: Enabling local-storage for Guest VMs

2017-11-06 Thread Sergey Levitskiy
> Dag Sonstebo > Cloud Architect > ShapeBlue > S: +44 20 3603 0540 | dag.sonst...@shapeblue.com | > http://www.shapeblue.com <http://www.shapeblue.com/> | Twitter:@ShapeBlue > <https://twitter.com/#!/shapeblue> > > > On 03/11/2017, 03:47,

Re: Enabling local-storage for Guest VMs

2017-11-02 Thread Sergey Levitskiy
lue.com/> | Twitter:@ShapeBlue <https://twitter.com/#!/shapeblue> On 03/11/2017, 00:32, "Sergey Levitskiy" <serg...@hotmail.com> wrote: You can update record in table data_center by flipping flag ‘is_local_storage_enabled’. Then manage/unmanage ESX

Re: Enabling local-storage for Guest VMs

2017-11-02 Thread Sergey Levitskiy
You can update record in table data_center by flipping flag ‘is_local_storage_enabled’. Then manage/unmanage ESX clusters in that zone that would be trigger discovery of local storage pools. Thanks, Sergey On 11/2/17, 5:02 AM, "Asanka Gunasekara" wrote: Thank you Lvan

Re: Below error pups up while creating a Zone

2017-10-31 Thread Sergey Levitskiy
You can use a custom name. It is controlled by global config vmware.management.portgroup. You still have to follow these requirements as per http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/hypervisor/vsphere.html If the ESXi hosts have multiple VMKernel ports, and

Re: listTemplates: multiple items with same ID

2017-10-02 Thread Sergey Levitskiy
As long as template is copied from zone to zone it will present with duplicate ID. This is by design. crossZone parameter is to indicate to auto replicate template across all available zone on template creation. To put it differently only combination of template ID and zone ID is a primary key

Re: Auto Generating MAC Addresses for VMs in a given pattern

2017-05-11 Thread Sergey Levitskiy
Kind regards, Imran -Original Message- From: Sergey Levitskiy [mailto:sergey.levits...@autodesk.com] Sent: Thursday, May 11, 2017 10:16 PM To: users@cloudstack.apache.org Subject: Re: Auto Generating MAC Addresses for VMs in a given pattern

Re: Auto Generating MAC Addresses for VMs in a given pattern

2017-05-11 Thread Sergey Levitskiy
Mac address is dynamically created based on the IP address sequence number being allocated on your subnet with randomization algorithm. It is done in NetUtils.java public static long createSequenceBasedMacAddress(final long macAddress) { return macAddress | 0x0600l |

Re: VMware workstation integration with cloudstack

2017-04-12 Thread Sergey Levitskiy
Vmware workstation is not a supported hypervisor for Cloudstack. You need VMware ESX that is managed by vCenter.   You can see detailed requirements here: http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/hypervisor/vsphere.html#system-requirements-for-vsphere-hosts

Re: Change scope of storage pool

2017-04-06 Thread Sergey Levitskiy
We made such changes once. You can run the following update statement against ACS DB and then un-manage/mange all clusters in the zone (replace vmware with your hypervisor name e.g Xen, KVM). Workjed just fine. Please test it in the Lab first. update storage_pool set scope=’ ZONE’,

Re: [VOTE] Retirement of midonet plugin

2017-03-28 Thread Sergey Levitskiy
+1

Re: ACS 4.9.2 with VMware 5.5

2017-03-15 Thread Sergey Levitskiy
Thank you Cristian -Original Message- From: Sergey Levitskiy [mailto:sergey.levits...@autodesk.com] Sent: Wednesday, March 15, 2017 5:35 PM To: users@cloudstack.apache.org Subject: Re: ACS 4.9.2 with VMware 5.5 Can you extract full test of exception for m

Re: Cloudstack Vmware NSX Integration

2017-03-13 Thread Sergey Levitskiy
NSX MH is supported up to version 4.2.X for both shared an isolated networking. The plugin only supports virtual networking, static and source NAT as well port forwarding over STT. No other services are supported and little new development is happening with NSX plugin. Also as per NSX 4.2 only

Re: VM in incorrect state

2017-02-14 Thread Sergey Levitskiy
I saw something like this when VM ‘lost’ a NIC somehow. Can you check if there is at least one NIC assigned to the VM? Fix was to restore NIC record for that VM in the DB. Another option (if VM is slated for destruction) is just to change VM state to ‘Destroyed’ and garbage collector thread

Re: Adding new host with VMware hypervisor

2017-02-10 Thread Sergey Levitskiy
With vmware clusters the behavior is the following: 1. When a new cluster is added all ESX hosts in the cluster are automatically discovered and added to ACS with no host tag. If a tag is needed it needs to be added to each host individually 2. To add an additional host to a cluster a. Add host

Re: Adding new host with VMware hypervisor

2017-02-09 Thread Sergey Levitskiy
All should work after the addition without any further changes.

Re: unable to take the Database dump

2017-02-03 Thread Sergey Levitskiy
You pretty much OK with the mysqldump options you use. ACS doesn't use MySQL events or triggers so you should be good with all-databases flag.

Re: unable to take the Database dump

2017-02-03 Thread Sergey Levitskiy
Easiest way to first create cloud user at the destination server and then import the backup GRANT ALL ON cloud.* to cloud@`localhost` identified by 'complex_password '; GRANT ALL ON cloud.* to cloud@`%` identified by 'complex_password'; GRANT ALL ON cloud_usage.* to cloud@`localhost`; GRANT ALL

Re: Volume migration unable to serialize

2016-12-01 Thread Sergey Levitskiy
You need to adjust this threshold job.cancel.threshold.minutes Thanks, Sergey

Re: Error when create template Cloudstack 4.8 windows/xen

2016-12-01 Thread Sergey Levitskiy
Looks like you have intermittent DB communication issue. Is the issue reproducible every time you create a template? Do you have DB server behind firewall or on a different network? ... 58 more Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link

Re: Disaster Recovery - VM- Cloudstack

2016-11-28 Thread Sergey Levitskiy
If you use VMware as a hypervisor then it is easily integrated with 3-d party solutions like Veeam and Commvault. Veeam supports backup based on VM tag so defining a tag for VM/template in ACS will automatically sign up a VM for the backup policy. Restore over existing VM is not a problem. The

Re: Fault percentage value of CPU usage in Cloud Platform

2016-11-27 Thread Sergey Levitskiy
First of all, if you don’t have support for CCP you need to strongly consider migrating to ACP. This community doesn’t have access to CCP code so we have very limited way to assist you. In any case looking at the log you provided it seems you have 2 cluster: one (cluster id =5) that crossed

Re: Basic and Advanced Zone

2016-11-25 Thread Sergey Levitskiy
Unfortunately, this is not good enough. You need to keep all log entries in the interval when VM was being deployed. You can simply archive and post link to you full log and indicate timeframe the failure happened.

Re: Instance migration

2016-11-23 Thread Sergey Levitskiy
I might be incorrect stating KVM live migration is not supported. Per 4.9 admin guide it is. There are some limitations but go ahead and try. http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/virtual_machines.html#moving-vms-between-hosts-manual-live-migration

Re: Instance migration

2016-11-23 Thread Sergey Levitskiy
Live MV migration is supported on Xen and Vmware hypervisors. PR1709 is open to support live migration with KVM but it is not merged. What hypervisor do you use?

Re: Basic and Advanced Zone

2016-11-23 Thread Sergey Levitskiy
You log is not complete. Can you extract the log that covers full period of job execution and publish it?

Re: Snapshot fails on manually expanded volume

2016-11-15 Thread Sergey Levitskiy
We run 100% on vmware so I just try few guesses. On vmware volume resize is allowed only for full clones so if you run Xen with link clones this might cause volume corruption. From mgmt. server log it looks like the Xen task to take an intermediate VM snapshot fails so may be you can try to

Re: SSVM NFS Access Denied Problems

2016-11-12 Thread Sergey Levitskiy
Export NFS share so that root can mount it. Also you can try manually mount it from management server and see if you can write to it Sent from my iPhone > On Nov 12, 2016, at 10:54 AM, Asai wrote: > > Greetings, > > Going a little nuts here. I've been attempting

Re: Unable to start management

2016-11-10 Thread Sergey Levitskiy
Can you zip and post full management server log? Can you run cloudstack-sccs and post the value reported? Looks like upgrade procedure doesn’t correctly determine your version because schema-40to410.sql shouldn’t get executed during upgrade from 4.6 to 4.9

Re: Unable to start management

2016-11-10 Thread Sergey Levitskiy
What version are you upgrading from ? On 11/10/16, 6:26 PM, "Abdul Qayyum Halid" wrote: Hi, I am having problem to start CS management. The error show unable to upgrade databases. MySQL version 5.7, CS 4.9. Any solution? Below are the error.Thank you

Re: Create VM's with 2 cores 2sockets

2016-11-07 Thread Sergey Levitskiy
I believe you don’t need to do anything on hypervisor part any more. On VMware it works as described below and should work the same for other hypervisors. You can configure it on per VM or per template level by inserting the following configuration into user_vm_details or vm_template_details

Re: Long delay in listDomains API response

2016-11-06 Thread Sergey Levitskiy
oxusercontent.com/u/24788636/ctx-3f3ff343.txt >>> >>> It seems there are a lot of unnecessary creating and closing of >>> connections to the DB, causing the delay? >>> >>> Looking forward to your reply, thank you. >>> >>

Re: Long delay in listDomains API response

2016-11-06 Thread Sergey Levitskiy
vm_instance.pod_id, vm_instance.private_mac_address, > vm_instance.data_center_id, vm_instance.vm_type, vm_instance.ha_enabled, > vm_instance.display_vm, vm_instance.limit_cpu_use, > vm_instance.update_count, vm_instance.created, vm_instance.removed, > vm_inst

Re: Long delay in listDomains API response

2016-11-05 Thread Sergey Levitskiy
es the c.c.a stands for -- how do I check that? So I can put the correct full name of the class category on /etc/cloudstack/management/log4j-cloud.xml. Looking forward to your reply, thank you. Cheers. On Sun, Nov 6, 2016 at 5:50 AM, Sergey Levitskiy <

Re: Long delay in listDomains API response

2016-11-05 Thread Sergey Levitskiy
You will probably need to enable TRACE logging and see what SQL query took long time to execute. On 11/5/16, 1:21 PM, "Cloud List" wrote: Hi, We have upgraded ACS from 4.2 to 4.8.1.1. We noted that a "listDomains" API call from our billing system took 21

Re: Good backup solutions for Cloudstack

2016-11-02 Thread Sergey Levitskiy
Veeam works OK for VMware based implementations. You can tag VMs and based on vsphere tag Veeam will automatically pick them up for the backup processing. On 11/2/16, 4:21 PM, "Asai" wrote: Hello, Can anyone recommend a good backup solution for a

Re: Error while decrypting after reinstall mgmt server

2016-10-18 Thread Sergey Levitskiy
Actually both file /etc/cloudstack/management/key as well as value of db.cloud.encrypt.secret= from /etc/cloudstack/management/db.properties are used in different areas. If you changed any of them from default it means certain values in DB are encrypted and key is lost One option is

Re: replace secondary storage

2016-10-14 Thread Sergey Levitskiy
Easiest way is rsync the whole folder structure to new secondary storage, then change the URL of SS in image_store table, and then restart all SSVMs, proxies and vrouters in this zone Sent from my iPhone

Re: Public Templates

2016-10-14 Thread Sergey Levitskiy
Public and featured attribute doesn't affect template lifecycle. In short a template will reside on a secondary storage until explicitly deleted. Sent from my iPhone

Re: Adding an ISO to Cloudstack but missing download ISO button

2016-10-10 Thread Sergey Levitskiy
You need to check route from SSVM to the website hosting the ISO over ACS public network. SSH to SSVM using instructions here http://stackoverflow.com/questions/19812463/how-to-ssh-into-cloudstack-ssvm-through-public-ip-address and try to: 1. Check name resolution 2. Check basic connectivity

Re: HA-enabled VM

2016-10-08 Thread Sergey Levitskiy
is null and do.name = 'X' On 10/8/16, 7:19 AM, "Gian Paolo Buono" <gianpaolo.bu...@gesca.it> wrote: I've tried it but not work..any other suggestions? bye On 10/07/2016 02:46 PM, Sergey Levitskiy wrote: You can find all service offerings used by tho

Re: HA-enabled VM

2016-10-07 Thread Sergey Levitskiy
You can find all service offerings used by those VM and change in service_offereing table a field ha_enabled to ’1’. After that Stop/Start VMs should make them HA. On 10/7/16, 5:40 AM, "Gian Paolo Buono" wrote: Thanks Boris, It works.. The problem is

Re: Implicit dedication vs Explicit dedication

2016-10-05 Thread Sergey Levitskiy
To do so you can use a specific service offerring. Sent from my iPhone > On Oct 5, 2016, at 7:14 AM, cs user wrote: > > Hi Rafael, > > Thanks for responding. It is possible to force them to only be able to use > that pod however? > > So that when the create a machine,

Re: CloudStack Anti-Affinity

2016-10-04 Thread Sergey Levitskiy
Hi Ilya, We tried it once. If I am not mistaken it is strict. The job will be accepted but end up in error. Thanks, Sergey On 10/4/16, 3:43 PM, "ilya" wrote: I'm curious if anyone uses Anti-Affinity and how restrictive is it? Meaning what happens if

Re: Issue with template

2016-09-21 Thread Sergey Levitskiy
With centos 6 you need to remove line for respective interface from /etc/udev/rules.d/70-persistent-net.rules Centos/rhel6 auto detects interface and creates a rules to associate a particular MAC address with interface name. To creating clones from template you need to generalize setup so that

Re: How to: Snapshot

2016-09-19 Thread Sergey Levitskiy
). Any idea why? -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Tuesday, September 20, 2016 12:07 PM To: users@cloudstack.apache.org Subject: RE: How to: Snapshot Thanks, Sergey. Much help. -Original Message-

Re: How to: Snapshot

2016-09-19 Thread Sergey Levitskiy
You might need to change global setting kvm.snapshot.enabled to True On 9/19/16, 8:57 PM, "Mohd Zainal Abidin Rabani" wrote: After stopping a instance/VM's, there are no icon for snapshot also (refer link: https://postimg.org/image/3lthssprd/). There can only do

Re: No suitable hosts found (ACS 4.5.2 Advanced )

2016-09-19 Thread Sergey Levitskiy
Your allocator works fine. The problem is that your SSVM can’t import OVA into vcenter or it can’t download OVA from URL ‘http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.ova’ Check if SSVM can communicate to vcenter over TCP/443. Check if there is an error in vcenter when you submit

Re: ACS 4.9 Basic Networking on XEN 6.5 - Cannot create instances anymore

2016-09-18 Thread Sergey Levitskiy
It seems the allocator can't find any hosts with enough capacity. Check if all your hosts are in green state , host tag in service offering matches tags of your hosts and if you have enough free capacity. 2016-09-18 14:55:37,279 DEBUG [c.c.d.DeploymentPlanningManagerImpl]

Re: configdrive in ACS

2016-09-11 Thread Sergey Levitskiy
ACS uses a different system than configdrive. Userdata and metadata is saved on a vrouter and can be queried from the instance with basic HTTP call. It is very similar to AWS. To save userdata you would use deployVirtualMachine or updateVirtualMachine call Use this guide for details how format

Re: Templates inside Primary storage

2016-09-06 Thread Sergey Levitskiy
Templates get deleted from primary storage during the storage cleanup activity. There are few global settings that manages cleanup: storage.cleanup.enabled storage.cleanup.interval storage.template.cleanup.enabled Actual deletion of the template copy on PS happens on 2d cleanup thread run. One

Re: Management Server can't start after upgrade to 4.9.0

2016-08-22 Thread Sergey Levitskiy
This issue should get fixed in 4.10 https://github.com/apache/cloudstack/pull/1621 On 8/22/16, 6:51 AM, "Jan Siml" wrote: Hello, I have noticed the following error in db.properties after upgrade:

Re: ACS 4.5.2 - VMware 5.5 VM migration

2016-07-27 Thread Sergey Levitskiy
Migration from host to host only make sense if VM is in running state. In VMware based infra you need to have vmotion working properly for ACS to be able to migrate running VM Thanks Sergey Sent from my iPhone > On Jul 27, 2016, at 5:30 AM, Cristian Ciobanu > wrote: