Hi all, I'll check this in the following days when I'm back from holiday. Does the debian or ubuntu template work as expected?
On 26 June 2018 02:01:46 CEST, Ivan Kudryavtsev <kudryavtsev...@bw-sw.com> wrote: >Hello, It looks like, that the problem is not with templates themselves >but >with latest CentOS. After running "yum update" previously known-good >template started trying "default gw" instead of "vr" for metadata >requests. > >2018-06-25 20:37 GMT+07:00 Daan Hoogland <daan.hoogl...@gmail.com>: > >> ah, you are right sorry nux >> >> On Mon, Jun 25, 2018 at 3:08 PM, Andrija Panic ><andrija.pa...@gmail.com> >> wrote: >> >>> Well, thank you Daan for these great credits, but it's actually Nux >who >>> owns this templates afaik. :) >>> >>> Cheers, >>> Andrija >>> >>> On Mon, Jun 25, 2018, 15:34 Ivan Kudryavtsev ><kudryavtsev...@bw-sw.com> >>> wrote: >>> >>> > Yes, Daan. >>> > >>> > The problem is with template, not with ACS. My English is so-so, >but I >>> > meant that) >>> > >>> > And I use a Basic zone, no isolation, etc. >>> > >>> > пн, 25 июн. 2018 г., 19:29 Daan Hoogland ><daan.hoogl...@gmail.com>: >>> > >>> >> Stephan, Ivan, >>> >> As I read it, it is not a cloudstack problem but a problem with >the >>> >> template used. Andrija may know?? >>> >> >>> >> On Mon, Jun 25, 2018 at 2:24 PM, Stephan Seitz < >>> >> s.se...@heinlein-support.de> >>> >> wrote: >>> >> >>> >> > Hi! >>> >> > >>> >> > AFAIK, the password reset script always tries to connect to >TCP/8080 >>> on >>> >> the >>> >> > server that offered the dhcp lease. Which usually is the >default >>> >> gateway. >>> >> > If you're running an isolated network with redundant VR, there >was an >>> >> > iptables >>> >> > rule on the VR blocking the host-IP, so that the request >couldn't >>> >> succeed. >>> >> > >>> >> > That issue [1] has recently been fixed for 4.11.1.0. >>> >> > >>> >> > >>> >> > [1] https://github.com/apache/cloudstack/issues/2544 >>> >> > >>> >> > >>> >> > cheers, >>> >> > >>> >> > - Stephan >>> >> > >>> >> > >>> >> > >>> >> > Am Montag, den 25.06.2018, 19:08 +0700 schrieb Ivan >Kudryavtsev: >>> >> > > Hello, Devs, Users. >>> >> > > >>> >> > > Today I tried to deploy prebuilt centos image from >>> >> > > >>> >> > > http://dl.openvm.eu/cloudstack/centos/ >>> >> > > >>> >> > > Previously I already used that images, so I just registered >it and >>> >> > created >>> >> > > VM. Unfortunately, I found that cloud-init tries network GW >as a >>> >> source >>> >> > for >>> >> > > metadata when VM starts (to get the password, etc.). So, It >doesn't >>> >> use >>> >> > VR >>> >> > > to get information but attempts to fetch it from the network >>> default >>> >> GW. >>> >> > > So, It fails. >>> >> > > >>> >> > > Next, I downloaded CentOS template which I have used for a >year >>> (also >>> >> > from >>> >> > > http://dl.openvm.eu/cloudstack/centos/), created VM and it >works >>> >> nice. >>> >> > It >>> >> > > fetches password and other information from correct VR >endpoint. >>> >> > > >>> >> > > I suppose there is the error in the current CentOS template. >Maybe, >>> >> > someone >>> >> > > who has built them assumes that default GW is always VR which >it >>> may >>> >> be >>> >> > > true sometimes (advanced zones, I suppose), but not in >general (I >>> use >>> >> > Basic >>> >> > > Zone). >>> >> > > >>> >> > > Have a good day. >>> >> > > >>> >> > > >>> >> > > >>> >> > Mit freundlichen Grüßen, >>> >> > >>> >> > Stephan Seitz >>> >> > >>> >> > -- >>> >> > >>> >> > Heinlein Support GmbH >>> >> > Schwedter Str. 8/9b, 10119 Berlin >>> ><https://maps.google.com/?q=Schwedter+Str.+8/9b,+10119+Berlin&entry=gmail&source=g> >>> >> > >>> >> > http://www.heinlein-support.de >>> >> > >>> >> > Tel: 030 / 405051-44 >>> >> > Fax: 030 / 405051-19 >>> >> > >>> >> > Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht >>> >> > Berlin-Charlottenburg, >>> >> > Geschäftsführer: Peer Heinlein -- Sitz: Berlin >>> >> > >>> >> > >>> >> > >>> >> >>> >> >>> >> -- >>> >> Daan >>> >> >>> > >>> >> >> >> >> -- >> Daan >> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.