SlideShare uma empresa Scribd logo
1 de 68
Baixar para ler offline
The Cloud Specialists
Cloudstack - Top 5
technical issues and
troubleshooting
Looking at cloudstack thru the prism of support tickets.
C l i c k t o e d i t
The Cloud
Specialists
ShapeBlue.com @ShapeBlue
A b h i n a n d a n P r a t e e k
Software Architect @ Shapeblue
Tinkering with cloudstack since 2011
Based out of Hyderabad, India
Apache cloudstack committer since 2012
aprateek@apache.org
abhinandan.prateek@shapeblue.com
Charminar - 1591
18m high monolithic Buddha statue
C l i c k t o e d i t
The Cloud
Specialists ShapeBlue.com @ShapeBlue
“ShapeBlue are expert builders of public
& private clouds. They are the leading
global CloudStack services company.”
A b o u t S h a p e B l u e
C l i c k t o e d i t
The Cloud
Specialists
ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud
Specialists
ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud
Specialists
ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
The Cloud Specialists
Amongst other things, we provide 2nd to 4th line remote
support of the entire Cloudstack Infrastructure.
We have helped build some of the biggest cloudstack
deployments.
We regularly work round the clock with enterprises around
the world trouble-shooting live, production environments.
What do we do ?
The Cloud Specialists
Variety is the spice of life.
Mix of Hypervisor mainly using advanced networking.
Customer environments vary from 2500 hypervisor hosts to 4
hypervisor hosts.
What kind of deployments do we manage ?
Have been dealing with VMWare, Xenserver and KVM mainly
The Cloud Specialists
Analysed  698 support tickets (across 36 months) and divided them
into specific areas like VR, storage, timeouts, agent and database.
Support tickets were divided into areas covering cloudstack
components like storage, networking or hypervisors.
Added the issues that were dependant on environment, external
hardware or obvious user errors under misc.
Cloudstack is overall very reliable, used by many large service providers and enterprise
customers.
(70% of our customers are cloud service provider, 30% enterprise)
How I arrived at top 5 issues ?
The Cloud Specialists
Support %
Virtual Router
Storage
Misc
Upgrade
Timeouts
Hypervisor
Offering
0 10 20 30 40
Service tickets by logical areas
Thus after doing an analysis of such support issues, 5 areas
were picked up for deep dive.
The Cloud Specialists
Virtual router - Entangled cables
Storage - Storage tsunami
Timeouts - Database & Cloudstack-timers
Service offering - Possibilities for upgrading
Hypervisor - Operations
5-Top cloudstack areas to understand and troubleshoot
The Cloud Specialists
Virtual Router - Tangled cables
Problems with VR are one of
the most frequently reported
set of issue.
My VR does not
start
My network does
not behave as I
want it to
The Cloud Specialists
Virtual Router Issues
My VR does not
start
Look at each step in
VR orchestration to
narrow down on
issue.
Do a network
restart with
cleanup
My network does not
behave as I want it to
What service is
not working
Access VR to
Troubleshoot service
DHCP
DNS
NAT
LB
VPN
Password
The Cloud Specialists
VR Orchestration
SecondaryStorage
1. Seed or upload template
VR
systemvm.iso
5. /etc/init.d/cloud-early-config < boot-args + systemvm.iso
Cloudstack
Hypervisor
3.Deploy System VM + boot-args
2.Copy template to Primary
4.Mount systemvm.iso
systemvm.default.hypervisor
router.template.xenserver
6.cloud-early-config initialises router specific services like haproxy and dnsmasq
Steps in virtual router VM deployment
The Cloud Specialists
VR Orchestration
Cloudstack
VR
systemvm.iso
KVM
KVM-Agent
VMWare
vcenter
Xenserver
xapi
shell
ssh script name and params router_proxy.sh
proxies the
command and
parameters
to VR
Send the command
to KVM Agent
Configuring rules
The Cloud Specialists
VR Troubleshooting
Xenserver
xapi
shellVR
GUEST
eth0
vlan 778
10.1.1.1
CONTROL
eth1
169.254.3.116
PUBLIC
eth2
vlan 7
10.1.34.223 ssh -p 3922 -i /root/.ssh/id_rsa.cloud root@169.254.3.116
Router details are found on MS UI:
Home > Infrastructure > Virtual Routers > r-4-VM
The Cloud Specialists
VR Troubleshooting
iptables to check the firewall settings on VR
The Cloud Specialists
VR Troubleshooting
watch -n1 -d "iptables -vnxL -t nat | grep -v -e pkts -e Chain | sort -nk1 | tac | column -t"
The Cloud Specialists
VR Troubleshooting
port: for scanning specific port
-i: for a particular interface
-c: for specific packet count
-A: to print output in ASCII
tcpdump port 3922 -i eth1 -c 10 -A
The Cloud Specialists
VR Troubleshooting
Q&A
The Cloud Specialists
Virtual router - Entangled cables
Storage - Storage tsunami
Timeouts - Database & Cloudstack-timers
Service offering - Possibilities for upgrading
Hypervisor - Operations
5-Top cloudstack areas to understand and troubleshoot
The Cloud Specialists
Secondary Storage - Tsunami
My storage is full !
Storage 99% used
Storage not found
Copy operation not working !
The volume download fails with "Failed to copy the volume from the
source primary storage pool to secondary storage.
Cloudstack fails in migrating root volume from one
Primary storage to another for a specific VM.
Primary
SSVM
Secondary
OR
The Cloud Specialists
Storage Issues ?
Having issues with
template download ?
Having issues with
volume extraction ?
Host getting fenced due
to unreachable storage ?
Storage is Full ?
Having issues
with snapshot chain ?
Snapshot backup
problems ?
Primary StorageSecondary Storage (SSVM)
SSVM not running ?
Host getting rebooted as a
result of fencing the VM ?
The Cloud Specialists
Storage: Primary and Secondary
Make sure the ssvm is running and working fine.
Backup Snapshots
Copy Template
Download Template
Upload Volume
SSVM
Templates
Volumes
Snapshots
The Cloud Specialists
Secondary storage troubleshooting
1. Login: ssh -i /root/.ssh/id_rsa -p 3922 root@169.254.3.178
SSVM
GUEST
eth1
10.2.6.32
CONTROL
eth0
169.254.3.178
PUBLIC
eth2
10.1.34.221
STORAGE
eth3
10.3.34.221
The Cloud Specialists
Secondary storage troubleshooting
2. Run: /usr/local/cloud/systemvm/ssvm-check.sh
SSVM Health Check Checks
following:
• Connectivity with  DNS server
• Resolving of  domain names
• Status of secondary storage
• Ability to write to secondary
storage
• Connectivity with management
server at port 8250
• Status of java process.
The Cloud Specialists
Secondary Storage - Tsunami
My storage is full !
Storage 99% used-EMERGENCY
Storage not found -EMERGENCIA
Copy operation not working !
The volume download fails with "Failed to copy the volume from the
source primary storage pool to secondary storage.”
Cloudstack fails in migrating root volume from one
Primary storage to another for a specific VM.
Primary
SSVM
Secondary
OR
The Cloud Specialists
Secondary Storage Full ?
Snapshots not getting cleared up !
This could happen if snapshot chain gets
broken, resulting in exception in MS logs
Xenserver
xapi
shell
Do these Global Settings have anything to do with this issue:
1. storage.cleanup.interval: The interval (in seconds) to wait before running the storage
cleanup thread. (Default: 86400)
2. storage.cleanup.enabled: Enables/disables the storage cleanup thread (Default: true)
3. storage.template.cleanup.enabled: Enable/disable template cleanup activity, only take
effect when overall storage cleanup is enabled (Default: true)
The Cloud Specialists
Volumes are physically deleted from the storage device by the
garbage collection process which runs based on the following global
settings:
1. expunge.delay: determines how old the volume must be before it is destroyed, in seconds
(Default: 86400)
2. expunge.interval: determines how often to run the garbage collection check (Default: 86400)
Secondary Storage Full ?
Storage is really full ?
Cleanup required ? Migrate to bigger nfs
The Cloud Specialists
Secondary Storage Cleanup
For secondary storage cleanup you need to determine the items that
are no longer in use or obsolete.
For that you need to understand the mapping from cloud db to
hypervisor resources
image_store
snapshot_store_ref
volume_store_ref
template_store_ref
SSVM
The Cloud Specialists
MariaDB [cloud]> select id, store_id, physical_size, install_path from template_store_ref;
+----+----------+---------------+------------------------------------------------------------+
| id | store_id | physical_size | install_path |
+----+----------+---------------+------------------------------------------------------------+
| 4 | 1 | 356694016 | template/tmpl/1/8/77c47de2-e745-4618-a7ad-786d0c5f71e2.ova |
| 7 | 1 | 459320832 | template/tmpl/1/7/ed62b12f-5d01-3469-8ac4-3d42c4d3fdcb.ova |
+----+----------+---------------+------------------------------------------------------------+
Secondary Storage - VmWare
The Cloud Specialists
mysql> select id, store_id, physical_size, install_path from template_store_ref;
+----+----------+---------------+----------------------------------------------------------------+
| id | store_id | physical_size | install_path |
+----+----------+---------------+----------------------------------------------------------------+
| 5 | 1 | 348726272 | template/tmpl/1/3/d2e7529a-e7b3-4ce3-9ff9-ff6771970460.qcow2 |
| 9 | 1 | 1769537536 | template/tmpl/1/4/374b86cf-e6d8-322f-ab2b-bd75629f2269.qcow2 |
| 10 | 1 | 1769537536 | template/tmpl/1/4/374b86cf-e6d8-322f-ab2b-bd75629f2269.qcow2 |
| 11 | 1 | 42401792 | template/tmpl/2/201/deafd531-39ec-3bb3-9dc0-9de6a21d76ae.qcow2 |
+----+----------+---------------+----------------------------------------------------------------+
./template/tmpl/1/3:
total 340564
-rw-r--r--. 1 502 games 348726272 Apr 6 07:12 d2e7529a-e7b3-4ce3-9ff9-ff6771970460.qcow2
-rw-r--r--. 1 root root 295 Apr 6 07:12 template.properties
./template/tmpl/1/4:
total 1728072
-rw-rw-rw-. 1 root root 1769537536 Apr 6 12:33 374b86cf-e6d8-322f-ab2b-bd75629f2269.qcow2
-rw-rw-rw-. 1 root root 383 Apr 6 12:33 template.properties
Secondary Storage - KVM
MariaDB [cloud]> select id, store_id, physical_size, install_path from snapshot_store_ref where store_role='Image';
+----+----------+---------------+----------------------------------------------------+
| id | store_id | physical_size | install_path |
+----+----------+---------------+----------------------------------------------------+
| 2 | 1 | 5120 | snapshots/2/4/a826b905-ec0a-4e6b-9c84-fe5d75c778ff |
| 4 | 1 | 0 | snapshots/2/4/a826b905-ec0a-4e6b-9c84-fe5d75c778ff |
| 6 | 1 | 62349312 | snapshots/2/3/f23e4d9b-54b3-4123-b94b-3d792ab102d9 |
+----+----------+---------------+----------------------------------------------------+
./snapshots/2/3:
total 2080832
-rw-r--r--. 1 root root 1910075904 Apr 13 06:11 f23e4d9b-54b3-4123-b94b-3d792ab102d9.vhd
./snapshots/2/4:
total 8
-rw-r--r--. 1 root root 5120 Mar 28 08:13 a826b905-ec0a-4e6b-9c84-fe5d75c778ff.vhd
Secondary Storage - Xen
The Cloud Specialists
Secondary Storage - Tsunami
My storage is full !
Storage 99% used-EMERGENCY
Storage not found -EMERGENCIA
Copy operation not working !
The volume download fails with "Failed to copy the volume from the
source primary storage pool to secondary storage.” #1250
Cloudstack fails in migrating root volume from one
Primary storage to another for a specific VM. #1253
Primary
SSVM
Secondary
OR
The Cloud Specialists
Primary Storage cleanup
storage_pool
volumes
snapshot_store_ref
(store_role=‘Primary’)
template_spool_ref
The Cloud Specialists
Primary Storage - VmWare: Templates
MariaDB [cloud]> select id, template_id, local_path, install_path, template_size from template_spool_ref;
+----+-------------+----------------------------------+----------------------------------+---------------+
| id | template_id | local_path | install_path | template_size |
+----+-------------+----------------------------------+----------------------------------+---------------+
| 1 | 8 | c0eb37bf6b0f33838136690e7392c2b9 | c0eb37bf6b0f33838136690e7392c2b9 | 3355443200 |
| 2 | 7 | d47ad1c0460a38f7a76aec0a7e13e0dd | d47ad1c0460a38f7a76aec0a7e13e0dd | 2147483648 |
+----+-------------+----------------------------------+----------------------------------+---------------+
The Cloud Specialists
{"diskDeviceBusName":"scsi0:0","diskChain":
["[bed11a1d766d3379abaacb095ada87b2] v-2-VM/
ROOT-2.vmdk","[bed11a1d766d3379abaacb095ada87b2]
bd06d56dfc1b3b138f5b905512d24758/
bd06d56dfc1b3b138f5b905512d24758.vmdk"]}
chain_info
Primary Storage - VmWare: Volumes
VMWare
MariaDB [cloud]> select id, pool_id, uuid, path, chain_info from volumes where id=4;
+----+---------+--------------------------------------+-----------------------------------------
+-----------------------------------------------------------------------------------------------------------------------------------+
| id | pool_id | uuid | path | chain_info
+----+---------+--------------------------------------+-----------------------------------------
+-----------------------------------------------------------------------------------------------------------------------------------+
| 4 | 1 | a98abbbd-6316-4ae3-bd96-4b4e964acb6a | f80047d8ed2047698a65c64148f0afd0-000001 | {"diskDeviceBusName":"scsi0:0","diskChain":
["[8706d6c6c36336de9bd22309614d4539] i-2-3-VM/f80047d8ed2047698a65c64148f0afd0.vmdk"]} |
+----+---------+--------------------------------------+-----------------------------------------
+-----------------------------------------------------------------------------------------------------------------------------------+
The Cloud Specialists
Primary Storage - Xen: Volumes
path 257349e2-f17f-418b-8723-3d7ca38f32a2
Xenserver
MariaDB [cloud]> select id, pool_id, uuid, path, chain_info from volumes;
+----+---------+--------------------------------------+--------------------------------------+------------+
| id | pool_id | uuid | path | chain_info |
+----+---------+--------------------------------------+--------------------------------------+------------+
| 1 | 1 | 11120026-1b78-40a5-b069-2136b7fe732d | ee0325d2-ce78-4cd5-91ad-77fc7a2559e1 | NULL |
| 2 | 1 | 8a1ddc27-3e5c-4752-a954-19625974a06b | 05f25060-1b43-417e-a40d-7bef70d0a6d3 | NULL |
| 3 | 1 | 19258a34-423d-4af7-9841-9a8fac53b740 | a4c464f5-7f63-4bcf-8892-c905c5ed1421 | NULL |
| 4 | 1 | 9b8fb523-5801-4e9e-9627-a285631b9f21 | cbd8fb97-190d-4908-97f1-e9b648146eaa | NULL |
| 5 | 1 | 5d243174-b619-474e-a3d6-861dc8ac4b14 | e4a56fd8-8541-4f62-ad73-7306bb5a46c3 | NULL |
| 6 | 1 | 836eab1c-8ce8-4667-9397-ee15c5b4e913 | 257349e2-f17f-418b-8723-3d7ca38f32a2 | NULL |
| 7 | 1 | fa3bcb33-733d-4e41-a6de-f66c53c03ff8 | c29fc222-db17-40b7-b52c-6bd456d29abf | NULL |
+----+---------+--------------------------------------+--------------------------------------+------------+
The Cloud Specialists
Primary Storage - KVM: Volumes
uuid/path 965dd6fc-cac9-4b88-a51d-ba4da2492cf0
KVM
mysql> select id, pool_id, uuid, path, chain_info from volumes;
+----+---------+--------------------------------------+--------------------------------------+------------+
| id | pool_id | uuid | path | chain_info |
+----+---------+--------------------------------------+--------------------------------------+------------+
| 1 | 2 | 965dd6fc-cac9-4b88-a51d-ba4da2492cf0 | 965dd6fc-cac9-4b88-a51d-ba4da2492cf0 | NULL |
| 2 | 2 | 79f1fafd-8d38-4f29-b131-f579aabc4074 | 79f1fafd-8d38-4f29-b131-f579aabc4074 | NULL |
| 3 | 2 | 46f67a9f-e9b5-4141-b5f0-498bde561d58 | 46f67a9f-e9b5-4141-b5f0-498bde561d58 | NULL |
| 4 | 2 | a61e4a71-d390-4e9d-b466-6639c639ff4a | a61e4a71-d390-4e9d-b466-6639c639ff4a | NULL |
| 5 | 2 | 77d63269-777a-4e5f-be22-bd50423e7f1d | 77d63269-777a-4e5f-be22-bd50423e7f1d | NULL |
| 6 | 2 | cf3109e2-5e91-4a4e-b16d-60260f6648b7 | cf3109e2-5e91-4a4e-b16d-60260f6648b7 | NULL |
| 7 | 2 | 518de120-7bcc-4cb4-b30a-d0e25c0dac4b | 518de120-7bcc-4cb4-b30a-d0e25c0dac4b | NULL |
| 8 | 2 | 2a0fe13f-99c8-47eb-8405-c4ec17ee05cd | 2a0fe13f-99c8-47eb-8405-c4ec17ee05cd | NULL |
| 9 | 2 | 85df35c4-c3b2-455c-afcc-0d91f6f6a6d4 | 85df35c4-c3b2-455c-afcc-0d91f6f6a6d4 | NULL |
| 10 | 2 | ad826d7c-aad6-4ff1-ba0c-a1cb0b7fe77a | ad826d7c-aad6-4ff1-ba0c-a1cb0b7fe77a | NULL |
+----+---------+--------------------------------------+--------------------------------------+------------+
-rw-r--r--. 1 root root 2347696128 Apr 7 17:58 2a0fe13f-99c8-47eb-8405-c4ec17ee05cd
-rw-r--r--. 1 root root 27197440 Apr 12 14:56 518de120-7bcc-4cb4-b30a-d0e25c0dac4b
-rw-r--r--. 1 root root 181272576 Apr 12 14:57 79f1fafd-8d38-4f29-b131-f579aabc4074
-rw-r--r--. 1 root root 498991104 Apr 7 17:58 85df35c4-c3b2-455c-afcc-0d91f6f6a6d4
-rw-r--r--. 1 root root 193200128 Apr 12 14:57 965dd6fc-cac9-4b88-a51d-ba4da2492cf0
-rw-r--r--. 1 root root 197120 Apr 6 12:41 a61e4a71-d390-4e9d-b466-6639c639ff4a
-rw-r--r--. 1 root root 15335424 Apr 6 13:20 ad826d7c-aad6-4ff1-ba0c-a1cb0b7fe77a
The Cloud Specialists
Prevent Storage Issues
Periodically check if the storage has enough space.
Keep a check on snapshot chain sizes.
Keep a check on spurious object that do not have any
reference on cloudstack db. Cleanup such objects
periodically.
File bugs for issues that you encounter.
The Cloud Specialists
We looked at how the secondary storage and primary
storage are organized in cloudstack.
We know what each is responsible for.
We checked how the object mapping from the management
server to back end storage works like.
We also looked at maintaining storage in case it becomes full.
Concluding storage troubleshooting
The Cloud Specialists
Virtual router - Entangled cables
Storage - Storage nuances
Timeouts - Database & Cloudstack-timers
Service offering - Possibilities for upgrading
Hypervisor - Operations
5-Top cloudstack areas to understand and troubleshoot
The Cloud Specialists
Timeouts
Timeout issues are one broad area covering various components.
Here we will look at some typical timeouts that occur the most in
cloudstack and then look at ways to resolve them.
A timeout is detected by error messages logged in the MS logs
here: /var/log/cloudstack/management/management-server.log
KVM the virtual router commands are timing out, resulting in MS shutting down the VR !
Snapshot failure ! In the logs it says that MS tried for ‘wait’ timeout.
Snapshot completes on Hypervisor after 6 hours, but MS logs show DB timeout
The Cloud Specialists
• The timeout can happen due to cloudstack aborting an operation
that is taking longer than expected.
• A timeout can also happen because one of the cloudstack
component failed to respond in time, like the agent or Hypervisor.
A timeout can happen due to external timeout conditions like a
database connection timeout or ssh script execution timeout.
Timeout
Management Server Timeout
External Timeouts
The Cloud Specialists
Cloudstack Timeouts
Check the logs and try to determine what
kind of timeout it is ?
A timeout could point to problems with cloudstack subsystem
If it is a cloudstack timeout then tweak the corresponding
global timeout parameter value and restart cloudstack.
Snapshot VM Migration CopyVolume
The Cloud Specialists
Cloudstack Timeouts
Snapshot Migrate CopyVolume
wait
Time in seconds to wait for control
commands to return, 3600
backup.snapshot.wait
In second, timeout for
BackupSnapshotCommand, 3600
migratewait
Time (in seconds) to wait for
VM migrate finish, 1200
copy.volume.wait
In second, timeout for
copy volume command 1200
The Cloud Specialists
KVM Agent - timeouts
A generic timeout configured for ‘almost’ all the agent commands,
showing weird behaviour sometime.
‘OperationTimedOut’
Cloudstack
KVM
KVM-Agent
Send the command
to KVM Agent
Agent Response
KVM the virtual router commands are timing out, resulting in MS shutting down the VR !
The Cloud Specialists
KVM Agent Timeouts
The timeout values changed in MS global config are not propagated to
KVM agents automatically.
Many times this result in failure to apply config to VR as the
aggregated commands timeout.
This timeout setting is governed by
router.aggregation.command.each.timeout global setting.
To make this or any other global setting effective on KVM agent you
need to add this to /etc/cloudstack/agent/agent.properties file.
We have a virtual router starting on KVM, after few seconds of start it is shutdown by
cloudstack.
The Cloud Specialists
Database - timeouts
Cloudstack
Xenserver
xapi
shell
1. Get connection from pool
2. Start long winded resource action
3. MySql expires the connection
4. Even though the action finished properly,
cloudstack rolled back the transaction on
completion
Even though the snapshot operation succeed on Xenserver, cloudstack rolls back the transaction
on completion, thereby failing it.
The Cloud Specialists
mysql> show variables;
+-----------------------------------------
+-------------------------------------------------------------------------------------------+
| Variable_name | Value
|
| interactive_timeout | 28800
|
| wait_timeout | 28800
|
mysql> SET interactive_timeout=36000;
Query OK, 0 rows affected (0.01 sec)
interactive_timeout : interactive time out for mysql shell sessions in seconds like mysqldump or
mysql command line tools.
wait_timeout” : the amount of seconds during inactivity that MySQL will wait before it will close
a connection on a non-interactive connection in seconds.
**Fixed in 4.9 where connection will get refreshed if found dead.
Database - timeouts
The Cloud Specialists
Virtual router - Entangled cables
Storage - Storage nuances
Timeouts - Database & Cloudstack-timers
Service offering - Possibilities for upgrading
Agent - Operations
5-Top cloudstack areas to understand and troubleshoot
The Cloud Specialists
How do I migrate a machine service offering from an offering with tags to an offering without,
I get this error …
RAM
TAGS
CPU
RATE
Hypervisor
tag1
Deployment
Planner
Service Offering
A service offering defines a set of virtual hardware features that will
be assigned to a virtual machine.
Storage Tags: These tags are associated with primary storage.
Host tags: Tags associated with hosts.
Compute and Disk Service Offering - Tags
Service offering
provides a way to
measure usage.
The Cloud Specialists
Compute and Disk Service Offering - Tags
This set of error has to do with pinning the virtual machine
to a particular set of resources.
You may want to do it to provide premium services to high
paying customers.
At some point you or your customer decides that the VM
needs to be moved to different set of resources.
What are the options at this point ?
The Cloud Specialists
Compute and Disk Service Offering - Tags
hdd
ssd
blue
Compute Offering
Name
Desc
Size
…
Host Tags: hdd
Post CS 4.7: Change Offering
Pre CS 4.7: Change Offering
Ideally both ways should be allowed !
Compute Offering
Name
Desc
Size
…
Host Tags: hdd, ssd
Compute Offering
Name
Desc
Size
…
Host Tags:
Tags - confused compatibility !
The Cloud Specialists
Compute and Disk Service Offering - Tags
How do I migrate a machine service
offering from an offering with tags to
an offering without, I get this error >
“if our current compute offering is associated with tags (x,y) then the new compute offering
should have tags atleast (x,y), then only it can have the same functionality as the current one.
Suppose the new offering has the only tag(x), then it is missing the functionality associated
with tag(y)….”
How DevOps sees it:
How Software engineer sees it:
The Cloud Specialists
Compute and Disk Service Offering - Tags
MariaDB [cloud]> select id, cpu, speed, ram_size, host_tag, deployment_planner from
service_offering where id=17;
+----+------+-------+----------+----------+--------------------+
| id | cpu | speed | ram_size | host_tag | deployment_planner |
+----+------+-------+----------+----------+--------------------+
| 17 | 2 | 1024 | 512 | htx, hty | FirstFitPlanner |
+----+------+-------+----------+----------+--------------------+
MariaDB [cloud]> select id, name, display_text, tags from disk_offering where id=17;
+----+--------------+-------------------+----------+
| id | name | display_text | tags |
+----+--------------+-------------------+----------+
| 17 | CCC Offering | CCC Demo Offering | stx,,sty |
+----+--------------+-------------------+----------+
Don’t Update the tags in database for existing offerings !
Their might be many VMs associated with them.
MariaDB [cloud]> select id, name, state, service_offering_id, disk_offering_id from vm_instance where id=6;
+----+-----------+---------+---------------------+------------------+
| id | name | state | service_offering_id | disk_offering_id |
+----+-----------+---------+---------------------+------------------+
| 6 | vmdiskone | Running | 1 | 6 |
+----+-----------+---------+---------------------+------------------+
Instead create a new service offering and update the
vm_instance table to upgrade the VMs to this new offering.
The Cloud Specialists
Virtual router - Entangled cables
Storage - Storage nuances
Timeouts - Database & Cloudstack-timers
Service offering - Possibilities for upgrading
Hypervisor - Operations
5-Top cloudstack areas to understand and troubleshoot
The Cloud Specialists
Hypervisor Issues
KVM agent connection blowing up !
Xenserver snapshots failing as the chain is too long !
VMWare worker VM to create snapshots are not getting cleared up !
KVM the virtual router commands are timing out, resulting in MS shutting down the VR !
Xenserver have upgraded but it seems the existing xens are not instrumented with changes !
Some typical issues involving hypervisor
Cloudstack interacts with these hypervisors using agent framework.
The Cloud Specialists
Xenserver
xe sr-list <gives you a list of SRs>
xe sr-scan <refreshes Xen db and coalesces, reclaiming disk space>
vhd-util scan -f -p -a -m /var/run/sr-mount/c31f8a5a-ef12-e573-cee0-02787136601c/ ..
07fe1fe4-074c-434d-8010-823e29c260af.vhd
vhd=f4008be7-514d-4358-aa3f-1d0c1e78f37a.vhd capacity=268435456000 size=263885443584
hidden=1 parent=none
vhd=07fe1fe4-074c-434d-8010-823e29c260af.vhd capacity=268435456000 size=183076900864
hidden=0 parent=f4008be7-514d-4358-aa3f-1d0c1e78f37a.vhd
Xenserver Direct Agent running with management server uses
xapi to communicate with Xen host. Logs in /var/log/
SMlog and xensource.log.
The Cloud Specialists
KVM
KVM qemu logs are here /var/log/libvirt/qemu/<domain>.log
Libvirtd log is at: /var/log/libvirt/libvirtd.log
Agent log is here: /var/log/cloudstack/agent/agent.log
For further debugging and querying you can use the virsh tool
virsh <command> <domain>
command can be vol-info, dumpxml etc
domain is the vm name like s-1-VM
virsh console s-1-VM
virsh dumpxml s-1-VM
There is a hypervisor (Qemu) and a management library (libvirt).
The Cloud Specialists
VMWare
VMWare Direct Agent running with management server uses
vim to communicate with vCenter host. Check
vCenter for details.
The Cloud Specialists
VMWare
VM
Details
The Cloud Specialists
Events
VMWare
The Cloud Specialists
Event triggers
VMWare
The Cloud Specialists
VMWare
Cloudstack Tasks
The Cloud Specialists
Virtual router - Entangled cables
Storage - Storage nuances
Timeouts - Database & Cloudstack-timers
Service offering - Possibilities for upgrading
Hypervisor - Operations
5-Top areas to understand and troubleshoot
The Cloud Specialists
Q&A
The Cloud Specialists
VR Trivia
1. How does a password enabled guest vm gets its password ?
{"com.cloud.agent.api.routing.SavePasswordCommand":
{,"vmIpAddress":"10.1.1.217","vmName":"vmthree","executeInSequence":false,"accessDetails":{"router.name":"r-4-
VM","router.guest.ip":"10.1.1.1","router.ip":"169.254.3.116","zone.network.type":"Advanced"},"wait":0}
2017-03-24 05:56:34,854 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-383:ctx-24596387) (logid:abb6150f) VR Config
file vm_password.json got created in VR, ip 169.254.3.116 with content
{"ip_address":"10.1.1.217","password":"YkSS9S","type":"vmpassword"}
Clo
Xen VR
VR
2017-03-24 05:57:23,777 merge.py save:72 {u'10.1.1.195': u'saved_password', u'id':
u'vmpassword', u'10.1.1.166': u'saved_password', u'10.1.1.217': u’YkSS9S'}
2017-03-24 05:57:24,346 CsHelper.py execute:184 Executing: curl --header "DomU_Request:
save_password" "http://10.1.1.1:8080/" -F "ip=10.1.1.217" -F "password=YkSS9S" -F
"token=5c10a12a384a27c5a3e92c8a96d5ea40" >/dev/null 2>/dev/null &
Xen
root@r-4-VM:~# cat /var/cache/cloud/passwords-10.1.1.1
10.1.1.195=saved_password
10.1.1.217=Ga6CyR
10.1.1.166=saved_password
root@r-4-VM:~#
The Cloud Specialists
VM
wget -t 3 -T 20 -O - --header "DomU_Request: saved_password" $PASSWORD_SERVER_IP:8080
VR Trivia
1. How does a password enabled guest vm gets its password ?

Mais conteúdo relacionado

Mais procurados

Building a redundant CloudStack management cluster - Vladimir Melnik
Building a redundant CloudStack management cluster - Vladimir MelnikBuilding a redundant CloudStack management cluster - Vladimir Melnik
Building a redundant CloudStack management cluster - Vladimir MelnikShapeBlue
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...ShapeBlue
 
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski buildacloud
 
How To Monetise & Bill CloudStack - A Practical Open Approach
How To Monetise & Bill CloudStack - A Practical Open ApproachHow To Monetise & Bill CloudStack - A Practical Open Approach
How To Monetise & Bill CloudStack - A Practical Open ApproachShapeBlue
 
Automated CloudStack Deployment
Automated CloudStack DeploymentAutomated CloudStack Deployment
Automated CloudStack DeploymentShapeBlue
 
VM Autoscaling With CloudStack VR As Network Provider
VM Autoscaling With CloudStack VR As Network ProviderVM Autoscaling With CloudStack VR As Network Provider
VM Autoscaling With CloudStack VR As Network ProviderShapeBlue
 
The Best Storage Solution For CloudStack: LINSTOR
The Best Storage Solution For CloudStack: LINSTORThe Best Storage Solution For CloudStack: LINSTOR
The Best Storage Solution For CloudStack: LINSTORShapeBlue
 
Paul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkPaul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkShapeBlue
 
What CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBDWhat CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBDShapeBlue
 
Monitoring in CloudStack
Monitoring in CloudStackMonitoring in CloudStack
Monitoring in CloudStackShapeBlue
 
Using CloudStack With Clustered LVM
Using CloudStack With Clustered LVMUsing CloudStack With Clustered LVM
Using CloudStack With Clustered LVMMarcus L Sorensen
 
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackBackroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackShapeBlue
 
Building virtualised CloudStack test environments
Building virtualised CloudStack test environmentsBuilding virtualised CloudStack test environments
Building virtualised CloudStack test environmentsShapeBlue
 
VM Job Queues in CloudStack
VM Job Queues in CloudStackVM Job Queues in CloudStack
VM Job Queues in CloudStackShapeBlue
 
Deploying CloudStack with Ceph
Deploying CloudStack with CephDeploying CloudStack with Ceph
Deploying CloudStack with CephShapeBlue
 
[오픈소스컨설팅]오픈스택에 대하여
[오픈소스컨설팅]오픈스택에 대하여[오픈소스컨설팅]오픈스택에 대하여
[오픈소스컨설팅]오픈스택에 대하여Ji-Woong Choi
 
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
 
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueShapeBlue
 
Implementing CloudStack's VPC feature
Implementing CloudStack's VPC featureImplementing CloudStack's VPC feature
Implementing CloudStack's VPC featureMarcus L Sorensen
 

Mais procurados (20)

Building a redundant CloudStack management cluster - Vladimir Melnik
Building a redundant CloudStack management cluster - Vladimir MelnikBuilding a redundant CloudStack management cluster - Vladimir Melnik
Building a redundant CloudStack management cluster - Vladimir Melnik
 
CloudStack Networking
CloudStack NetworkingCloudStack Networking
CloudStack Networking
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
 
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
 
How To Monetise & Bill CloudStack - A Practical Open Approach
How To Monetise & Bill CloudStack - A Practical Open ApproachHow To Monetise & Bill CloudStack - A Practical Open Approach
How To Monetise & Bill CloudStack - A Practical Open Approach
 
Automated CloudStack Deployment
Automated CloudStack DeploymentAutomated CloudStack Deployment
Automated CloudStack Deployment
 
VM Autoscaling With CloudStack VR As Network Provider
VM Autoscaling With CloudStack VR As Network ProviderVM Autoscaling With CloudStack VR As Network Provider
VM Autoscaling With CloudStack VR As Network Provider
 
The Best Storage Solution For CloudStack: LINSTOR
The Best Storage Solution For CloudStack: LINSTORThe Best Storage Solution For CloudStack: LINSTOR
The Best Storage Solution For CloudStack: LINSTOR
 
Paul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkPaul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery Framework
 
What CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBDWhat CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBD
 
Monitoring in CloudStack
Monitoring in CloudStackMonitoring in CloudStack
Monitoring in CloudStack
 
Using CloudStack With Clustered LVM
Using CloudStack With Clustered LVMUsing CloudStack With Clustered LVM
Using CloudStack With Clustered LVM
 
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackBackroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
 
Building virtualised CloudStack test environments
Building virtualised CloudStack test environmentsBuilding virtualised CloudStack test environments
Building virtualised CloudStack test environments
 
VM Job Queues in CloudStack
VM Job Queues in CloudStackVM Job Queues in CloudStack
VM Job Queues in CloudStack
 
Deploying CloudStack with Ceph
Deploying CloudStack with CephDeploying CloudStack with Ceph
Deploying CloudStack with Ceph
 
[오픈소스컨설팅]오픈스택에 대하여
[오픈소스컨설팅]오픈스택에 대하여[오픈소스컨설팅]오픈스택에 대하여
[오픈소스컨설팅]오픈스택에 대하여
 
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
 
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
 
Implementing CloudStack's VPC feature
Implementing CloudStack's VPC featureImplementing CloudStack's VPC feature
Implementing CloudStack's VPC feature
 

Semelhante a CloudStack - Top 5 Technical Issues and Troubleshooting

Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news   Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news ShapeBlue
 
Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Velocidex Enterprises
 
V sphere 5 roadshow final
V sphere 5 roadshow finalV sphere 5 roadshow final
V sphere 5 roadshow finalbluechipper
 
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming PhysicalVMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming PhysicalVMworld
 
Designing CloudStack Clouds
Designing CloudStack CloudsDesigning CloudStack Clouds
Designing CloudStack CloudsShapeBlue
 
Paul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackPaul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackShapeBlue
 
Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11ShapeBlue
 
Whats new in Cloudstack 4.11 - behind the headlines
Whats new in Cloudstack 4.11 - behind the headlinesWhats new in Cloudstack 4.11 - behind the headlines
Whats new in Cloudstack 4.11 - behind the headlinesShapeBlue
 
New stuff in CloudStack!
New stuff in CloudStack!New stuff in CloudStack!
New stuff in CloudStack!ShapeBlue
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
 
Silicon Valley CloudStack User Group - Designing CloudStack Clouds
Silicon Valley CloudStack User Group - Designing CloudStack CloudsSilicon Valley CloudStack User Group - Designing CloudStack Clouds
Silicon Valley CloudStack User Group - Designing CloudStack CloudsShapeBlue
 
NICConf 2015 - azure disaster recovery in 60min
NICConf 2015 -  azure disaster recovery in 60minNICConf 2015 -  azure disaster recovery in 60min
NICConf 2015 - azure disaster recovery in 60minPeter De Tender
 
Mastering the move
Mastering the moveMastering the move
Mastering the moveTrivadis
 
How to become cloud backup provider
How to become cloud backup providerHow to become cloud backup provider
How to become cloud backup providerCLOUDIAN KK
 
Trouble shooting apachecloudstack
Trouble shooting apachecloudstackTrouble shooting apachecloudstack
Trouble shooting apachecloudstackSailaja Sunil
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld
 
Cloudstack Certification
Cloudstack CertificationCloudstack Certification
Cloudstack CertificationVskills
 

Semelhante a CloudStack - Top 5 Technical Issues and Troubleshooting (20)

Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news   Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news
 
Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3
 
V sphere 5 roadshow final
V sphere 5 roadshow finalV sphere 5 roadshow final
V sphere 5 roadshow final
 
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming PhysicalVMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
 
Designing CloudStack Clouds
Designing CloudStack CloudsDesigning CloudStack Clouds
Designing CloudStack Clouds
 
Paul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackPaul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStack
 
Implementing dr w. hyper v clustering
Implementing dr w. hyper v clusteringImplementing dr w. hyper v clustering
Implementing dr w. hyper v clustering
 
E2EVC SCVMM-Mania
E2EVC SCVMM-ManiaE2EVC SCVMM-Mania
E2EVC SCVMM-Mania
 
Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11
 
Whats new in Cloudstack 4.11 - behind the headlines
Whats new in Cloudstack 4.11 - behind the headlinesWhats new in Cloudstack 4.11 - behind the headlines
Whats new in Cloudstack 4.11 - behind the headlines
 
New stuff in CloudStack!
New stuff in CloudStack!New stuff in CloudStack!
New stuff in CloudStack!
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 
Silicon Valley CloudStack User Group - Designing CloudStack Clouds
Silicon Valley CloudStack User Group - Designing CloudStack CloudsSilicon Valley CloudStack User Group - Designing CloudStack Clouds
Silicon Valley CloudStack User Group - Designing CloudStack Clouds
 
NICConf 2015 - azure disaster recovery in 60min
NICConf 2015 -  azure disaster recovery in 60minNICConf 2015 -  azure disaster recovery in 60min
NICConf 2015 - azure disaster recovery in 60min
 
Mastering the move
Mastering the moveMastering the move
Mastering the move
 
Expertslive azure site recovery
  Expertslive   azure site recovery  Expertslive   azure site recovery
Expertslive azure site recovery
 
How to become cloud backup provider
How to become cloud backup providerHow to become cloud backup provider
How to become cloud backup provider
 
Trouble shooting apachecloudstack
Trouble shooting apachecloudstackTrouble shooting apachecloudstack
Trouble shooting apachecloudstack
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
Cloudstack Certification
Cloudstack CertificationCloudstack Certification
Cloudstack Certification
 

Mais de ShapeBlue

CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlueCloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlueShapeBlue
 
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueCloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueShapeBlue
 
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...ShapeBlue
 
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlueVM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlueShapeBlue
 
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHubHow We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHubShapeBlue
 
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...ShapeBlue
 
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...ShapeBlue
 
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIOHow We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIOShapeBlue
 
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...ShapeBlue
 
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...ShapeBlue
 
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineShapeBlue
 
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...ShapeBlue
 
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...ShapeBlue
 
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...ShapeBlue
 
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...ShapeBlue
 
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...ShapeBlue
 
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueShapeBlue
 
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...ShapeBlue
 
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...ShapeBlue
 
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueShapeBlue
 

Mais de ShapeBlue (20)

CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlueCloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
 
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueCloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
 
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
 
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlueVM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
 
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHubHow We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
 
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
 
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
 
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIOHow We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
 
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
 
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
 
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
 
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
 
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
 
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
 
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
 
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
 
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
 
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
 
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
 
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
 

Último

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

CloudStack - Top 5 Technical Issues and Troubleshooting

  • 1. The Cloud Specialists Cloudstack - Top 5 technical issues and troubleshooting Looking at cloudstack thru the prism of support tickets.
  • 2. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue A b h i n a n d a n P r a t e e k Software Architect @ Shapeblue Tinkering with cloudstack since 2011 Based out of Hyderabad, India Apache cloudstack committer since 2012 aprateek@apache.org abhinandan.prateek@shapeblue.com Charminar - 1591 18m high monolithic Buddha statue
  • 3. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue “ShapeBlue are expert builders of public & private clouds. They are the leading global CloudStack services company.” A b o u t S h a p e B l u e
  • 4. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 5. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 6. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 7. The Cloud Specialists Amongst other things, we provide 2nd to 4th line remote support of the entire Cloudstack Infrastructure. We have helped build some of the biggest cloudstack deployments. We regularly work round the clock with enterprises around the world trouble-shooting live, production environments. What do we do ?
  • 8. The Cloud Specialists Variety is the spice of life. Mix of Hypervisor mainly using advanced networking. Customer environments vary from 2500 hypervisor hosts to 4 hypervisor hosts. What kind of deployments do we manage ? Have been dealing with VMWare, Xenserver and KVM mainly
  • 9. The Cloud Specialists Analysed  698 support tickets (across 36 months) and divided them into specific areas like VR, storage, timeouts, agent and database. Support tickets were divided into areas covering cloudstack components like storage, networking or hypervisors. Added the issues that were dependant on environment, external hardware or obvious user errors under misc. Cloudstack is overall very reliable, used by many large service providers and enterprise customers. (70% of our customers are cloud service provider, 30% enterprise) How I arrived at top 5 issues ?
  • 10. The Cloud Specialists Support % Virtual Router Storage Misc Upgrade Timeouts Hypervisor Offering 0 10 20 30 40 Service tickets by logical areas Thus after doing an analysis of such support issues, 5 areas were picked up for deep dive.
  • 11. The Cloud Specialists Virtual router - Entangled cables Storage - Storage tsunami Timeouts - Database & Cloudstack-timers Service offering - Possibilities for upgrading Hypervisor - Operations 5-Top cloudstack areas to understand and troubleshoot
  • 12. The Cloud Specialists Virtual Router - Tangled cables Problems with VR are one of the most frequently reported set of issue. My VR does not start My network does not behave as I want it to
  • 13. The Cloud Specialists Virtual Router Issues My VR does not start Look at each step in VR orchestration to narrow down on issue. Do a network restart with cleanup My network does not behave as I want it to What service is not working Access VR to Troubleshoot service DHCP DNS NAT LB VPN Password
  • 14. The Cloud Specialists VR Orchestration SecondaryStorage 1. Seed or upload template VR systemvm.iso 5. /etc/init.d/cloud-early-config < boot-args + systemvm.iso Cloudstack Hypervisor 3.Deploy System VM + boot-args 2.Copy template to Primary 4.Mount systemvm.iso systemvm.default.hypervisor router.template.xenserver 6.cloud-early-config initialises router specific services like haproxy and dnsmasq Steps in virtual router VM deployment
  • 15. The Cloud Specialists VR Orchestration Cloudstack VR systemvm.iso KVM KVM-Agent VMWare vcenter Xenserver xapi shell ssh script name and params router_proxy.sh proxies the command and parameters to VR Send the command to KVM Agent Configuring rules
  • 16. The Cloud Specialists VR Troubleshooting Xenserver xapi shellVR GUEST eth0 vlan 778 10.1.1.1 CONTROL eth1 169.254.3.116 PUBLIC eth2 vlan 7 10.1.34.223 ssh -p 3922 -i /root/.ssh/id_rsa.cloud root@169.254.3.116 Router details are found on MS UI: Home > Infrastructure > Virtual Routers > r-4-VM
  • 17. The Cloud Specialists VR Troubleshooting iptables to check the firewall settings on VR
  • 18. The Cloud Specialists VR Troubleshooting watch -n1 -d "iptables -vnxL -t nat | grep -v -e pkts -e Chain | sort -nk1 | tac | column -t"
  • 19. The Cloud Specialists VR Troubleshooting port: for scanning specific port -i: for a particular interface -c: for specific packet count -A: to print output in ASCII tcpdump port 3922 -i eth1 -c 10 -A
  • 20. The Cloud Specialists VR Troubleshooting Q&A
  • 21. The Cloud Specialists Virtual router - Entangled cables Storage - Storage tsunami Timeouts - Database & Cloudstack-timers Service offering - Possibilities for upgrading Hypervisor - Operations 5-Top cloudstack areas to understand and troubleshoot
  • 22. The Cloud Specialists Secondary Storage - Tsunami My storage is full ! Storage 99% used Storage not found Copy operation not working ! The volume download fails with "Failed to copy the volume from the source primary storage pool to secondary storage. Cloudstack fails in migrating root volume from one Primary storage to another for a specific VM. Primary SSVM Secondary OR
  • 23. The Cloud Specialists Storage Issues ? Having issues with template download ? Having issues with volume extraction ? Host getting fenced due to unreachable storage ? Storage is Full ? Having issues with snapshot chain ? Snapshot backup problems ? Primary StorageSecondary Storage (SSVM) SSVM not running ? Host getting rebooted as a result of fencing the VM ?
  • 24. The Cloud Specialists Storage: Primary and Secondary Make sure the ssvm is running and working fine. Backup Snapshots Copy Template Download Template Upload Volume SSVM Templates Volumes Snapshots
  • 25. The Cloud Specialists Secondary storage troubleshooting 1. Login: ssh -i /root/.ssh/id_rsa -p 3922 root@169.254.3.178 SSVM GUEST eth1 10.2.6.32 CONTROL eth0 169.254.3.178 PUBLIC eth2 10.1.34.221 STORAGE eth3 10.3.34.221
  • 26. The Cloud Specialists Secondary storage troubleshooting 2. Run: /usr/local/cloud/systemvm/ssvm-check.sh SSVM Health Check Checks following: • Connectivity with  DNS server • Resolving of  domain names • Status of secondary storage • Ability to write to secondary storage • Connectivity with management server at port 8250 • Status of java process.
  • 27. The Cloud Specialists Secondary Storage - Tsunami My storage is full ! Storage 99% used-EMERGENCY Storage not found -EMERGENCIA Copy operation not working ! The volume download fails with "Failed to copy the volume from the source primary storage pool to secondary storage.” Cloudstack fails in migrating root volume from one Primary storage to another for a specific VM. Primary SSVM Secondary OR
  • 28. The Cloud Specialists Secondary Storage Full ? Snapshots not getting cleared up ! This could happen if snapshot chain gets broken, resulting in exception in MS logs Xenserver xapi shell Do these Global Settings have anything to do with this issue: 1. storage.cleanup.interval: The interval (in seconds) to wait before running the storage cleanup thread. (Default: 86400) 2. storage.cleanup.enabled: Enables/disables the storage cleanup thread (Default: true) 3. storage.template.cleanup.enabled: Enable/disable template cleanup activity, only take effect when overall storage cleanup is enabled (Default: true)
  • 29. The Cloud Specialists Volumes are physically deleted from the storage device by the garbage collection process which runs based on the following global settings: 1. expunge.delay: determines how old the volume must be before it is destroyed, in seconds (Default: 86400) 2. expunge.interval: determines how often to run the garbage collection check (Default: 86400) Secondary Storage Full ? Storage is really full ? Cleanup required ? Migrate to bigger nfs
  • 30. The Cloud Specialists Secondary Storage Cleanup For secondary storage cleanup you need to determine the items that are no longer in use or obsolete. For that you need to understand the mapping from cloud db to hypervisor resources image_store snapshot_store_ref volume_store_ref template_store_ref SSVM
  • 31. The Cloud Specialists MariaDB [cloud]> select id, store_id, physical_size, install_path from template_store_ref; +----+----------+---------------+------------------------------------------------------------+ | id | store_id | physical_size | install_path | +----+----------+---------------+------------------------------------------------------------+ | 4 | 1 | 356694016 | template/tmpl/1/8/77c47de2-e745-4618-a7ad-786d0c5f71e2.ova | | 7 | 1 | 459320832 | template/tmpl/1/7/ed62b12f-5d01-3469-8ac4-3d42c4d3fdcb.ova | +----+----------+---------------+------------------------------------------------------------+ Secondary Storage - VmWare
  • 32. The Cloud Specialists mysql> select id, store_id, physical_size, install_path from template_store_ref; +----+----------+---------------+----------------------------------------------------------------+ | id | store_id | physical_size | install_path | +----+----------+---------------+----------------------------------------------------------------+ | 5 | 1 | 348726272 | template/tmpl/1/3/d2e7529a-e7b3-4ce3-9ff9-ff6771970460.qcow2 | | 9 | 1 | 1769537536 | template/tmpl/1/4/374b86cf-e6d8-322f-ab2b-bd75629f2269.qcow2 | | 10 | 1 | 1769537536 | template/tmpl/1/4/374b86cf-e6d8-322f-ab2b-bd75629f2269.qcow2 | | 11 | 1 | 42401792 | template/tmpl/2/201/deafd531-39ec-3bb3-9dc0-9de6a21d76ae.qcow2 | +----+----------+---------------+----------------------------------------------------------------+ ./template/tmpl/1/3: total 340564 -rw-r--r--. 1 502 games 348726272 Apr 6 07:12 d2e7529a-e7b3-4ce3-9ff9-ff6771970460.qcow2 -rw-r--r--. 1 root root 295 Apr 6 07:12 template.properties ./template/tmpl/1/4: total 1728072 -rw-rw-rw-. 1 root root 1769537536 Apr 6 12:33 374b86cf-e6d8-322f-ab2b-bd75629f2269.qcow2 -rw-rw-rw-. 1 root root 383 Apr 6 12:33 template.properties Secondary Storage - KVM MariaDB [cloud]> select id, store_id, physical_size, install_path from snapshot_store_ref where store_role='Image'; +----+----------+---------------+----------------------------------------------------+ | id | store_id | physical_size | install_path | +----+----------+---------------+----------------------------------------------------+ | 2 | 1 | 5120 | snapshots/2/4/a826b905-ec0a-4e6b-9c84-fe5d75c778ff | | 4 | 1 | 0 | snapshots/2/4/a826b905-ec0a-4e6b-9c84-fe5d75c778ff | | 6 | 1 | 62349312 | snapshots/2/3/f23e4d9b-54b3-4123-b94b-3d792ab102d9 | +----+----------+---------------+----------------------------------------------------+ ./snapshots/2/3: total 2080832 -rw-r--r--. 1 root root 1910075904 Apr 13 06:11 f23e4d9b-54b3-4123-b94b-3d792ab102d9.vhd ./snapshots/2/4: total 8 -rw-r--r--. 1 root root 5120 Mar 28 08:13 a826b905-ec0a-4e6b-9c84-fe5d75c778ff.vhd Secondary Storage - Xen
  • 33. The Cloud Specialists Secondary Storage - Tsunami My storage is full ! Storage 99% used-EMERGENCY Storage not found -EMERGENCIA Copy operation not working ! The volume download fails with "Failed to copy the volume from the source primary storage pool to secondary storage.” #1250 Cloudstack fails in migrating root volume from one Primary storage to another for a specific VM. #1253 Primary SSVM Secondary OR
  • 34. The Cloud Specialists Primary Storage cleanup storage_pool volumes snapshot_store_ref (store_role=‘Primary’) template_spool_ref
  • 35. The Cloud Specialists Primary Storage - VmWare: Templates MariaDB [cloud]> select id, template_id, local_path, install_path, template_size from template_spool_ref; +----+-------------+----------------------------------+----------------------------------+---------------+ | id | template_id | local_path | install_path | template_size | +----+-------------+----------------------------------+----------------------------------+---------------+ | 1 | 8 | c0eb37bf6b0f33838136690e7392c2b9 | c0eb37bf6b0f33838136690e7392c2b9 | 3355443200 | | 2 | 7 | d47ad1c0460a38f7a76aec0a7e13e0dd | d47ad1c0460a38f7a76aec0a7e13e0dd | 2147483648 | +----+-------------+----------------------------------+----------------------------------+---------------+
  • 36. The Cloud Specialists {"diskDeviceBusName":"scsi0:0","diskChain": ["[bed11a1d766d3379abaacb095ada87b2] v-2-VM/ ROOT-2.vmdk","[bed11a1d766d3379abaacb095ada87b2] bd06d56dfc1b3b138f5b905512d24758/ bd06d56dfc1b3b138f5b905512d24758.vmdk"]} chain_info Primary Storage - VmWare: Volumes VMWare MariaDB [cloud]> select id, pool_id, uuid, path, chain_info from volumes where id=4; +----+---------+--------------------------------------+----------------------------------------- +-----------------------------------------------------------------------------------------------------------------------------------+ | id | pool_id | uuid | path | chain_info +----+---------+--------------------------------------+----------------------------------------- +-----------------------------------------------------------------------------------------------------------------------------------+ | 4 | 1 | a98abbbd-6316-4ae3-bd96-4b4e964acb6a | f80047d8ed2047698a65c64148f0afd0-000001 | {"diskDeviceBusName":"scsi0:0","diskChain": ["[8706d6c6c36336de9bd22309614d4539] i-2-3-VM/f80047d8ed2047698a65c64148f0afd0.vmdk"]} | +----+---------+--------------------------------------+----------------------------------------- +-----------------------------------------------------------------------------------------------------------------------------------+
  • 37. The Cloud Specialists Primary Storage - Xen: Volumes path 257349e2-f17f-418b-8723-3d7ca38f32a2 Xenserver MariaDB [cloud]> select id, pool_id, uuid, path, chain_info from volumes; +----+---------+--------------------------------------+--------------------------------------+------------+ | id | pool_id | uuid | path | chain_info | +----+---------+--------------------------------------+--------------------------------------+------------+ | 1 | 1 | 11120026-1b78-40a5-b069-2136b7fe732d | ee0325d2-ce78-4cd5-91ad-77fc7a2559e1 | NULL | | 2 | 1 | 8a1ddc27-3e5c-4752-a954-19625974a06b | 05f25060-1b43-417e-a40d-7bef70d0a6d3 | NULL | | 3 | 1 | 19258a34-423d-4af7-9841-9a8fac53b740 | a4c464f5-7f63-4bcf-8892-c905c5ed1421 | NULL | | 4 | 1 | 9b8fb523-5801-4e9e-9627-a285631b9f21 | cbd8fb97-190d-4908-97f1-e9b648146eaa | NULL | | 5 | 1 | 5d243174-b619-474e-a3d6-861dc8ac4b14 | e4a56fd8-8541-4f62-ad73-7306bb5a46c3 | NULL | | 6 | 1 | 836eab1c-8ce8-4667-9397-ee15c5b4e913 | 257349e2-f17f-418b-8723-3d7ca38f32a2 | NULL | | 7 | 1 | fa3bcb33-733d-4e41-a6de-f66c53c03ff8 | c29fc222-db17-40b7-b52c-6bd456d29abf | NULL | +----+---------+--------------------------------------+--------------------------------------+------------+
  • 38. The Cloud Specialists Primary Storage - KVM: Volumes uuid/path 965dd6fc-cac9-4b88-a51d-ba4da2492cf0 KVM mysql> select id, pool_id, uuid, path, chain_info from volumes; +----+---------+--------------------------------------+--------------------------------------+------------+ | id | pool_id | uuid | path | chain_info | +----+---------+--------------------------------------+--------------------------------------+------------+ | 1 | 2 | 965dd6fc-cac9-4b88-a51d-ba4da2492cf0 | 965dd6fc-cac9-4b88-a51d-ba4da2492cf0 | NULL | | 2 | 2 | 79f1fafd-8d38-4f29-b131-f579aabc4074 | 79f1fafd-8d38-4f29-b131-f579aabc4074 | NULL | | 3 | 2 | 46f67a9f-e9b5-4141-b5f0-498bde561d58 | 46f67a9f-e9b5-4141-b5f0-498bde561d58 | NULL | | 4 | 2 | a61e4a71-d390-4e9d-b466-6639c639ff4a | a61e4a71-d390-4e9d-b466-6639c639ff4a | NULL | | 5 | 2 | 77d63269-777a-4e5f-be22-bd50423e7f1d | 77d63269-777a-4e5f-be22-bd50423e7f1d | NULL | | 6 | 2 | cf3109e2-5e91-4a4e-b16d-60260f6648b7 | cf3109e2-5e91-4a4e-b16d-60260f6648b7 | NULL | | 7 | 2 | 518de120-7bcc-4cb4-b30a-d0e25c0dac4b | 518de120-7bcc-4cb4-b30a-d0e25c0dac4b | NULL | | 8 | 2 | 2a0fe13f-99c8-47eb-8405-c4ec17ee05cd | 2a0fe13f-99c8-47eb-8405-c4ec17ee05cd | NULL | | 9 | 2 | 85df35c4-c3b2-455c-afcc-0d91f6f6a6d4 | 85df35c4-c3b2-455c-afcc-0d91f6f6a6d4 | NULL | | 10 | 2 | ad826d7c-aad6-4ff1-ba0c-a1cb0b7fe77a | ad826d7c-aad6-4ff1-ba0c-a1cb0b7fe77a | NULL | +----+---------+--------------------------------------+--------------------------------------+------------+ -rw-r--r--. 1 root root 2347696128 Apr 7 17:58 2a0fe13f-99c8-47eb-8405-c4ec17ee05cd -rw-r--r--. 1 root root 27197440 Apr 12 14:56 518de120-7bcc-4cb4-b30a-d0e25c0dac4b -rw-r--r--. 1 root root 181272576 Apr 12 14:57 79f1fafd-8d38-4f29-b131-f579aabc4074 -rw-r--r--. 1 root root 498991104 Apr 7 17:58 85df35c4-c3b2-455c-afcc-0d91f6f6a6d4 -rw-r--r--. 1 root root 193200128 Apr 12 14:57 965dd6fc-cac9-4b88-a51d-ba4da2492cf0 -rw-r--r--. 1 root root 197120 Apr 6 12:41 a61e4a71-d390-4e9d-b466-6639c639ff4a -rw-r--r--. 1 root root 15335424 Apr 6 13:20 ad826d7c-aad6-4ff1-ba0c-a1cb0b7fe77a
  • 39. The Cloud Specialists Prevent Storage Issues Periodically check if the storage has enough space. Keep a check on snapshot chain sizes. Keep a check on spurious object that do not have any reference on cloudstack db. Cleanup such objects periodically. File bugs for issues that you encounter.
  • 40. The Cloud Specialists We looked at how the secondary storage and primary storage are organized in cloudstack. We know what each is responsible for. We checked how the object mapping from the management server to back end storage works like. We also looked at maintaining storage in case it becomes full. Concluding storage troubleshooting
  • 41. The Cloud Specialists Virtual router - Entangled cables Storage - Storage nuances Timeouts - Database & Cloudstack-timers Service offering - Possibilities for upgrading Hypervisor - Operations 5-Top cloudstack areas to understand and troubleshoot
  • 42. The Cloud Specialists Timeouts Timeout issues are one broad area covering various components. Here we will look at some typical timeouts that occur the most in cloudstack and then look at ways to resolve them. A timeout is detected by error messages logged in the MS logs here: /var/log/cloudstack/management/management-server.log KVM the virtual router commands are timing out, resulting in MS shutting down the VR ! Snapshot failure ! In the logs it says that MS tried for ‘wait’ timeout. Snapshot completes on Hypervisor after 6 hours, but MS logs show DB timeout
  • 43. The Cloud Specialists • The timeout can happen due to cloudstack aborting an operation that is taking longer than expected. • A timeout can also happen because one of the cloudstack component failed to respond in time, like the agent or Hypervisor. A timeout can happen due to external timeout conditions like a database connection timeout or ssh script execution timeout. Timeout Management Server Timeout External Timeouts
  • 44. The Cloud Specialists Cloudstack Timeouts Check the logs and try to determine what kind of timeout it is ? A timeout could point to problems with cloudstack subsystem If it is a cloudstack timeout then tweak the corresponding global timeout parameter value and restart cloudstack. Snapshot VM Migration CopyVolume
  • 45. The Cloud Specialists Cloudstack Timeouts Snapshot Migrate CopyVolume wait Time in seconds to wait for control commands to return, 3600 backup.snapshot.wait In second, timeout for BackupSnapshotCommand, 3600 migratewait Time (in seconds) to wait for VM migrate finish, 1200 copy.volume.wait In second, timeout for copy volume command 1200
  • 46. The Cloud Specialists KVM Agent - timeouts A generic timeout configured for ‘almost’ all the agent commands, showing weird behaviour sometime. ‘OperationTimedOut’ Cloudstack KVM KVM-Agent Send the command to KVM Agent Agent Response KVM the virtual router commands are timing out, resulting in MS shutting down the VR !
  • 47. The Cloud Specialists KVM Agent Timeouts The timeout values changed in MS global config are not propagated to KVM agents automatically. Many times this result in failure to apply config to VR as the aggregated commands timeout. This timeout setting is governed by router.aggregation.command.each.timeout global setting. To make this or any other global setting effective on KVM agent you need to add this to /etc/cloudstack/agent/agent.properties file. We have a virtual router starting on KVM, after few seconds of start it is shutdown by cloudstack.
  • 48. The Cloud Specialists Database - timeouts Cloudstack Xenserver xapi shell 1. Get connection from pool 2. Start long winded resource action 3. MySql expires the connection 4. Even though the action finished properly, cloudstack rolled back the transaction on completion Even though the snapshot operation succeed on Xenserver, cloudstack rolls back the transaction on completion, thereby failing it.
  • 49. The Cloud Specialists mysql> show variables; +----------------------------------------- +-------------------------------------------------------------------------------------------+ | Variable_name | Value | | interactive_timeout | 28800 | | wait_timeout | 28800 | mysql> SET interactive_timeout=36000; Query OK, 0 rows affected (0.01 sec) interactive_timeout : interactive time out for mysql shell sessions in seconds like mysqldump or mysql command line tools. wait_timeout” : the amount of seconds during inactivity that MySQL will wait before it will close a connection on a non-interactive connection in seconds. **Fixed in 4.9 where connection will get refreshed if found dead. Database - timeouts
  • 50. The Cloud Specialists Virtual router - Entangled cables Storage - Storage nuances Timeouts - Database & Cloudstack-timers Service offering - Possibilities for upgrading Agent - Operations 5-Top cloudstack areas to understand and troubleshoot
  • 51. The Cloud Specialists How do I migrate a machine service offering from an offering with tags to an offering without, I get this error … RAM TAGS CPU RATE Hypervisor tag1 Deployment Planner Service Offering A service offering defines a set of virtual hardware features that will be assigned to a virtual machine. Storage Tags: These tags are associated with primary storage. Host tags: Tags associated with hosts. Compute and Disk Service Offering - Tags Service offering provides a way to measure usage.
  • 52. The Cloud Specialists Compute and Disk Service Offering - Tags This set of error has to do with pinning the virtual machine to a particular set of resources. You may want to do it to provide premium services to high paying customers. At some point you or your customer decides that the VM needs to be moved to different set of resources. What are the options at this point ?
  • 53. The Cloud Specialists Compute and Disk Service Offering - Tags hdd ssd blue Compute Offering Name Desc Size … Host Tags: hdd Post CS 4.7: Change Offering Pre CS 4.7: Change Offering Ideally both ways should be allowed ! Compute Offering Name Desc Size … Host Tags: hdd, ssd Compute Offering Name Desc Size … Host Tags: Tags - confused compatibility !
  • 54. The Cloud Specialists Compute and Disk Service Offering - Tags How do I migrate a machine service offering from an offering with tags to an offering without, I get this error > “if our current compute offering is associated with tags (x,y) then the new compute offering should have tags atleast (x,y), then only it can have the same functionality as the current one. Suppose the new offering has the only tag(x), then it is missing the functionality associated with tag(y)….” How DevOps sees it: How Software engineer sees it:
  • 55. The Cloud Specialists Compute and Disk Service Offering - Tags MariaDB [cloud]> select id, cpu, speed, ram_size, host_tag, deployment_planner from service_offering where id=17; +----+------+-------+----------+----------+--------------------+ | id | cpu | speed | ram_size | host_tag | deployment_planner | +----+------+-------+----------+----------+--------------------+ | 17 | 2 | 1024 | 512 | htx, hty | FirstFitPlanner | +----+------+-------+----------+----------+--------------------+ MariaDB [cloud]> select id, name, display_text, tags from disk_offering where id=17; +----+--------------+-------------------+----------+ | id | name | display_text | tags | +----+--------------+-------------------+----------+ | 17 | CCC Offering | CCC Demo Offering | stx,,sty | +----+--------------+-------------------+----------+ Don’t Update the tags in database for existing offerings ! Their might be many VMs associated with them. MariaDB [cloud]> select id, name, state, service_offering_id, disk_offering_id from vm_instance where id=6; +----+-----------+---------+---------------------+------------------+ | id | name | state | service_offering_id | disk_offering_id | +----+-----------+---------+---------------------+------------------+ | 6 | vmdiskone | Running | 1 | 6 | +----+-----------+---------+---------------------+------------------+ Instead create a new service offering and update the vm_instance table to upgrade the VMs to this new offering.
  • 56. The Cloud Specialists Virtual router - Entangled cables Storage - Storage nuances Timeouts - Database & Cloudstack-timers Service offering - Possibilities for upgrading Hypervisor - Operations 5-Top cloudstack areas to understand and troubleshoot
  • 57. The Cloud Specialists Hypervisor Issues KVM agent connection blowing up ! Xenserver snapshots failing as the chain is too long ! VMWare worker VM to create snapshots are not getting cleared up ! KVM the virtual router commands are timing out, resulting in MS shutting down the VR ! Xenserver have upgraded but it seems the existing xens are not instrumented with changes ! Some typical issues involving hypervisor Cloudstack interacts with these hypervisors using agent framework.
  • 58. The Cloud Specialists Xenserver xe sr-list <gives you a list of SRs> xe sr-scan <refreshes Xen db and coalesces, reclaiming disk space> vhd-util scan -f -p -a -m /var/run/sr-mount/c31f8a5a-ef12-e573-cee0-02787136601c/ .. 07fe1fe4-074c-434d-8010-823e29c260af.vhd vhd=f4008be7-514d-4358-aa3f-1d0c1e78f37a.vhd capacity=268435456000 size=263885443584 hidden=1 parent=none vhd=07fe1fe4-074c-434d-8010-823e29c260af.vhd capacity=268435456000 size=183076900864 hidden=0 parent=f4008be7-514d-4358-aa3f-1d0c1e78f37a.vhd Xenserver Direct Agent running with management server uses xapi to communicate with Xen host. Logs in /var/log/ SMlog and xensource.log.
  • 59. The Cloud Specialists KVM KVM qemu logs are here /var/log/libvirt/qemu/<domain>.log Libvirtd log is at: /var/log/libvirt/libvirtd.log Agent log is here: /var/log/cloudstack/agent/agent.log For further debugging and querying you can use the virsh tool virsh <command> <domain> command can be vol-info, dumpxml etc domain is the vm name like s-1-VM virsh console s-1-VM virsh dumpxml s-1-VM There is a hypervisor (Qemu) and a management library (libvirt).
  • 60. The Cloud Specialists VMWare VMWare Direct Agent running with management server uses vim to communicate with vCenter host. Check vCenter for details.
  • 63. The Cloud Specialists Event triggers VMWare
  • 65. The Cloud Specialists Virtual router - Entangled cables Storage - Storage nuances Timeouts - Database & Cloudstack-timers Service offering - Possibilities for upgrading Hypervisor - Operations 5-Top areas to understand and troubleshoot
  • 67. The Cloud Specialists VR Trivia 1. How does a password enabled guest vm gets its password ? {"com.cloud.agent.api.routing.SavePasswordCommand": {,"vmIpAddress":"10.1.1.217","vmName":"vmthree","executeInSequence":false,"accessDetails":{"router.name":"r-4- VM","router.guest.ip":"10.1.1.1","router.ip":"169.254.3.116","zone.network.type":"Advanced"},"wait":0} 2017-03-24 05:56:34,854 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-383:ctx-24596387) (logid:abb6150f) VR Config file vm_password.json got created in VR, ip 169.254.3.116 with content {"ip_address":"10.1.1.217","password":"YkSS9S","type":"vmpassword"} Clo Xen VR VR 2017-03-24 05:57:23,777 merge.py save:72 {u'10.1.1.195': u'saved_password', u'id': u'vmpassword', u'10.1.1.166': u'saved_password', u'10.1.1.217': u’YkSS9S'} 2017-03-24 05:57:24,346 CsHelper.py execute:184 Executing: curl --header "DomU_Request: save_password" "http://10.1.1.1:8080/" -F "ip=10.1.1.217" -F "password=YkSS9S" -F "token=5c10a12a384a27c5a3e92c8a96d5ea40" >/dev/null 2>/dev/null & Xen root@r-4-VM:~# cat /var/cache/cloud/passwords-10.1.1.1 10.1.1.195=saved_password 10.1.1.217=Ga6CyR 10.1.1.166=saved_password root@r-4-VM:~#
  • 68. The Cloud Specialists VM wget -t 3 -T 20 -O - --header "DomU_Request: saved_password" $PASSWORD_SERVER_IP:8080 VR Trivia 1. How does a password enabled guest vm gets its password ?