Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CD0E10FDA for ; Thu, 6 Jun 2013 22:25:13 +0000 (UTC) Received: (qmail 42485 invoked by uid 500); 6 Jun 2013 22:25:12 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 42451 invoked by uid 500); 6 Jun 2013 22:25:12 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 42443 invoked by uid 99); 6 Jun 2013 22:25:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 22:25:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ustcweizhou@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-we0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 22:25:08 +0000 Received: by mail-we0-f170.google.com with SMTP id w57so2579946wes.29 for ; Thu, 06 Jun 2013 15:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=APjhenmLq4JsvwO0FCLk/9lDn3uIPiCeJ/Qq15ee8UU=; b=sUG9HVwn9XWAwVVQJwm+qARJCh7pBeHxlq/+LtyJVDWqQ5qxPba3wV/dJbEBMqDJIH D1g3abQWA6yARTwQlt0kNwGjr9vQuT9q7CQ8iCgN5mq1C6pZvyDNZjGdwmR5ZOCKZKNM c0+0GH3NpjlaMGbmhDjebhrX7i97dW1nnjOzUoZc6NKh+XxFd4RDfK59fCITnne6Nawv TXmhQ8gx3GEugD/D3vhw1pAZ3/yHTDjmbgkyTdxO43uDyGah/mnk9uV7kihCLfwUHMPM rXB018l2xX3MleHKXzePChqlXFRciPgZg60/5s0Vf2L0NEZSpMFzQjIKR/gY/QwWRrqt XFlA== MIME-Version: 1.0 X-Received: by 10.194.157.99 with SMTP id wl3mr2412063wjb.76.1370557487488; Thu, 06 Jun 2013 15:24:47 -0700 (PDT) Received: by 10.194.7.136 with HTTP; Thu, 6 Jun 2013 15:24:47 -0700 (PDT) In-Reply-To: <6717EC2E5A665A40A5AF626D7D4FA906C14656@x2008mb1.infoblox.com> References: <6717EC2E5A665A40A5AF626D7D4FA906C13C74@x2008mb1.infoblox.com> <6717EC2E5A665A40A5AF626D7D4FA906C13C8E@x2008mb1.infoblox.com> <6717EC2E5A665A40A5AF626D7D4FA906C14656@x2008mb1.infoblox.com> Date: Fri, 7 Jun 2013 00:24:47 +0200 Message-ID: Subject: Re: Storage VM to Management Server Connectivity Problem From: Wei ZHOU To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=089e0122f47c2fa5f504de83c8e6 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f47c2fa5f504de83c8e6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Soheil, I think, your machine have multiple nics. When you deployed cloudstack, 192.168.56.1 should be the ip of first nic, so cloudstack regarded this as the management ip. You need to change these values manually, restart management server, destroy the systemvms (SSVM and CPVM). -Wei 2013/6/6 Soheil Eizadi > The configuration database is definitely wrong, just not sure how it got > that way. > -Soheil > > > mysql> select * from configuration where name=3D "host"; > > +----------+----------+-------------------+------+--------------+--------= -----+ > | category | instance | component | name | value | > description | > > +----------+----------+-------------------+------+--------------+--------= -----+ > | Advanced | DEFAULT | management-server | host | 192.168.56.1 | NULL > | > > +----------+----------+-------------------+------+--------------+--------= -----+ > 1 row in set (0.10 sec) > > mysql> select * from configuration where name=3D "management.network.cidr= "; > > +----------+----------+-------------------+-------------------------+----= -------------+-------------+ > | category | instance | component | name | > value | description | > > +----------+----------+-------------------+-------------------------+----= -------------+-------------+ > | Advanced | DEFAULT | management-server | management.network.cidr | > 192.168.56.0/24 | NULL | > > +----------+----------+-------------------+-------------------------+----= -------------+-------------+ > 1 row in set (0.00 sec) > > mysql> select * from configuration where name=3D > "secstorage.allowed.internal.sites"; > > +----------+----------+-------------------+------------------------------= -----+----------------+-------------+ > | category | instance | component | name > | value | description | > > +----------+----------+-------------------+------------------------------= -----+----------------+-------------+ > | Advanced | DEFAULT | management-server | > secstorage.allowed.internal.sites | 192.168.56.0/8 | NULL | > > +----------+----------+-------------------+------------------------------= -----+----------------+-------------+ > 1 row in set (0.03 sec) > > ________________________________________ > From: Wei ZHOU [ustcweizhou@gmail.com] > Sent: Wednesday, June 05, 2013 11:16 PM > To: dev@cloudstack.apache.org > Subject: Re: Storage VM to Management Server Connectivity Problem > > What is the value in cloud.configuration table with name=3D'host'? > > -Wei > > 2013/6/6, Soheil Eizadi : > > For now I patched this by editing the file /var/cache/cloud/cmdline and > > fixing the IP Address and restarting the Cloud Service on Storage VM. > Now it > > is communicating with MS: > > > > INFO [storage.secondary.SecondaryStorageListener] > (AgentConnectTaskPool-1:) > > Received a host startup notification > > com.cloud.agent.api.StartupSecondaryStorageCommand > > INFO [network.security.SecurityGroupListener] (AgentConnectTaskPool-1:= ) > > Received a host startup notification > > INFO [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-1:) > > Template Sync found SystemVM Template (XenServer) already in the templa= te > > host table > > INFO [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-1:) > > Template Sync did not find CentOS 5.5(64-bit) no GUI (KVM) on the serve= r > 2, > > will request download shortly > > ....... > > ________________________________________ > > From: Soheil Eizadi [seizadi@infoblox.com] > > Sent: Wednesday, June 05, 2013 10:44 PM > > To: dev@cloudstack.apache.org > > Subject: Storage VM to Management Server Connectivity Problem > > > > I am bringing up a Storage VM on my XenServer that is running on My MAC= . > I > > noticed that the Management Server IP Address is incorrect 192.168.56.1 > > versus 172.16.197.1. Checking if this is something others have seen? Th= is > > address is in the last boot record for the Storage VM. The IP Address > > 192.168.56.1 is not valid on my MAC, at least not right now! > > -Soheil > > > >>> Storage VM > > > > root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > First DNS server is 172.16.197.135 > > PING 172.16.197.135 (172.16.197.135): 56 data bytes > > 64 bytes from 172.16.197.135: icmp_seq=3D0 ttl=3D64 time=3D17.099 ms > > 64 bytes from 172.16.197.135: icmp_seq=3D1 ttl=3D64 time=3D0.783 ms > > --- 172.16.197.135 ping statistics --- > > 2 packets transmitted, 2 packets received, 0% packet loss > > round-trip min/avg/max/stddev =3D 0.783/8.941/17.099/8.158 ms > > Good: Can ping DNS server > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Good: DNS resolves download.cloud.com > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > NFS is currently mounted > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Management server is 192.168.56.1. Checking connectivity. > > ERROR: Cannot connect to 192.168.56.1 port 8250 > > 2013/05/10 14:23:02 socat[9304] E connecting to AF=3D2 192.168.56.1:825= 0: > > Connection timed out > > root@s-1-VM:~# ifconfig > > eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:02:74 > > inet addr:169.254.2.116 Bcast:169.254.255.255 > Mask:255.255.0.0 > > inet6 addr: fe80::c00:a9ff:fefe:274/64 Scope:Link > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:234 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:131 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:1000 > > RX bytes:16832 (16.4 KiB) TX bytes:18684 (18.2 KiB) > > Interrupt:8 > > > > eth1 Link encap:Ethernet HWaddr 06:ea:18:00:00:1d > > inet addr:172.16.197.128 Bcast:172.16.197.255 > Mask:255.255.255.0 > > inet6 addr: fe80::4ea:18ff:fe00:1d/64 Scope:Link > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:7660 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:7263 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:1000 > > RX bytes:725043 (708.0 KiB) TX bytes:493022 (481.4 KiB) > > Interrupt:9 > > > > eth2 Link encap:Ethernet HWaddr 06:e3:d0:00:00:34 > > inet addr:172.16.197.160 Bcast:172.16.197.255 > Mask:255.255.255.0 > > inet6 addr: fe80::4e3:d0ff:fe00:34/64 Scope:Link > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:4460 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:1000 > > RX bytes:576789 (563.2 KiB) TX bytes:408 (408.0 B) > > Interrupt:10 > > > > eth3 Link encap:Ethernet HWaddr 06:b3:52:00:00:06 > > inet addr:172.16.197.105 Bcast:172.16.197.255 > Mask:255.255.255.0 > > inet6 addr: fe80::4b3:52ff:fe00:6/64 Scope:Link > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:4462 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:1000 > > RX bytes:576893 (563.3 KiB) TX bytes:408 (408.0 B) > > Interrupt:11 > > > > lo Link encap:Local Loopback > > inet addr:127.0.0.1 Mask:255.0.0.0 > > inet6 addr: ::1/128 Scope:Host > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > RX packets:8 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:0 > > RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) > > > >>> Last Boot Record on XenServer for the Storage VM (Note > >>> host=3D192.168.56.1%port=3D8250) > > > > last-boot-record ( RO): '('struct' ('uuid' > > '4d44e826-2830-29f1-6610-7d7b27ab7b1f') ('allowed_operations' ('array' > > 'changing_dynamic_range' 'pool_migrate' 'changing_VCPUs_live' 'suspend' > > 'hard_reboot' 'hard_shutdown' 'clean_reboot' 'clean_shutdown' 'pause' > > 'checkpoint' 'snapshot')) ('current_operations' ('struct')) > ('power_state' > > 'Running') ('name_label' 's-1-VM') ('name_description' 'Template that > allows > > VM installation from Xen-aware Debian-based distros. To use this templa= te > > from the CLI, install your VM using vm-install, then set > > other-config-install-repository to the path to your network repository, > e.g. > > http:/// > > In order to install Debian Squeeze from CD/DVD the multi-arch ISO image > is > > required.') ('user_version' '1') ('is_a_template' ('boolean' '0')) > > ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' > > 'OpaqueRef:c74b3193-ee6e-1068-be81-6764bf33b391') ('affinity' > > 'OpaqueRef:c74b3193-ee6e-1068-be81-6764bf33b391') ('memory_overhead' > > '101711872') ('memory_target' '104857600') ('memory_static_max' > > '8589934592') ('memory_dynamic_max' '104857600') ('memory_dynamic_min' > > '104857600') ('memory_static_min' '134217728') ('VCPUs_params' ('struct= ' > > ('weight' '11') ('cap' '0'))) ('VCPUs_max' '32') ('VCPUs_at_startup' '1= ') > > ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart') > > ('actions_after_crash' 'destroy') ('consoles' ('array' > > 'OpaqueRef:c97a581a-f560-eb50-b058-6d524f0595dd' > > 'OpaqueRef:954c8857-0a8a-4468-7a4b-4774ddc27663')) ('VIFs' ('array' > > 'OpaqueRef:c4f600d3-208a-e9ba-7c10-17c9226d70a5' > > 'OpaqueRef:a0ba0be5-2bba-d367-7ed1-86c8f7a8a656' > > 'OpaqueRef:3a0c8644-44fb-ea25-d385-f78cea303dbc' > > 'OpaqueRef:4036a6cd-695a-472d-b78c-0ebbd955dbf3')) ('VBDs' ('array' > > 'OpaqueRef:169168c6-f590-eebd-2b0f-c8df641ff4ca' > > 'OpaqueRef:abec488b-2de7-0165-bf49-cdc07ba7ac8a')) ('crash_dumps' > ('array')) > > ('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') > > ('PV_ramdisk' '') ('PV_args' '-- quiet > > > console=3Dhvc0%template=3DdomP%type=3Dsecstorage%host=3D192.168.56.1%port= =3D8250%name=3Ds-1-VM%zone=3D1%pod=3D1%guid=3Ds-1-VM%resource=3Dorg.apache.= cloudstack.storage.resource.NfsSecondaryStorageResource%instance=3DSecStora= ge%sslcopy=3Dtrue%role=3DtemplateProcessor%mtu=3D1500%eth2ip=3D172.16.197.1= 60%eth2mask=3D255.255.255.0%gateway=3D172.16.197.2%eth0ip=3D169.254.2.116%e= th0mask=3D255.255.0.0%eth1ip=3D172.16.197.128%eth1mask=3D255.255.255.0%mgmt= cidr=3D > 192.168.56.0/24%localgw=3D172.16.197.2%private.network.device=3Deth1%eth3= ip=3D172.16.197.105%eth3mask=3D255.255.255.0%storageip=3D172.16.197.105%sto= ragenetmask=3D255.255.255.0%storagegateway=3D172.16.197.2%internaldns1=3D17= 2.16.197.135%dns1=3D172.16.197.135 > ') > > ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' '') > > ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier' ('double' '1')) > > ('platform' ('struct' ('viridian' 'true') ('acpi' 'true') ('apic' 'true= ') > > ('pae' 'true') ('nx' 'false'))) ('PCI_bus' '') ('other_config' ('struct= ' > > ('last_shutdown_time' '20130510T00:28:21Z') ('last_shutdown_action' > > 'Restart') ('last_shutdown_initiator' 'internal') ('last_shutdown_reaso= n' > > 'rebooted') ('debian-release' 'squeeze') ('mac_seed' > > 'f4d95842-e2be-5d5f-9ddc-aae99116812d') ('install-methods' > 'cdrom,http,ftp') > > ('install-distro' 'debianlike') ('install-arch' 'amd64') > ('linux_template' > > 'true'))) ('domid' '7') ('domarch' 'x32') ('last_boot_CPU_flags' > ('struct' > > ('features' '96ba222b-0fabfbff-00000001-28100800') ('vendor' > > 'GenuineIntel'))) ('is_control_domain' ('boolean' '0')) ('metrics' > > 'OpaqueRef:32ccf88c-fb5e-fa34-40f5-7eb8e4d4d7ad') ('guest_metrics' > > 'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations' > > ' max=3D\"34359738368\" > > /> > property=3D\"number-of-vbds\" max=3D\"7\" /> > property=3D\"number-of-vifs\" max=3D\"7\" />') > ('xenstore_data' > > ('struct')) ('ha_always_run' ('boolean' '0')) ('ha_restart_priority' ''= ) > > ('is_a_snapshot' ('boolean' '0')) ('snapshot_of' 'OpaqueRef:NULL') > > ('snapshots' ('array')) ('snapshot_time' ('dateTime.iso8601' > > '19700101T00:00:00Z')) ('transportable_snapshot_id' '') ('blobs' > ('struct')) > > ('tags' ('array')) ('blocked_operations' ('struct')) ('snapshot_info' > > ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL') > ('children' > > ('array')) ('bios_strings' ('struct')) ('protection_policy' > > 'OpaqueRef:NULL') ('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance= ' > > 'OpaqueRef:NULL') ('start_delay' '0') ('shutdown_delay' '0') ('order' > '0') > > ('VGPUs' ('array')) ('attached_PCIs' ('array')) ('suspend_SR' > > 'OpaqueRef:NULL') ('version' '0'))' > > > --089e0122f47c2fa5f504de83c8e6--