** Description changed: Hello, I want to report a bug. I'm sorry for my bad english. This is my ubuntu : Description: Ubuntu 14.04 LTS Release: 14.04 I have been installed ubuntu server include maas via "Multiple server install with MAAS" on HP Proliant ML370 G5. I successfull install a node, and comission it untill ready (Status is Ready now). When i want to start node, MAAS said i need to register SSH key first on preference. So, i want to login into maas via command line whit this command : sudo maas login [my_account] [http://my_ip/MAAS/api/1.0] [my_api_key] then this report appear : Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/dist-packages/maascli/__main__.py", line 20, in <module> main() File "/usr/lib/python2.7/dist-packages/maascli/__init__.py", line 29, in main locale.setlocale(locale.LC_ALL, "") File "/usr/lib/python2.7/locale.py", line 579, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting I think that commands was right, because when i use maas-cli this report appear : WARNING: The maas-cli command is deprecated and will be removed in a future version. From now on please use 'maas' instead. Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/dist-packages/maascli/__main__.py", line 20, in <module> main() File "/usr/lib/python2.7/dist-packages/maascli/__init__.py", line 29, in main locale.setlocale(locale.LC_ALL, "") File "/usr/lib/python2.7/locale.py", line 579, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting - - --------------------------------------------------------------------------- Today i reinstall ubuntu without "Multiple server install with MAAS", but use apt-get. Login maas via command line success. Create ssh-keygen success. When i copy id_rsa.pub text into MaaS SSH configuration, i always get invalid SSH public Key. Can anybody help me? + + ---------------------------------------------------------------------------- + + update, + i have been solve my issues. + + i used wrong command in the command line for get public ssh key. + + i use sudo nano, the best way is use "cat" = cat ~/.ssh/id_rsa.pub + + then ssh key registered like a charm. + + thank very much. + + ----------------------------------------------------------------------------
** Description changed: Hello, I want to report a bug. I'm sorry for my bad english. This is my ubuntu : Description: Ubuntu 14.04 LTS Release: 14.04 I have been installed ubuntu server include maas via "Multiple server install with MAAS" on HP Proliant ML370 G5. I successfull install a node, and comission it untill ready (Status is Ready now). When i want to start node, MAAS said i need to register SSH key first on preference. So, i want to login into maas via command line whit this command : sudo maas login [my_account] [http://my_ip/MAAS/api/1.0] [my_api_key] then this report appear : Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/dist-packages/maascli/__main__.py", line 20, in <module> main() File "/usr/lib/python2.7/dist-packages/maascli/__init__.py", line 29, in main locale.setlocale(locale.LC_ALL, "") File "/usr/lib/python2.7/locale.py", line 579, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting I think that commands was right, because when i use maas-cli this report appear : WARNING: The maas-cli command is deprecated and will be removed in a future version. From now on please use 'maas' instead. Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/dist-packages/maascli/__main__.py", line 20, in <module> main() File "/usr/lib/python2.7/dist-packages/maascli/__init__.py", line 29, in main locale.setlocale(locale.LC_ALL, "") File "/usr/lib/python2.7/locale.py", line 579, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting --------------------------------------------------------------------------- Today i reinstall ubuntu without "Multiple server install with MAAS", but use apt-get. Login maas via command line success. Create ssh-keygen success. When i copy id_rsa.pub text into MaaS SSH configuration, i always get invalid SSH public Key. Can anybody help me? ---------------------------------------------------------------------------- update, i have been solve my issues. i used wrong command in the command line for get public ssh key. - i use sudo nano, the best way is use "cat" = cat ~/.ssh/id_rsa.pub + i used "nano", the best way is using "cat" = cat ~/.ssh/id_rsa.pub then ssh key registered like a charm. thank very much. ---------------------------------------------------------------------------- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1331909 Title: Always get invalid SSH Public Key To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1331909/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs