Re: Unable to start instance

2016-11-11 Thread Abdul Qayyum Halid
never mind..I just make it running by set router.version.check to false and
restart the management server...Now I am able to run instance. Cheer

On Sat, Nov 12, 2016 at 12:05 PM, Abdul Qayyum Halid <haiy.ha...@gmail.com>
wrote:

> Hello guys, i got this error on CS 4.4 and systemvm 4.4 any suggestion
>
> Job failed due to exception Resource [Host:1] is unreachable: Host 1:
> Unable to start instance due to Unable to send command. Upgrade in
> progress. Please contact administrator.
>


Unable to start instance

2016-11-11 Thread Abdul Qayyum Halid
Hello guys, i got this error on CS 4.4 and systemvm 4.4 any suggestion

Job failed due to exception Resource [Host:1] is unreachable: Host 1:
Unable to start instance due to Unable to send command. Upgrade in
progress. Please contact administrator.


Re: Unable to start management

2016-11-11 Thread Abdul Qayyum Halid
Thanks all, i just start to deploy with fresh installation and its work

On Fri, Nov 11, 2016 at 5:13 PM, Dag Sonstebo <dag.sonst...@shapeblue.com>
wrote:

> +1 for Sergey’s comment - schema-40to410.sql should not run in your
> scenario.
>
> A couple of other things in addition to Sergey’s request:
>
> - Can you send the output of “select * from cloud.version” from your DB.
> - Did you *restart the upgrade after it failed once*? In general if your
> upgrade fails on one of the SQL scripts you have to 1) restore the original
> database, 2) fix the DB issue / upgrade script issue and 3) restart the
> upgrade. In other words you can’t just restart the upgrade again. I have
> seen the “duplicate column” and similar duplication problems before – and
> they can be a result of the same SQL script running and trying the same
> upgrade steps again.
>
> Regards,
> Dag Sonstebo
>
> On 11/11/2016, 04:57, "Abdul Qayyum Halid" <haiy.ha...@gmail.com> wrote:
>
> i am upgrading from 4.6 to 4.9
>
> On Fri, Nov 11, 2016 at 10:41 AM, Sergey Levitskiy <
> sergey.levits...@autodesk.com> wrote:
>
>     > What version are you upgrading from ?
> >
> >
> > On 11/10/16, 6:26 PM, "Abdul Qayyum Halid" <haiy.ha...@gmail.com>
> wrote:
> >
> > Hi, I am having problem to start CS management. The error show
> unable
> > to
> > upgrade databases. MySQL version 5.7, CS 4.9. Any solution?
> Below are
> > the
> > error.Thank you
> >
> > ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:) Error
> executing:
> > alter
> > table vm_template add size bigint unsigned
> > 2016-11-11 10:18:53,229 ERROR [c.c.u.d.ScriptRunner] (main:null)
> > (logid:)
> > com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
> Duplicate
> > column
> > name 'size'
> > 2016-11-11 10:18:53,229 ERROR [c.c.u.DatabaseUpgradeChecker]
> > (main:null)
> > (logid:) Unable to execute upgrade script:
> > /usr/share/cloudstack-management/setup/db/schema-40to410.sql
> > com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
> Duplicate
> > column
> > name 'size'
> > 2016-11-11 10:18:53,233 WARN  [o.a.c.s.m.c.
> ResourceApplicationContext]
> > (main:null) (logid:) Exception encountered during context
> > initialization -
> > cancelling refresh attempt:
> > org.springframework.context.ApplicationContextException: Failed
> to
> > start
> > bean 'cloudStackLifeCycle'; nested exception is
> > com.cloud.utils.exception.CloudRuntimeException: Unable to
> upgrade the
> > database
> >
> >
> >
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


Re: Unable to start management

2016-11-10 Thread Abdul Qayyum Halid
i am upgrading from 4.6 to 4.9

On Fri, Nov 11, 2016 at 10:41 AM, Sergey Levitskiy <
sergey.levits...@autodesk.com> wrote:

> What version are you upgrading from ?
>
>
> On 11/10/16, 6:26 PM, "Abdul Qayyum Halid" <haiy.ha...@gmail.com> wrote:
>
> Hi, I am having problem to start CS management. The error show unable
> to
> upgrade databases. MySQL version 5.7, CS 4.9. Any solution? Below are
> the
> error.Thank you
>
> ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:) Error executing:
> alter
> table vm_template add size bigint unsigned
> 2016-11-11 10:18:53,229 ERROR [c.c.u.d.ScriptRunner] (main:null)
> (logid:)
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate
> column
> name 'size'
> 2016-11-11 10:18:53,229 ERROR [c.c.u.DatabaseUpgradeChecker]
> (main:null)
> (logid:) Unable to execute upgrade script:
> /usr/share/cloudstack-management/setup/db/schema-40to410.sql
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate
> column
> name 'size'
> 2016-11-11 10:18:53,233 WARN  [o.a.c.s.m.c.ResourceApplicationContext]
> (main:null) (logid:) Exception encountered during context
> initialization -
> cancelling refresh attempt:
> org.springframework.context.ApplicationContextException: Failed to
> start
> bean 'cloudStackLifeCycle'; nested exception is
> com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the
> database
>
>
>


