Bug #783
Το VNC δεν λειτουργεί σε clusters με παραπάνω από ένα nodes
Status: | Closed | Start date: | 07/08/2011 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Vangelis Koukis | % Done: | 0% |
|
Category: | old_synnefo | Spent time: | - | |
Target version: | v0.5.1 |
Description
Το Ganeti έχει ένα bug (που θα αντιμετωπισθεί ξεχωριστά) κατά το οποίο το operation GetInstanceConsole επιστρέφει το vnc_bind_address ακολουθούμενο από την πόρτα.
Σε clusters με παραπάνω από ένα nodes, το (cluster-wide) setting vnc_bind_address δεν μπορεί (εκ των πραγμάτων, δεν έχει νόημα) να λάβει τιμές άλλες από 0.0.0.0 και 127.0.0.1, μιας και bind κάνει το κάθε node ξεχωριστά.
Ως εκ τούτου, το GetInstanceConsole() RAPI call παίρνει πίσω μια τιμή λ.χ. 0.0.0.0:11047, και έπειτα προσπαθεί να κάνει setup forwarding με αυτή, πράγμα που προφανώς αποτυγχάνει.
Μέχρι να διορθωθεί το παραπάνω bug στο Ganeti, θα πρέπει να γίνει workaround στο synnefo, αντικαθιστώντας την κλήση GetInstanceConsole() με την GetInstance() και διαβάζοντας από εκεί την τιμή του node και την VNC πόρτα αυτού, για να χρησιμοποιηθούν κατόπιν στο VNC forwarding.
(κατόπιν συννενόησης με vkoukis, ορίζω priority, assignment, target)
Associated revisions
Remove RAPI GetInstanceConsole() call
Remove RAPI GetInstanceConsole() call, because it returns a
potentially unusable endpoint based on cluster-wide vnc_bind_address,
usually 0.0.0.0 or 127.0.0.1. Until this is fixed on the Ganeti side,
we construct a console info reply based on the primary node and network
port as reported by RAPI GetInstance(), fixes #783.
Allow exceptions to propagate when talking to the VNC authentication
proxy, fixes #787.
History
#1 Updated by Vangelis Koukis almost 13 years ago
- Status changed from New to Closed
Merged into master, 71099804f6b, closing ticket.
#2 Updated by Vangelis Koukis about 11 years ago
- Category set to old_synnefo