weizhouapache commented on issue #6873: URL: https://github.com/apache/cloudstack/issues/6873#issuecomment-1306756275
> A critical export was moved from bootstrap.sh to init.sh > > When the VPC is setup it asked in Line 64 for the hypvervisor > > https://github.com/apache/cloudstack/blob/296035d9a57caa62260a666da726ec45b6801c4b/systemvm/debian/opt/cloud/bin/setup/vpcrouter.sh#L64 > > > The vpcrouter.sh gets called by the bootstrap.sh. In Version <= 4.16 it gets exported there and is available for vpcrouter.sh > https://github.com/apache/cloudstack/blob/77df050160d6a5343aab97571bf891e51b4b1201/systemvm/debian/opt/cloud/bin/setup/bootstrap.sh#L215 > > The comit [830f306](https://github.com/apache/cloudstack/commit/830f3061bcc33c0d3a22d9129e8bcf6a8ead37da) removes the export in the bootstrap.sh and adds it to init.sh @H-LK thanks for the findings. prior to 4.17, the route is added in vpcrouter.sh which is called by cloud-early-config service. since 4.17, two steps are added before cloud-early-config - init.sh (called by cloud-preinit service) - patch (transfer new files/scripts from host or management server to VRs via `scp` command) The `scp` in `patch` step does not work, because the route is not added (`cloud-early-config` is not executed yet). The route should be added in `init.sh`, instead of `vpcrouter.sh` - -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
