Commit Graph

12 Commits

Author SHA1 Message Date
Andreas Jaeger 8c881bcbe5 Retire repository
See
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007708.html

Change-Id: If97f10290c16903d550c66163b082bd23357fca2
2020-05-08 13:51:25 +02:00
Michael Dong 8930d98a26 Custom root configuration option
Instead of syntribos taking in ``--custom_install_root` during init and
``--syntribos-custom_root`` during run, which sometimes led to the custom root
option not being set correctly, the redundant config options have been
deprecated.

Change-Id: I95f4d345fe8a8608ff6d1daaf06ff49912917a3f
2018-12-10 16:03:19 -06:00
Michael Dong 6cf7bdab87 Bug fixes and error message updates
Fixes:
1) Crashes in runner and file_utils
2) Binary strings being read in as payloads

Updates:
1) Clarified error messages in parser
2) Confusing variable names in test cases vs issues

Adds:
1) A `syntribos root` CLI sub command to display the current syntribos root dir

Change-Id: I22edf7a1f3d39724522aee88d08b00d299b67248
2018-11-28 12:32:24 -06:00
Ngo Quoc Cuong 1f1b7be594 Remove translation of log messages
The i18n team has decided not to translate the logs because it
seems like it not very useful; operators prefer to have them in
English so that they can search for those strings on the internet.

Change-Id: I84b1a2397f424430ed332aa7d4d874379abd0357
2017-06-16 15:42:45 +07:00
Rahul Nair 38eb9f2a77 Adding i18n support to Syntribos
Adding i18n support to syntribos log messages and prompts.

Change-Id: If9914447ccbf3ac2f9c88c3460756f4b682630ec
2017-03-13 01:51:50 -05:00
Rahul Nair 6eb64af8b5 Updated pylint rules
Fixed few `issues` as stated by pylint to pass the new linter
rules.

Change-Id: I8ffeff7125a1fda367a9cefa1a3d3cfcbadd37d0
2017-01-23 15:07:27 -06:00
Xin Bai d1869bdd86 Fixing bug on syntribos init
The latest change introduced a bug to syntribos init. It crashed on
line 282 when CONF.config_file and CONF.config_dir returns list but
str expected. This patch fixes it.

Closes-Bug: 1648562

Change-Id: Ib83dd03a500613843abadc5dcbfd9a9c477f8503
2016-12-13 14:18:11 -05:00
Duncan Hutty 15508896ba Respect cli args for initialization check
Change-Id: I8d9f2d6d4e5e3f51553b4f577d42538c05ad2266
Closes-Bug: #1647470
2016-12-05 17:10:46 -05:00
Rahul Nair a2f1d7c222 Fixing a bug due to getlogin() in syntribos
The bug is due to the fact that sometimes when using os.getlogin(),
Python is calling the system getlogin() function and returns a strerror
"No such file or dir", thus failing to get the login name.

Change-Id: I4156325d7435c69943b2bb736bd1ec7b4d060db4
Closes-Bug: #1640850
2016-11-10 15:20:24 -06:00
michael.dong@rackspace.com 46d5ba400b Introduced payload and template downloading
Syntribos now downloads payloads as part of the initialization process, and
also can download payloads and templates as part of the 'syntribos download'
command.

Change-Id: I17501535e5fd341c2705e07e3797643dc2d4a7df
2016-10-28 14:42:12 -05:00
Charles Neill 18781c37cd Add additional runner and env utils tests
Adds several tests to exercise more of runner and the env utils.

Makes several modifications to config.py, runner.py, and utils/env.py,
with the aim of making them more testable.

Change-Id: I708df9e5315f3dadd028c8107ac6416c707e90a0
Closes-Bug: #1634296
2016-10-26 19:43:33 -05:00
Charles Neill dabac296a7 Creates syntribos 'init' command
This command will set up the basics needed for a syntribos environment
(i.e. template folder, payload folder, log folder, default config file)

Some modifications have also been made to Runner to facilitate these
changes. These changes will (hopefully) allow us to better unit test
components of the runner.

Change-Id: I001e798b89539468cfbd92d5df301f7e59f1f33d
2016-10-26 17:44:15 -05:00