You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,13 +36,22 @@ Run the following to check if the user is logged in:
36
36
avn user info
37
37
```
38
38
39
-
**If the command fails**, instruct the user:
39
+
**If the command fails**, inspect the error and guide the user accordingly:
40
40
41
41
```
42
-
You are not logged in to the Aiven CLI. Please run:
42
+
If the error contains "Expired db token":
43
43
44
+
Your Aiven login token expired. Please run:
44
45
avn user login <your-email>
45
46
47
+
If the error contains "ERROR: Not logged in" or "UserError: not authenticated":
48
+
49
+
You are not logged in to the Aiven CLI. Please run:
50
+
avn user login <your-email>
51
+
52
+
If you are a new user, create an account via:
53
+
https://console.aiven.io/login
54
+
46
55
Then confirm when you are logged in.
47
56
```
48
57
@@ -68,8 +77,9 @@ Follow **[SERVICE_CREATION_AVN.md](SERVICE_CREATION_AVN.md)** sections 1–4 in
68
77
69
78
1.**Choose a region** — ask the user with AskQuestion, mapping their choice to the **EXACT**`CLOUD_NAME` from the table in **[SERVICE_CREATION_AVN.md](SERVICE_CREATION_AVN.md)**.
70
79
2.**Choose a plan** — default `startup-4`; **never** use `free-0` or `startup-2`.
71
-
3.**Run the setup script** — a single command creates the service, users, ACLs,
72
-
schema, extracts all connection details, and writes them to `env.sh`.
80
+
3.**Run the setup script** — a single command creates the service, tags it with
81
+
`AI-skill-generated=true`, creates users and ACLs, registers the schema,
82
+
extracts all connection details, and writes them to `env.sh`.
Copy file name to clipboardExpand all lines: skills/aiven-kafka-setup-avn/reference.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,9 @@ avn service create <SERVICE_NAME> \
45
45
# Wait until service is RUNNING
46
46
avn service wait<SERVICE_NAME>
47
47
48
+
# Tag the service for AI-generated demo environments
49
+
avn service tags update <SERVICE_NAME> --add-tag AI-skill-generated=true
50
+
48
51
# Get service details as JSON (preferred — use jq to extract fields)
49
52
avn service get <SERVICE_NAME> --json | jq '{service_uri, service_uri_params, components: [.components[] | {component, route, host, port}]}'
50
53
@@ -150,7 +153,8 @@ avn service schema get <SERVICE_NAME> --subject <SUBJECT> --version latest
150
153
151
154
| Problem | Cause | Fix |
152
155
|---------|-------|-----|
153
-
|`avn user info` fails | Not logged in | Run `avn user login <email>`|
156
+
|`avn user info` fails with `Expired db token`| Login token expired | Run `avn user login <email>` again |
157
+
|`avn user info` fails with `ERROR: Not logged in` or `UserError: not authenticated`| Not authenticated yet | Run `avn user login <email>` or create an account via `https://console.aiven.io/login`|
154
158
| Service stuck in POWERING_OFF | Ongoing operations | Wait or contact Aiven support |
155
159
|`SASL authentication failed`| Wrong password or user not created | Re-run `avn service user-password-reset` and re-export env var |
156
160
|`SSL: CERTIFICATE_VERIFY_FAILED`| Missing or wrong CA cert | Re-download certs: `avn service user-creds-download`|
0 commit comments