Unable to start management

2016-11-10 Thread Abdul Qayyum Halid
Hi, I am having problem to start CS management. The error show unable to
upgrade databases. MySQL version 5.7, CS 4.9. Any solution? Below are the
error.Thank you

ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:) Error executing: alter
table vm_template add size bigint unsigned
2016-11-11 10:18:53,229 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:)
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column
name 'size'
2016-11-11 10:18:53,229 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Unable to execute upgrade script:
/usr/share/cloudstack-management/setup/db/schema-40to410.sql
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column
name 'size'
2016-11-11 10:18:53,233 WARN  [o.a.c.s.m.c.ResourceApplicationContext]
(main:null) (logid:) Exception encountered during context initialization -
cancelling refresh attempt:
org.springframework.context.ApplicationContextException: Failed to start
bean 'cloudStackLifeCycle'; nested exception is
com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the
database


Re: Host on alert status

2016-11-08 Thread Abdul Qayyum Halid
Hi Glenn, thanks for suggestion. I am able to add the host now.

On Tue, Nov 8, 2016 at 4:20 PM, Glenn Wagner <glenn.wag...@shapeblue.com>
wrote:

> Hi,
>
> What Hyopervisor are you using KVM?
>
> Just check that you can connect the agent back to the management server.
> Check your firewall rules on the host, also check that the agent is setup
> correctly in the agent.properties the host setting is not localhost , but
> the IP of the management server (E.G.: host=10.2.2.35
> .
>
> Regards
> Glenn
>
>
> glenn.wag...@shapeblue.com
> www.shapeblue.com
> First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town
> 7129South Africa
> @shapeblue
>
>
>
>
> -Original Message-
> From: Abdul Qayyum Halid <haiy.ha...@gmail.com bdul%20qayyum%20halid%20%3chaiy.ha...@gmail.com%3e>>
> Reply-to: <users@cloudstack.apache.org>
> To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
> Subject: Host on alert status
> Date: Mon, 7 Nov 2016 07:29:59 -0800
>
>
> Hello, I am going to setup basic cloudstack 4.9.0.1 on centos 7 server. The
> problem is the host is show up but its on alert state. There is no error on
> both management and agent log. The ssh also running but i dont know its
> running appropriately or not. Any fix suggestion ? Thank you
>
>


Host on alert status

2016-11-07 Thread Abdul Qayyum Halid
Hello, I am going to setup basic cloudstack 4.9.0.1 on centos 7 server. The
problem is the host is show up but its on alert state. There is no error on
both management and agent log. The ssh also running but i dont know its
running appropriately or not. Any fix suggestion ? Thank you


Re: Unable to add host on Centos 7

2016-11-04 Thread Abdul Qayyum Halid
never mind..i had solve the issue by perform action below

# virsh pool-define /dev/stdin <
  default
  
/var/lib/libvirt/images
  

EOF

virsh pool-start default
virsh pool-autostart default



On Fri, Nov 4, 2016 at 6:05 AM, Abdul Qayyum Halid <haiy.ha...@gmail.com>
wrote:

> Hello, i am trying to install cloudstack 4.9.01 on centos 7 trough vmware
> on single machine. Whenever I try to add host, its show unable to add host
> and the error log shows like below on libvirtd
>
> Nov 04 03:58:14 srvr1.cloud.priv libvirtd[3941]: XML error: missing pool
> source name element
>  Note : Libvirtd is running
> Thank you
>


Unable to add host on Centos 7

2016-11-04 Thread Abdul Qayyum Halid
Hello, i am trying to install cloudstack 4.9.01 on centos 7 trough vmware
on single machine. Whenever I try to add host, its show unable to add host
and the error log shows like below on libvirtd

Nov 04 03:58:14 srvr1.cloud.priv libvirtd[3941]: XML error: missing pool
source name element
 Note : Libvirtd is running
Thank you


Re: Cloudbr1 not connecting to network(Public or private network), hence SSVM not connected to outside world

2016-10-30 Thread Abdul Qayyum Halid
I also not able to ping SSVM and CPVM private ip and public ip from host
machine

On Mon, Oct 31, 2016 at 11:32 AM, Abdul Qayyum Halid <haiy.ha...@gmail.com>
wrote:

> i got the following error on /var/log/cloud.log
>
> 2016-10-29 11:04:54,401 WARN [storage.resource.NfsSecondaryStorageResource]
> (agentRequest-Handler-1:null) addRouteToInternalIp: unable to determine
> same subnet: _eth1ip=null, dest ip=172.16.135.133, _eth1mask=null
> 2016-10-29 11:04:54,401 WARN [storage.resource.NfsSecondaryStorageResource]
> (agentRequest-Handler-1:null) Error in configuring route to internal ip
> err=Error: an inet address is expected rather than "null".
> 2016-10-29 11:04:58,014 WARN  [storage.template.DownloadManagerImpl]
> (agentRequest-Handler-5:null) Post download installation was not completed
> for /mnt/SecStorage/0de4317c-2d8e-3c52-982e-fa6cdade0a2a/template/tmpl/1/4
>
>
> On Sat, Oct 29, 2016 at 7:01 PM, Abdul Qayyum Halid <haiy.ha...@gmail.com>
> wrote:
>
>> hi kumar, sorry for late reply. I am on holiday now. Below is the
>> information you needed
>>
>> root@s-70-VM:~# route -n
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric RefUse
>> Iface
>> 0.0.0.0 172.16.135.254  0.0.0.0 UG0  00
>> eth2
>> 8.8.8.8 172.16.135.254  255.255.255.255 UGH   0  00
>> eth1
>> 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
>> eth0
>> 172.16.134.00.0.0.0 255.255.254.0   U 0  00
>> eth2
>> 172.16.135.00.0.0.0 255.255.255.0   U 0  00
>> eth1
>>
>>
>> On Fri, Oct 28, 2016 at 8:19 PM, <vivek.ku...@indiqus.com> wrote:
>>
>>>
>>>
>>> Can u please share the output of "route -n" of ur ssvm ?
>>>
>>>
>>> Get Outlook for Android
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Oct 28, 2016 at 5:38 PM +0530, "Abdul Qayyum Halid" <
>>> haiy.ha...@gmail.com> wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Hi kumar, yes , my management server able to reach network
>>>
>>> On Friday, 28 October 2016,  wrote:
>>>
>>> >
>>> >
>>> > Are you able to reach internet on management server ?
>>> >
>>> >
>>> > Get Outlook for Android
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Fri, Oct 28, 2016 at 5:42 AM +0530, "Abdul Qayyum Halid" <
>>> > haiy.ha...@gmail.com > wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Hi, i am having a problem on network bridging. I had found that my
>>> cloudbr1
>>> > doesnt connected to any network, hence my SSVM and CPVM cant ping DNS
>>> or
>>> > Gateway excluded the management server althiugh the status is up and
>>> > running. So i can't downlod any ISO. I have flush my IPTABLES on host
>>> > machine trough $sudo iptables -F but its change nothing. Any
>>> suggestion on
>>> > networking setup including during zone creation since my SSVM or CPVM
>>> eth2
>>> > seems doesn't acquire public ip like 203.XX.XX.XX instead of
>>> 172.16.XX.XX.
>>> > Is it necessary that eth2 must to acquire public ip like 203.XX.XX.XX
>>> in
>>> > order to make SSVM or CPVM connected to outside world since i also
>>> doesnt
>>> > know my public gateway instead of private gateway which is
>>> 172.16.xx.xx.
>>> > Any other fix suggestion are most welcome. Below is my current network
>>> > setup. Btw I have management server and host in same machine. Thank you
>>> >
>>> > # interfaces(5) file used by ifup(8) and ifdown(8)
>>> > auto lo
>>> > iface lo inet loopback
>>> >
>>> > # The primary network interface
>>> > auto eth0
>>> > iface eth0 inet manual
>>> >
>>> > # Public network
>>> > auto cloudbr0
>>> > iface cloudbr0 inet static
>>> > address 172.16.135.133
>>> > netmask 255.255.254.0
>>> > gateway 172.16.135.254
>>> > dns-nameservers 172.16.238.7 8.8.8.8
>&g

Re: Cloudbr1 not connecting to network(Public or private network), hence SSVM not connected to outside world

2016-10-30 Thread Abdul Qayyum Halid
i got the following error on /var/log/cloud.log

2016-10-29 11:04:54,401 WARN [storage.resource.NfsSecondaryStorageResource]
(agentRequest-Handler-1:null) addRouteToInternalIp: unable to determine
same subnet: _eth1ip=null, dest ip=172.16.135.133, _eth1mask=null
2016-10-29 11:04:54,401 WARN [storage.resource.NfsSecondaryStorageResource]
(agentRequest-Handler-1:null) Error in configuring route to internal ip
err=Error: an inet address is expected rather than "null".
2016-10-29 11:04:58,014 WARN  [storage.template.DownloadManagerImpl]
(agentRequest-Handler-5:null) Post download installation was not completed
for /mnt/SecStorage/0de4317c-2d8e-3c52-982e-fa6cdade0a2a/template/tmpl/1/4

On Sat, Oct 29, 2016 at 7:01 PM, Abdul Qayyum Halid <haiy.ha...@gmail.com>
wrote:

> hi kumar, sorry for late reply. I am on holiday now. Below is the
> information you needed
>
> root@s-70-VM:~# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 0.0.0.0 172.16.135.254  0.0.0.0 UG0  00
> eth2
> 8.8.8.8 172.16.135.254  255.255.255.255 UGH   0  00
> eth1
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
> eth0
> 172.16.134.00.0.0.0 255.255.254.0   U 0  00
> eth2
> 172.16.135.00.0.0.0 255.255.255.0   U 0  00
> eth1
>
>
> On Fri, Oct 28, 2016 at 8:19 PM, <vivek.ku...@indiqus.com> wrote:
>
>>
>>
>> Can u please share the output of "route -n" of ur ssvm ?
>>
>>
>> Get Outlook for Android
>>
>>
>>
>>
>>
>>
>> On Fri, Oct 28, 2016 at 5:38 PM +0530, "Abdul Qayyum Halid" <
>> haiy.ha...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Hi kumar, yes , my management server able to reach network
>>
>> On Friday, 28 October 2016,  wrote:
>>
>> >
>> >
>> > Are you able to reach internet on management server ?
>> >
>> >
>> > Get Outlook for Android
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Fri, Oct 28, 2016 at 5:42 AM +0530, "Abdul Qayyum Halid" <
>> > haiy.ha...@gmail.com > wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > Hi, i am having a problem on network bridging. I had found that my
>> cloudbr1
>> > doesnt connected to any network, hence my SSVM and CPVM cant ping DNS or
>> > Gateway excluded the management server althiugh the status is up and
>> > running. So i can't downlod any ISO. I have flush my IPTABLES on host
>> > machine trough $sudo iptables -F but its change nothing. Any suggestion
>> on
>> > networking setup including during zone creation since my SSVM or CPVM
>> eth2
>> > seems doesn't acquire public ip like 203.XX.XX.XX instead of
>> 172.16.XX.XX.
>> > Is it necessary that eth2 must to acquire public ip like 203.XX.XX.XX
>> in
>> > order to make SSVM or CPVM connected to outside world since i also
>> doesnt
>> > know my public gateway instead of private gateway which is 172.16.xx.xx.
>> > Any other fix suggestion are most welcome. Below is my current network
>> > setup. Btw I have management server and host in same machine. Thank you
>> >
>> > # interfaces(5) file used by ifup(8) and ifdown(8)
>> > auto lo
>> > iface lo inet loopback
>> >
>> > # The primary network interface
>> > auto eth0
>> > iface eth0 inet manual
>> >
>> > # Public network
>> > auto cloudbr0
>> > iface cloudbr0 inet static
>> > address 172.16.135.133
>> > netmask 255.255.254.0
>> > gateway 172.16.135.254
>> > dns-nameservers 172.16.238.7 8.8.8.8
>> > dns-domain UTP.EDU.MY
>> > bridge_ports eth0
>> > bridge_fd 5
>> > bridge_stp off
>> > bridge_maxwait 1
>> >
>> > # Private network
>> > auto cloudbr1
>> > iface cloudbr1 inet manual
>> > bridge_ports eth0.300
>> > bridge_fd 5
>> > bridge_stp off
>> > bridge_maxwait 1
>> >
>> > 
>> > --
>> >
>> > # SSVM /etc/network/interfaces
>> > auto lo eth0 eth1 eth2
>> > ifa

Re: Cloudbr1 not connecting to network(Public or private network), hence SSVM not connected to outside world

2016-10-29 Thread Abdul Qayyum Halid
hi kumar, sorry for late reply. I am on holiday now. Below is the
information you needed

root@s-70-VM:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
0.0.0.0 172.16.135.254  0.0.0.0 UG0  00 eth2
8.8.8.8 172.16.135.254  255.255.255.255 UGH   0  00 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
172.16.134.00.0.0.0 255.255.254.0   U 0  00 eth2
172.16.135.00.0.0.0 255.255.255.0   U 0  00 eth1


On Fri, Oct 28, 2016 at 8:19 PM, <vivek.ku...@indiqus.com> wrote:

>
>
> Can u please share the output of "route -n" of ur ssvm ?
>
>
> Get Outlook for Android
>
>
>
>
>
>
> On Fri, Oct 28, 2016 at 5:38 PM +0530, "Abdul Qayyum Halid" <
> haiy.ha...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
>
> Hi kumar, yes , my management server able to reach network
>
> On Friday, 28 October 2016,  wrote:
>
> >
> >
> > Are you able to reach internet on management server ?
> >
> >
> > Get Outlook for Android
> >
> >
> >
> >
> >
> >
> > On Fri, Oct 28, 2016 at 5:42 AM +0530, "Abdul Qayyum Halid" <
> > haiy.ha...@gmail.com > wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi, i am having a problem on network bridging. I had found that my
> cloudbr1
> > doesnt connected to any network, hence my SSVM and CPVM cant ping DNS or
> > Gateway excluded the management server althiugh the status is up and
> > running. So i can't downlod any ISO. I have flush my IPTABLES on host
> > machine trough $sudo iptables -F but its change nothing. Any suggestion
> on
> > networking setup including during zone creation since my SSVM or CPVM
> eth2
> > seems doesn't acquire public ip like 203.XX.XX.XX instead of
> 172.16.XX.XX.
> > Is it necessary that eth2 must to acquire public ip like 203.XX.XX.XX  in
> > order to make SSVM or CPVM connected to outside world since i also doesnt
> > know my public gateway instead of private gateway which is 172.16.xx.xx.
> > Any other fix suggestion are most welcome. Below is my current network
> > setup. Btw I have management server and host in same machine. Thank you
> >
> > # interfaces(5) file used by ifup(8) and ifdown(8)
> > auto lo
> > iface lo inet loopback
> >
> > # The primary network interface
> > auto eth0
> > iface eth0 inet manual
> >
> > # Public network
> > auto cloudbr0
> > iface cloudbr0 inet static
> > address 172.16.135.133
> > netmask 255.255.254.0
> > gateway 172.16.135.254
> > dns-nameservers 172.16.238.7 8.8.8.8
> > dns-domain UTP.EDU.MY
> > bridge_ports eth0
> > bridge_fd 5
> > bridge_stp off
> > bridge_maxwait 1
> >
> > # Private network
> > auto cloudbr1
> > iface cloudbr1 inet manual
> > bridge_ports eth0.300
> > bridge_fd 5
> > bridge_stp off
> > bridge_maxwait 1
> >
> > 
> > --
> >
> > # SSVM /etc/network/interfaces
> > auto lo eth0 eth1 eth2
> > iface lo inet loopback
> >
> > iface  eth0 inet static
> >   address 169.254.0.193
> >   netmask 255.255.0.0
> > iface  eth1 inet static
> >   address 172.16.135.146
> >   netmask 255.255.254.0
> > iface  eth2 inet static
> >   address 172.16.135.11
> >   netmask 255.255.254.0
> >
> > 
> > -
> >
> > #SSVM health check
> >
> > 
> > First DNS server is  172.16.238.6
> > PING 172.16.238.6 (172.16.238.6): 48 data bytes
> > --- 172.16.238.6 ping statistics ---
> > 2 packets transmitted, 0 packets received, 100% packet loss
> > WARNING: cannot ping DNS server
> > route follows
> > Kernel IP routing table
> > Destination Gateway  Genmask  Flags   Metric Ref
> > Use Iface
> > 0.0.0.0172.16.135.254   0.0.0.0   UG  0
> > 00   eth2
> > 169.254.0.0  0.0.0.0  255.255.0.0  U   0
> > 00   eth0
> > 172.16.134.00.0.0.0  255.255.254.0   U  0
> > 00   eth1
> > 172.16.134.00.0.0.0  255.255.254.0   U  0
> > 00   eth2
> > 172.16.238.6172.16.135.254  255.255.255.255  UGH   0   00
> > eth1
> > 
> > ERROR: DNS not resolving download.cloud.com
> > resolv.conf follows
> > nameserver 172.16.238.6
> > nameserver 172.16.238.7
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>


Re: Cloudbr1 not connecting to network(Public or private network), hence SSVM not connected to outside world

2016-10-29 Thread Abdul Qayyum Halid
hi kirk,sorry for the late reply. I am on holiday now. Below are the
information you needed

qayyum@qayyum-HPCC:~$ brctl show
bridge namebridge idSTP enabledinterfaces
cloud08000.fe00a9fe012bnovnet0
vnet3
cloudbr08000.08626630c3ebnoeth0
cloudbr18000.no
virbr08000.yes

_
#agent.properties

#Storage
#Sat Oct 29 18:39:18 MYT 2016
guest.network.device=cloudbr0
workers=5
private.network.device=cloudbr0
port=8250
resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource
pod=1
zone=1
hypervisor.type=kvm
guid=fae32e91-bf9d-3fa0-88b7-f15cf7bb9886
guest.cpu.features=vmx ept aes smx mmx ht (space separated list of cpu
flags to apply)
public.network.device=cloudbr0
cluster=1
local.storage.uuid=292457d7-2a7f-4c5e-a5f1-9aef5e84e9d4
domr.scripts.dir=scripts/network/domr/kvm
LibvirtComputingResource.id=18
host=172.16.135.133
guest.cpu.model=from /usr/share/libvirt/cpu_map.xml(only valid when
guest.cpu.mode\=custom)

**NOTE: if I set private.network.device to cloudbr1, the agent state on
SSVM and CPVM will not "UP". Is it cause of cloudbr1 doesnt have connection?

On Sat, Oct 29, 2016 at 8:48 AM, Kirk Kosinski <kirk.kosin...@shapeblue.com>
wrote:

> Hi, Abdul.  Please provide the output of:
>
> brctl show
>
> And the contents of:
>
> /etc/cloudstack/agent/agent.properties
>
> From the KVM host.
>
> Best regards,
> Kirk
>
> kirk.kosin...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HS
> @shapeblue
>
>
>
>
> -Original Message-
> From: Abdul Qayyum Halid [mailto:haiy.ha...@gmail.com]
> Sent: Thursday, October 27, 2016 5:12 PM
> To: users@cloudstack.apache.org
> Subject: Cloudbr1 not connecting to network(Public or private network),
> hence SSVM not connected to outside world
>
> Hi, i am having a problem on network bridging. I had found that my
> cloudbr1 doesnt connected to any network, hence my SSVM and CPVM cant ping
> DNS or Gateway excluded the management server althiugh the status is up and
> running. So i can't downlod any ISO. I have flush my IPTABLES on host
> machine trough $sudo iptables -F but its change nothing. Any suggestion on
> networking setup including during zone creation since my SSVM or CPVM eth2
> seems doesn't acquire public ip like 203.XX.XX.XX instead of 172.16.XX.XX.
> Is it necessary that eth2 must to acquire public ip like 203.XX.XX.XX  in
> order to make SSVM or CPVM connected to outside world since i also doesnt
> know my public gateway instead of private gateway which is 172.16.xx.xx.
> Any other fix suggestion are most welcome. Below is my current network
> setup. Btw I have management server and host in same machine. Thank you
>
> # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet
> loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet manual
>
> # Public network
> auto cloudbr0
> iface cloudbr0 inet static
> address 172.16.135.133
> netmask 255.255.254.0
> gateway 172.16.135.254
> dns-nameservers 172.16.238.7 8.8.8.8
> dns-domain UTP.EDU.MY <http://utp.edu.my/>
> bridge_ports eth0
> bridge_fd 5
> bridge_stp off
> bridge_maxwait 1
>
> # Private network
> auto cloudbr1
> iface cloudbr1 inet manual
> bridge_ports eth0.300
> bridge_fd 5
> bridge_stp off
> bridge_maxwait 1
>
> 
> --
>
> # SSVM /etc/network/interfaces
> auto lo eth0 eth1 eth2
> iface lo inet loopback
>
> iface  eth0 inet static
>   address 169.254.0.193
>   netmask 255.255.0.0
> iface  eth1 inet static
>   address 172.16.135.146
>   netmask 255.255.254.0
> iface  eth2 inet static
>   address 172.16.135.11
>   netmask 255.255.254.0
>
> 
> -
>
> #SSVM health check
>
> 
> First DNS server is  172.16.238.6
> PING 172.16.238.6 (172.16.238.6): 48 data bytes
> --- 172.16.238.6 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
> WARNING: cannot ping DNS server
> route follows
> Kernel IP routing table
> Destination Gateway  Genmask  Flags   Metric Ref
> Use Iface
> 0.0.0.0172.16.135.254   0.0.0.0   UG  0
> 00   eth2
> 169.254.0.0  0.0.0.0  255.255.0.0  U   0
> 00   eth0

Re: Cloudbr1 not connecting to network(Public or private network), hence SSVM not connected to outside world

2016-10-28 Thread Abdul Qayyum Halid
Hi kumar, yes , my management server able to reach network

On Friday, 28 October 2016, <vivek.ku...@indiqus.com> wrote:

>
>
> Are you able to reach internet on management server ?
>
>
> Get Outlook for Android
>
>
>
>
>
>
> On Fri, Oct 28, 2016 at 5:42 AM +0530, "Abdul Qayyum Halid" <
> haiy.ha...@gmail.com <javascript:;>> wrote:
>
>
>
>
>
>
>
>
>
>
> Hi, i am having a problem on network bridging. I had found that my cloudbr1
> doesnt connected to any network, hence my SSVM and CPVM cant ping DNS or
> Gateway excluded the management server althiugh the status is up and
> running. So i can't downlod any ISO. I have flush my IPTABLES on host
> machine trough $sudo iptables -F but its change nothing. Any suggestion on
> networking setup including during zone creation since my SSVM or CPVM eth2
> seems doesn't acquire public ip like 203.XX.XX.XX instead of 172.16.XX.XX.
> Is it necessary that eth2 must to acquire public ip like 203.XX.XX.XX  in
> order to make SSVM or CPVM connected to outside world since i also doesnt
> know my public gateway instead of private gateway which is 172.16.xx.xx.
> Any other fix suggestion are most welcome. Below is my current network
> setup. Btw I have management server and host in same machine. Thank you
>
> # interfaces(5) file used by ifup(8) and ifdown(8)
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet manual
>
> # Public network
> auto cloudbr0
> iface cloudbr0 inet static
> address 172.16.135.133
> netmask 255.255.254.0
> gateway 172.16.135.254
> dns-nameservers 172.16.238.7 8.8.8.8
> dns-domain UTP.EDU.MY
> bridge_ports eth0
> bridge_fd 5
> bridge_stp off
> bridge_maxwait 1
>
> # Private network
> auto cloudbr1
> iface cloudbr1 inet manual
> bridge_ports eth0.300
> bridge_fd 5
> bridge_stp off
> bridge_maxwait 1
>
> 
> --
>
> # SSVM /etc/network/interfaces
> auto lo eth0 eth1 eth2
> iface lo inet loopback
>
> iface  eth0 inet static
>   address 169.254.0.193
>   netmask 255.255.0.0
> iface  eth1 inet static
>   address 172.16.135.146
>   netmask 255.255.254.0
> iface  eth2 inet static
>   address 172.16.135.11
>   netmask 255.255.254.0
>
> 
> -
>
> #SSVM health check
>
> 
> First DNS server is  172.16.238.6
> PING 172.16.238.6 (172.16.238.6): 48 data bytes
> --- 172.16.238.6 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
> WARNING: cannot ping DNS server
> route follows
> Kernel IP routing table
> Destination Gateway  Genmask  Flags   Metric Ref
> Use Iface
> 0.0.0.0172.16.135.254   0.0.0.0   UG  0
> 00   eth2
> 169.254.0.0  0.0.0.0  255.255.0.0  U   0
> 00   eth0
> 172.16.134.00.0.0.0  255.255.254.0   U  0
> 00   eth1
> 172.16.134.00.0.0.0  255.255.254.0   U  0
> 00   eth2
> 172.16.238.6172.16.135.254  255.255.255.255  UGH   0   00
> eth1
> 
> ERROR: DNS not resolving download.cloud.com
> resolv.conf follows
> nameserver 172.16.238.6
> nameserver 172.16.238.7
>
>
>
>
>
>


Cloudbr1 not connecting to network(Public or private network), hence SSVM not connected to outside world

2016-10-27 Thread Abdul Qayyum Halid
Hi, i am having a problem on network bridging. I had found that my cloudbr1
doesnt connected to any network, hence my SSVM and CPVM cant ping DNS or
Gateway excluded the management server althiugh the status is up and
running. So i can't downlod any ISO. I have flush my IPTABLES on host
machine trough $sudo iptables -F but its change nothing. Any suggestion on
networking setup including during zone creation since my SSVM or CPVM eth2
seems doesn't acquire public ip like 203.XX.XX.XX instead of 172.16.XX.XX.
Is it necessary that eth2 must to acquire public ip like 203.XX.XX.XX  in
order to make SSVM or CPVM connected to outside world since i also doesnt
know my public gateway instead of private gateway which is 172.16.xx.xx.
Any other fix suggestion are most welcome. Below is my current network
setup. Btw I have management server and host in same machine. Thank you

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

# Public network
auto cloudbr0
iface cloudbr0 inet static
address 172.16.135.133
netmask 255.255.254.0
gateway 172.16.135.254
dns-nameservers 172.16.238.7 8.8.8.8
dns-domain UTP.EDU.MY 
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth0.300
bridge_fd 5
bridge_stp off
bridge_maxwait 1

--

# SSVM /etc/network/interfaces
auto lo eth0 eth1 eth2
iface lo inet loopback

iface  eth0 inet static
  address 169.254.0.193
  netmask 255.255.0.0
iface  eth1 inet static
  address 172.16.135.146
  netmask 255.255.254.0
iface  eth2 inet static
  address 172.16.135.11
  netmask 255.255.254.0

-

#SSVM health check


First DNS server is  172.16.238.6
PING 172.16.238.6 (172.16.238.6): 48 data bytes
--- 172.16.238.6 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
WARNING: cannot ping DNS server
route follows
Kernel IP routing table
Destination Gateway  Genmask  Flags   Metric Ref
Use Iface
0.0.0.0172.16.135.254   0.0.0.0   UG  0
00   eth2
169.254.0.0  0.0.0.0  255.255.0.0  U   0
00   eth0
172.16.134.00.0.0.0  255.255.254.0   U  0
00   eth1
172.16.134.00.0.0.0  255.255.254.0   U  0
00   eth2
172.16.238.6172.16.135.254  255.255.255.255  UGH   0   00
eth1

ERROR: DNS not resolving download.cloud.com
resolv.conf follows
nameserver 172.16.238.6
nameserver 172.16.238.7


Re: Cannot resolve DNS and download.cloud.com(No template available while creating instance)

2016-10-26 Thread Abdul Qayyum Halid
Hi Dag
I had view that thread, any suggestion on cloudbr1 setup. According to
shapeblue installation guide, there just disable the cloudbr1 by set
bridge_port to none. Can you give the suggestion on how to make my cloudbr1
connect to my public ip which is 203.xx.xx.xx instead of 172.16.xx.xx.
Thanks

On Wednesday, 26 October 2016, Dag Sonstebo <dag.sonst...@shapeblue.com>
wrote:

> Hi Abdul,
>
> This was discussed in a thread a few days back – please see the email
> thread with subject “SSVM unable to ping outside, only management server”.
>
> In short – you have a networking problem preventing the SSVM from reaching
> your DNS server – subsequently it can not DNS name resolve anything.
>
> Regards,
> Dag Sonstebo
>
> On 26/10/2016, 04:11, "Abdul Qayyum Halid" <haiy.ha...@gmail.com
> <javascript:;>> wrote:
>
> Hello i'm going to setup basic cloudstack,my problem was as above. I am
> able to create SSVM and CPVM and the status is running and up.But
> while i'm
> check the ssvm health through /usr/local/cloud/systemvm/ssvm-check.sh
> it
> shows as below...
>
> 
> First DNS server is  172.16.238.6
> PING 172.16.238.6 (172.16.238.6): 48 data bytes
> --- 172.16.238.6 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
> WARNING: cannot ping DNS server
> route follows
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 0.0.0.0 172.16.135.254  0.0.0.0 UG0  0
> 0 eth2
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0  0
> 0 eth0
> 172.16.134.00.0.0.0 255.255.254.0   U 0  0
> 0 eth1
> 172.16.134.00.0.0.0 255.255.254.0   U 0  0
> 0 eth2
> 172.16.238.6172.16.135.254  255.255.255.255 UGH   0  0
> 0 eth1
> 
> ERROR: DNS not resolving download.cloud.com
> resolv.conf follows
> nameserver 172.16.238.6
> nameserver 172.16.238.7
>
> Below is my /etc/network/interfaces configuration. For your
> information, i
> place my template at /export/secondary rather than /mnt/secondary.
>
> # interfaces(5) file used by ifup(8) and ifdown(8)
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet manual
>
> # Public network
> auto cloudbr0
> iface cloudbr0 inet static
> address 172.16.135.133
> netmask 255.255.254.0
> gateway 172.16.135.254
> dns-nameservers 172.16.238.7 172.16.238.6
> dns-domain UTP.EDU.MY
> #   bridge_ports eth0.200
> bridge_ports eth0
> bridge_fd 5
> bridge_stp off
> bridge_maxwait 1
>
> # Private network
> auto cloudbr1
> iface cloudbr1 inet manual
> bridge_ports none
> bridge_fd 5
> bridge_stp off
> bridge_maxwait 1
>
> Below is my SSVM /etc/network/interfaces
>
> auto lo eth0 eth1 eth2
> iface lo inet loopback
>
> iface  eth0 inet static
>   address 169.254.0.193
>   netmask 255.255.0.0
> iface  eth1 inet static
>   address 172.16.135.146
>   netmask 255.255.254.0
> iface  eth2 inet static
>   address 172.16.135.11
>   netmask 255.255.254.0
>
>
> thank you for help.. ;-)
>
>
>
> dag.sonst...@shapeblue.com <javascript:;>
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


