I'm having a problem with a newly-generated Microservice template using Angular and EF Core (with Postgres) where after it is generated, when I try to connect to the Kubernetes cluster through Studio, it keeps crashing on a permissions error while trying to write to /etc/hosts/
. The interesting thing is, I checked the file and it actually successfully wrote and saved the IP addresses/hostnames that it wanted to add.
So the problem is that it thinks it didn't successfully do that and doesn't keep going forward with connecting to Kubernetes.
I am running a Macbook Pro with M1 chip, on Sonoma (in case it helps).
ABP Information:
- Template: microservice
- Created ABP Studio Version: 0.9.26
- Current ABP Studio Version: 0.9.26
- Multi-Tenancy: Yes
- UI Framework: angular
- Theme: leptonx
- Theme Style: system
- Theme Menu Placement: side
- Run Install Libs: Yes
- Database Provider: ef
- Database Management System: postgresql
- Mobile Framework: none
- Public Website: Yes
- Social Login: Yes
- Include Tests: Yes
- Dynamic Localization: Yes
- Kubernetes Configuration: Yes
- Grafana Dashboard: Yes
- Use Local References: No
- Optional Modules:
- GDPR
- FileManagement
- TextTemplateManagement
- AuditLogging
- Chat
- OpenIddictAdmin
- Create Command: abp new AbpSolution1 -t microservice --ui-framework angular --database-provider ef --database-management-system postgresql --theme leptonx --skip-migrator --public-website --without-cms-kit --dont-run-bundling -no-language-management -chat
- Exception message and full stack trace:
15:22:33.077 Information Starting task execution: "Connecting to Kubernetes"
15:22:33.769 Information Making the WG-EASY service types LoadBalancer instead of ClusterIP...
15:22:33.896 Information Adding WireGuard service ips to the hosts file...
15:22:33.916 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (1)
15:22:35.224 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (2)
15:22:36.920 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (3)
15:22:39.121 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (4)
15:22:41.981 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (5)15:22:45.702 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (6)
15:22:50.533 Warning Failed to add WireGuard service ips to hosts. Exception: Access to the path '/private/etc/hosts' is denied. Retrying... (7)
- Steps to reproduce the issue:
- Create a new Microservice template solution with Angular, with all the other options as above (can use create command mentioned above)
- Go to Kubernetes tab. Click "Connect to Kubernetes Cluster". Go to the Logs and note the above logs.
1 Answer(s)
-
0
Hi,
We’ve successfully reproduced the problem and identified that it specifically affects Apple chipset Macs. Unfortunately, we haven’t found a solution just yet, our team is actively working on it.
Since this is a bug on our end, we’ll be refunding your ticket. We truly appreciate your patience and understanding as we work towards a fix.
If you have any further questions or concerns, please don’t hesitate to reach out. We're here to help!