Hello Andrija,

Thanks for the quick response.
Here is detail:
1. I tried with latest version give in the link you shared  
https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst.
  But same result All my installation endup with same result. I mean with error 
  "There is no secondary storage VM for secondary storage host nfs". Even With 
disabled firewall as well.  

2.  when you says "KVM traffic label"  I think you are telling to use bridge 
cloudbr0 .I am using the same as you can see in the attached outputs. I didn't 
see any green/red/blue/yellow nice buttons in GUI interface.
      Can you please guide me where I can find those?
3. You said don't reboot SVM  manually. I agree but I can't find any other way 
to find what is going on. It is not accessible through console view in gui. 
Neither using this command "ssh -i    /var/cloudstack/management/.ssh/id_rsa  
-p 3922 root@169.254.3.222". However I can see the ip address assigned on gui  
of cloudstackt manager.

Please find attached all the detail you are looking for.  Let me know if needed 
further information.

Centos6 is with old setup and Centos7 with the link you shared . Remember only 
one server was up a time.

Regards
Vivek



         

-----Original Message-----
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: 27 December 2018 15:11
To: users <users@cloudstack.apache.org>
Subject: Re: Storage VM not getting start new setup

Hi Vivek,

FYI: Please note that CentOS 6 is depreciated in latest CloudStack version
- perhaps better to try with latest versions of Centos and CloudStack as noted 
here:
https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
- this a fresh guide, tested properly on Centos 7.5 and CLoudStack 4.11.2

But down to your problem...

Based on your input there are 2 VMs started - but not fully "patched" to become 
CPVM and SSVM.

Don't ever manually reboot VMs since they are not meant to be rebooted - it 
will boot broken with i.e. no network config inside etc.
Just use the "Destroy" button on both CPVM and SSVM  and they will be 
re-generated again brand new. After VMs are initially created, there will be 
special ISO attached to them to "patch" them properly and these vanila VMs will 
be configured as needed (with custom scripts and info from DB), including IP 
settings etc...
It takes some time to bring up the VMs, so please be patient.

I would also stronglu suggest, during troubleshooting, to disable firewall 
completely on KVM host - later you can play with it - and it can sometimes be a 
problem - so safer to disable during installation.

Can you share your network setup on KVM host , and zone netwrok setup, 
hypervisor used, etc ? If you are following quick guide, I assume KVM on CentOS 
6..
Name of your bridge should be set as the "KVM traffic label" for each traffic 
type (Management, Guest,Storage etc) - when you click on these 
green/red/blue/yellow nice buttons, you can set "KVM traffic label" - this 
should be the name of your bridge that you previously created on KVM host.

Another things to mention - after CPVM and SSVM are started fine - you can use 
Console access to SSVM and login with root/password, and then test SSVM
operations by running script:      /usr/local/cloud/systemvm/ssvm-check.sh
This script will check if SSVM can access internet, if DNS resolution works, if 
it can mount Secondary Storage to itself, and if it can connect it's Agent to 
the Management Server.

Cheers
Andrija




On Thu, 27 Dec 2018 at 12:22, Vivek Singh <vive...@cyborgsys.net> wrote:

> Hello Friends,
>
>
>
> I am new to cloudstack and from last 2 weeks I am struggling to 
> install  cloudstack using  quick installation procedure ( 
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/
> 4.9/qig.html
> ).
>
> I tried all the method that I can google and apply but no luck.
>
>
>
>
>
> I am using  VM on ESXi  as a management server. I enable promiscuous 
> mode on ESXi switch. I am using Centos6.10
>
>
>
> My ssvm and cosole-proxy VM are not coming up. I'm login through 
> virt-manager  into both system vm and found their network cards are not up.
>
> I assign static ip and rebooted but all the ip deleted from interfaces 
> after reboot.
>
>
>
> I am attaching log when I started the installation utill I getting the 
> error message “There is no secondary storage VM for secondary storage host”.
>
>
>
>
>
> I really appreciate any help
>
>
>
>
>
>
>
> *Vivek Singh *
>
>
>


-- 

Andrija Panić
[root@server7 ~]# ifconfig
cloud0    Link encap:Ethernet  HWaddr FE:00:A9:FE:00:FC
          inet addr:169.254.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::6c52:93ff:fea9:bf8d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:95597 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3550 (3.4 KiB)  TX bytes:4015290 (3.8 MiB)

cloudbr0  Link encap:Ethernet  HWaddr 00:0C:29:97:D8:7D
          inet addr:192.168.100.31  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe97:d87d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:227818 errors:0 dropped:0 overruns:0 frame:0
          TX packets:118117 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:331193495 (315.8 MiB)  TX bytes:54690005 (52.1 MiB)