Cannot resolve DNS and download.cloud.com(No template available while creating instance)

2016-10-25 Thread Abdul Qayyum Halid
Hello i'm going to setup basic cloudstack,my problem was as above. I am
able to create SSVM and CPVM and the status is running and up.But while i'm
check the ssvm health through /usr/local/cloud/systemvm/ssvm-check.sh it
shows as below...


First DNS server is  172.16.238.6
PING 172.16.238.6 (172.16.238.6): 48 data bytes
--- 172.16.238.6 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
WARNING: cannot ping DNS server
route follows
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
0.0.0.0 172.16.135.254  0.0.0.0 UG0  00 eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
172.16.134.00.0.0.0 255.255.254.0   U 0  00 eth1
172.16.134.00.0.0.0 255.255.254.0   U 0  00 eth2
172.16.238.6172.16.135.254  255.255.255.255 UGH   0  00 eth1

ERROR: DNS not resolving download.cloud.com
resolv.conf follows
nameserver 172.16.238.6
nameserver 172.16.238.7

Below is my /etc/network/interfaces configuration. For your information, i
place my template at /export/secondary rather than /mnt/secondary.

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

# Public network
auto cloudbr0
iface cloudbr0 inet static
address 172.16.135.133
netmask 255.255.254.0
gateway 172.16.135.254
dns-nameservers 172.16.238.7 172.16.238.6
dns-domain UTP.EDU.MY
#   bridge_ports eth0.200
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports none
bridge_fd 5
bridge_stp off
bridge_maxwait 1

Below is my SSVM /etc/network/interfaces

auto lo eth0 eth1 eth2
iface lo inet loopback

iface  eth0 inet static
  address 169.254.0.193
  netmask 255.255.0.0
iface  eth1 inet static
  address 172.16.135.146
  netmask 255.255.254.0
iface  eth2 inet static
  address 172.16.135.11
  netmask 255.255.254.0


thank you for help.. ;-)