Well, check you "Internal DNS" on the Zone - in the Rohit's article (I just scrolled/searched through it) - it's not clear that DNS server is 192.168.1.1 which is also the IP of the gateway used in the example - though the physical hosts is set to use 1.1.1.1 (new to me, but exists :) )...
Optionally change Internal DNS to also 8.8.8.8 or any public, disable zone, destroy SSVM/CPVM, enable zone and check ssvm again... On Fri, 26 Oct 2018 at 21:45, Andrija Panic <andrija.pa...@gmail.com> wrote: > Well for the beginning - destroy the SSVM and it will be recreated in few > tens of seconds... > When you view Infrastructure --> System VMs tab, There is Agent filed > which has to say "Up" - https://pasteboard.co/HKhvFr6.png here is > screenshot. > > It takes, say, 1-3 minutes for Agent to connect (Vm start, and agent > connect) - or a bit more on slower demo infra - but wait for Agent to be > connected... if it doesn't connect in some minutes, then you might have a > firewall issue (SSVM agent can't connect to mgmt server on port 8250) - in > this case fix firewall and better destroy ssvm again and check again. > > If agent is connected all fine - then SSVM should be all fine and > configured properly - so after that is has to say "NFS is Mounted" - if it > instead shows IP address or similar, then maybe there is some networking > setup issue. > > Cheers > Andrija > > > > On Fri, 26 Oct 2018 at 21:35, Alexandre Bruyere < > bruyere.alexan...@gmail.com> wrote: > >> NFS was not in fact mounted. How'd I fix that? >> >> (Thanks a lot for the help) >> >> On Fri, Oct 26, 2018 at 3:26 PM Andrija Panic <andrija.pa...@gmail.com> >> wrote: >> >> > my typo on key name - name of the key (my installation) is >> > "/root/.ssh/id_rsa.cloud" (on the agent KVM node) - I swapped dot and >> > underscore in previous email, sorry - same key is also avilable on MGMT >> > server: /usr/share/cloudstack-common/scripts/vm/systemvm/id_rsa.cloud >> > >> > Anyway, via Console Access:: >> > open Console windows of Secondary Storage VM >> > root / password (yes... ssh listens only on local interface, so no >> security >> > issue...) >> > >> > here again execute the script from previous email... >> > >> > should report all fine - especially check agent connection says >> connected, >> > that it says "NFS is mounted" or similar, and also make sure DNS >> resolution >> > works :) - all from the script. >> > >> > >> > Cheers >> > >> > On Fri, 26 Oct 2018 at 21:12, Alexandre Bruyere < >> > bruyere.alexan...@gmail.com> >> > wrote: >> > >> > > Command doesn't seem to work (says it can't find the ID file). Though >> if >> > > there's a default password for system VMs I could use the console. >> > > >> > > Adding that template doesn't seem to work. >> > > >> > > On Fri, Oct 26, 2018 at 2:47 PM Andrija Panic < >> andrija.pa...@gmail.com> >> > > wrote: >> > > >> > > > Just tested URL above, with normal (not direct) download, and it >> works >> > > > fine. (ACS 4.11.2 RC3) >> > > > >> > > > Did you check the health of the Secondary Storage Virtual Machine - >> I >> > > would >> > > > suggest to do so, since this seems as possible issue with SSVM and >> it >> > > might >> > > > means other issues for your deployment also. >> > > > >> > > > >> > > > 1. >> > > > >> > > > ssh -i /root/.ssh/id.rsa_cloud -p 3922 root@<Private Ip >> address >> > of >> > > > SSVM> >> > > > 2. *SSVM health check* - Run the following script inside ssvm: >> > > > /usr/local/cloud/systemvm/ssvm-check.sh >> > > > It checks for 1)connectivity with DNS server 2) resolving of >> > domain >> > > > names 3)status of secondary storage 4)ability to write to >> secondary >> > > > storage >> > > > 5)connectivity with management server at port 8250 and 6) status >> of >> > > java >> > > > process. >> > > > >> > > > >> > > > Please try to add template: >> > > > >> > http://dl.openvm.eu/cloudstack/ubuntu/x86_64/ubuntu-16.04-kvm.qcow2.bz2 >> > > - >> > > > if this works... >> > > > >> > > > Cheers, >> > > > Andrija >> > > > >> > > > On Fri, 26 Oct 2018 at 19:41, Alexandre Bruyere < >> > > > bruyere.alexan...@gmail.com> >> > > > wrote: >> > > > >> > > > > Direct download that bypasses secondary storage seems to make it >> > ready >> > > > > instantly (with the correct filesize), so I'm going to assume the >> > link >> > > is >> > > > > good. >> > > > > >> > > > > On Fri, Oct 26, 2018 at 1:28 PM Alexandre Bruyere < >> > > > > bruyere.alexan...@gmail.com> wrote: >> > > > > >> > > > > > No progress in UI, no status. >> > > > > > >> > > > > > How would I make sure there are no redirections? At a glance >> there >> > > > > doesn't >> > > > > > seem to be any. >> > > > > > >> > > > > > On Fri, Oct 26, 2018 at 12:33 PM Andrija Panic < >> > > > andrija.pa...@gmail.com> >> > > > > > wrote: >> > > > > > >> > > > > >> Make sure no http redirections, no ssl support (not sure if >> https >> > > URLs >> > > > > are >> > > > > >> supported now in 4.11 or not). Only plain http adn status code >> 200 >> > > :) >> > > > > >> >> > > > > >> Do you see percentage /download progress in UI ? >> > > > > >> >> > > > > >> On Fri, Oct 26, 2018, 18:20 Alexandre Bruyere < >> > > > > >> bruyere.alexan...@gmail.com> >> > > > > >> wrote: >> > > > > >> >> > > > > >> > Hello. >> > > > > >> > >> > > > > >> > I've set up a Ubuntu 16.04.5 Cloudstack setup using this >> > tutorial: >> > > > > >> > >> > > > > >> > https://rohityadav.cloud/blog/cloudstack-kvm/ >> > > > > >> > >> > > > > >> > The only place I've strayed is that I've configured four >> network >> > > > > >> interfaces >> > > > > >> > - enp3s0 set as manual config, enp3s0.10 set as manual config >> > > (I've >> > > > > made >> > > > > >> > sure my system was VLAN-enabled), cloudbr0 as a >> > > > statically-configured >> > > > > >> > bridge to enp3s0 and cloudbr1 as a statically-configured >> bridge >> > to >> > > > > >> > enp3s0.10 on VLAN 10. >> > > > > >> > >> > > > > >> > My problem is, I'm currently trying to import an iso (Ubuntu >> > > Server) >> > > > > >> from >> > > > > >> > URL ( >> > > > http://releases.ubuntu.com/16.04/ubuntu-16.04.5-server-amd64.iso >> > > > > ) >> > > > > >> in >> > > > > >> > two zones (one on cloudbr0, one on cloudbr1). >> > > > > >> > >> > > > > >> > Adding the ISO seems to work fine, but they never become >> > "ready". >> > > > Any >> > > > > >> tips >> > > > > >> > as to why? >> > > > > >> > >> > > > > >> > (I will be testing direct download shortly) >> > > > > >> > >> > > > > >> >> > > > > > >> > > > > >> > > > >> > > > >> > > > -- >> > > > >> > > > Andrija Panić >> > > > >> > > >> > >> > >> > -- >> > >> > Andrija Panić >> > >> > > > -- > > Andrija Panić > -- Andrija Panić