eth0      Link encap:Ethernet  HWaddr 00:0C:29:97:D8:7D
          inet6 addr: fe80::20c:29ff:fe97:d87d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:375745 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9557 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:425860866 (406.1 MiB)  TX bytes:18336823 (17.4 MiB)

eth1      Link encap:Ethernet  HWaddr 00:0C:29:97:D8:87
          inet6 addr: fe80::20c:29ff:fe97:d887/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:389361 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2513 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:443154069 (422.6 MiB)  TX bytes:855022 (834.9 KiB)

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:65536  Metric:1
          RX packets:7253565 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7253565 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2165511045 (2.0 GiB)  TX bytes:2165511045 (2.0 GiB)

virbr0    Link encap:Ethernet  HWaddr 52:54:00:6B:2B:6C
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vnet0     Link encap:Ethernet  HWaddr FE:00:A9:FE:00:FC
          inet6 addr: fe80::fc00:a9ff:fefe:fc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:323 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:13782 (13.4 KiB)

vnet1     Link encap:Ethernet  HWaddr FE:2C:32:00:00:07
          inet6 addr: fe80::fc2c:32ff:fe00:7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:275 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:21974 (21.4 KiB)

vnet2     Link encap:Ethernet  HWaddr FE:2E:88:00:00:0B
          inet6 addr: fe80::fc2e:88ff:fe00:b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:275 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:21974 (21.4 KiB)

vnet3     Link encap:Ethernet  HWaddr FE:00:A9:FE:00:FD
          inet6 addr: fe80::fc00:a9ff:fefe:fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:324 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:13824 (13.5 KiB)

vnet4     Link encap:Ethernet  HWaddr FE:0E:D2:00:00:03
          inet6 addr: fe80::fc0e:d2ff:fe00:3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:275 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:21974 (21.4 KiB)

vnet5     Link encap:Ethernet  HWaddr FE:D9:BA:00:00:0C
          inet6 addr: fe80::fcd9:baff:fe00:c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:275 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:21974 (21.4 KiB)

[root@server7 ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
cloud0          8000.fe00a9fe00fc       no              vnet0
                                                        vnet3
cloudbr0                8000.000c2997d87d       no              eth0
                                                        vnet1
                                                        vnet2
                                                        vnet4
                                                        vnet5
virbr0          8000.5254006b2b6c       yes             virbr0-nic
[root@server7 ~]#
[root@server8 management]# ifconfig
cloud0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        inet6 fe80::94df:feff:fe41:74ff  prefixlen 64  scopeid 0x20<link>
        ether fe:00:a9:fe:00:e7  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 47690  bytes 2003300 (1.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

cloudbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.101  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::20c:29ff:fe55:77ee  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:55:77:ee  txqueuelen 1000  (Ethernet)
        RX packets 83270  bytes 586920048 (559.7 MiB)
        RX errors 0  dropped 22  overruns 0  frame 0
        TX packets 60013  bytes 12566227 (11.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::20c:29ff:fe55:77ee  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:55:77:ee  txqueuelen 1000  (Ethernet)
        RX packets 464013  bytes 632101573 (602.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 90042  bytes 14128393 (13.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 5992390  bytes 3359027734 (3.1 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5992390  bytes 3359027734 (3.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:2e:e5:55  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc00:a9ff:fefe:e7  prefixlen 64  scopeid 0x20<link>
        ether fe:00:a9:fe:00:e7  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 46690 overruns 0  carrier 0  collisions 0

vnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc00:98ff:fe00:5  prefixlen 64  scopeid 0x20<link>
        ether fe:00:98:00:00:05  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 27008 overruns 0  carrier 0  collisions 0

vnet2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc00:35ff:fe00:b  prefixlen 64  scopeid 0x20<link>
        ether fe:00:35:00:00:0b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 27008 overruns 0  carrier 0  collisions 0

vnet3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc00:a9ff:fefe:252  prefixlen 64  scopeid 0x20<link>
        ether fe:00:a9:fe:02:52  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 46689 overruns 0  carrier 0  collisions 0

vnet4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc00:acff:fe00:8  prefixlen 64  scopeid 0x20<link>
        ether fe:00:ac:00:00:08  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 27007 overruns 0  carrier 0  collisions 0

vnet5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc00:bcff:fe00:c  prefixlen 64  scopeid 0x20<link>
        ether fe:00:bc:00:00:0c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 27007 overruns 0  carrier 0  collisions 0

[root@server8 management]#
[root@server8 management]# brctl show
bridge name     bridge id               STP enabled     interfaces
cloud0          8000.fe00a9fe00e7       no              vnet0
                                                        vnet3
cloudbr0                8000.000c295577ee       yes             ens160
                                                        vnet1
                                                        vnet2
                                                        vnet4
                                                        vnet5
virbr0          8000.5254002ee555       yes             virbr0-nic
[root@server8 management]#

Reply via email to