Commit Graph

367 Commits

Author SHA1 Message Date
guolimin.lc 2b7e44b7ec Remove obsolete whitelist_externals
Change-Id: I99ed384d19b00d3845cdb6707d47e4dac32bffd1
2023-09-20 15:37:37 +08:00
Zuul 7f3b85333f Merge "Update various links in the documentation" 2023-09-07 03:07:40 +00:00
guolimin.lc e80a141dd9 Adapt to tox4 This fixes the several problems/errors caused by tox 4.
Change-Id: Iff615b47c1ae2ea38fb3186ee0f002fe78f49dc9
2023-09-07 09:29:08 +08:00
zhouxinyong 28e7ca56ec Update various links in the documentation
Change-Id: Iac38495c4263b7649132019e1b7c7cdf6fa6d53b
2023-06-08 08:23:24 +08:00
Zuul 4ea237ca1f Merge "Fix a typo in the document" 2022-09-16 01:15:58 +00:00
songwenping 244a47938b setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I782877e2e4daccbc8678fdfe62f7183e23dff0ff
2021-10-25 08:20:27 +00:00
zhangtongjian 89194cc275 remove unicode from code
Change-Id: Ib7372162cad4bcfa0c67fd14cb440ec49f3cc852
2021-01-05 17:20:15 +08:00
zhaoleilc 3fbf25238d Fix a typo in the document
This patch changes 'Seperate' to
'Separate' in the 104 line of specs
/mitaka/cdh-plugin-refactoring.rst

Change-Id: Ic5fe0320ca5c58375594296bcf24ec55e856cf41
2020-08-16 20:54:26 +08:00
Andreas Jaeger 31335bcf21 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I7b38486e0dadef1dc6184c8bbc9d63a9a2e832cd
2020-05-28 14:37:23 +02:00
Masayuki Igawa cd730ade39
Remove .testr.conf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.

Change-Id: I013ae3996b66ce18ea3c6d98077e5928cc43cee0
2020-05-19 15:47:10 +09:00
Jeremy Freudberg 6de051ad3b Ussuri contributor docs community goal
- Updated CONTRIBUTING.rst per goal guidelines
- The repository does not have docs, so rely on main sahara docs

Change-Id: I7ee3ef36eb4b3043624c036b0acd5dd1602c7d76
2020-04-22 13:06:05 -04:00
Andreas Jaeger 42bb410a82 Cleanup py27 support
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine

Change-Id: If224e2f3d582ad378b8ef8840604cad3172538a6
2020-04-10 11:40:36 +02:00
Dirk Mueller b41a9883fb Remove seamingly unused cmd2 dependency
cmd2 was brought in as a dependency here:

https://review.opendev.org/#/c/570972/

As long as we used python 2, we needed to cap cmd2.
However, some time ago we switched to Python3 as part
of https://review.opendev.org/#/c/581193/ so the cap
is no longer needed.

Change-Id: I677168980f7fbabbf388d377eb20ce8b01a3b4b1
2019-11-11 13:31:16 +01:00
Luigi Toscano eb79f2b7ed Fix and improve the HTML build, add the PDF build
- make it compatible with latest sphinx:
  * update the requirements (sphinx,
    openstackdocstheme as suggested its maintainers, yasfb)
  * update redirect.py by replacing the API which are not available anymore
    (thanks to nova-specs's https://review.opendev.org/648670)
  * following that review, clean and update conf.py;
- improve the structure of the document. Group by top-level sections
  whenever it makes sense (one for each release of Sahara, and one
  for each additional component). This reduces the number of chapter
  and it makes the document more readable;
- add the required pdf-docs tox environment;
- make sure that the docs tox environment only removes the html builds;
- only show the search section when the HTML generator is used (and fix
  its header when it is shown);
- disable the too smart smartquotes option for the latex builder;
- replace the py27 job with a py36 one to run the (few) internal tests.

Story: 2006117
Task: 35496
Change-Id: I9ac4fa81a80ee36af9e5278fc4a0792689c5a10a
2019-09-20 17:04:48 +02:00
OpenDev Sysadmins d05b428e6a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:27:48 +00:00
Luigi Toscano cb88bfd0a0 Spec for Feature sets for scenario tests
Easily enable set of related features when testing.

Change-Id: I0e5088490fa455b5332317b2d13dc5fd37abb24f
2018-12-04 19:41:46 +01:00
Luigi Toscano 16221ca394 Update devel info: mailing list
The new openstack-discuss mailing list is going to replace few
mailing lists, including openstack-dev.

Change-Id: I7c2b87b44c2429f66195be504b47767ed2b97d58
2018-11-21 18:37:35 +01:00
Doug Hellmann b05c55c44d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I169b63ca7896af0c6db7e835ef4a244fd4164ec9
Story: #2002586
Task: #24332
2018-08-20 16:33:38 -04:00
Nguyen Hung Phuong ab892387e4 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I695bb1b311b8d66d3c4fb966158a4e50f223c4dd
2018-07-10 11:43:11 +07:00
Luigi Toscano 76cbd57b55 Build the documentation following the PTI
According the Project Testing Interface, define doc requirements
in a special file, and clean up the 'docs' tox environment.

Change-Id: I86e6bc925bfe9d904b37d2bcd2099fd94873addd
2018-05-29 19:30:31 +02:00
Luigi Toscano 041eaceb98 Switch to stestr in tox.ini
Change according the Project Testing Interface.

Also cap the version of cmd2 to <0.9.0: newer versions
require python 3.4. It looked like the bug should have been
fixed with 0.9.1 but it is not yet.

See https://github.com/python-cmd2/cmd2/issues/421

Change-Id: Iabb61b2f7991e28b990a9ed26b93af8dfb618b37
2018-05-29 19:28:52 +02:00
Zuul eafb655c21 Merge "Spec for splitting plugins code from Sahara core" 2018-05-03 16:01:09 +00:00
Telles Nobrega e1811e9a57 Spec for splitting plugins code from Sahara core
In order to have an easier set up for users to keep plugins versions up
to date we are proposing the split of plugins code from sahara core into
its own project.

Change-Id: Ib50311a129e17e2fbb7ae0d53c6ebe9c9f668709
2018-04-17 16:01:40 -03:00
Zuul fe370f1d1a Merge "Fix the old or invalid links in docs" 2018-03-21 16:42:44 +00:00
ShangXiao c8cd679a0f Fix the old or invalid links in docs
Replace the old or invalid doc links to the right ones
in the docs.

Change-Id: I8eb7836a8c0fc3f4f47ae5c25ecabd4ddeb252e3
2018-03-21 08:40:36 +00:00
wangqi c362911e85 update links in readme
Change-Id: I7202c3beaca43bb3158a872953523fc2b2085e49
2018-03-19 06:32:11 +00:00
Luigi Toscano 5b3b82b2d2 Migration to Storyboard
Sahara projects migrated to storyboard.openstack.org.
Replace the references to Launchpad, including the usage of
blueprints (apart from historical references).
Fix the bug link in the openstackdocstheme configuration.

Change-Id: Ib7060f888bc2a28690c4f9498f2925909ad75bc2
2018-03-17 15:14:15 +01:00
Telles Nobrega 0813c40f59 Adding Rocky folder to sahara-specs
Change-Id: Id5ae039d42d0d318a473103097a5f85850b1f149
2018-03-15 09:51:46 -03:00
Nguyen Hung Phuong e7ae6b676b Clean imports in code
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".

[1] https://docs.openstack.org/hacking/0.10.3/

Change-Id: Id84965086443f275495331a2964f67ee12a68666
2018-02-22 03:32:01 +00:00
Zuul 98a2daa49a Merge "Spec for force deletion of clusters" 2017-11-16 18:08:37 +00:00
Jeremy Freudberg cde9b00587 Spec for force deletion of clusters
This specification details how Heat's stack abandon feature will be
leveraged to accomplish the force deletion of clusters.

APIImpact

Partially-Implements: bp sahara-force-delete
Related-Bug: #1647411

Change-Id: Iaf992fd6c89d46668e88bec536002bfffb1854dc
2017-11-15 13:11:21 -05:00
Zuul e267d08be7 Merge "Decommission of specific node" 2017-10-19 17:38:00 +00:00
Shu Yingya 87e4c6a1c1 [spec]Add HBase on Vanilla cluster
This specification describes how to add HBase and ZooKeeper
on Vanilla Cluster.

Change-Id: If929da70a65c31b417dad318da88420c447a4cc5
2017-10-19 09:48:59 +08:00
Telles Nobrega 3baeda5df7 Decommission of specific node
When facing issues with a cluster it can be useful to remove an specific
instance. The way that Sahara is constructed today allows the user to scale a
cluster down but it will choose a random instance from the selected node group
to be removed. We want to give the users the opportunity to choose which
instance(s) he/she would like to remove from the cluster.

Change-Id: I885f0583b97c29abb71888114597a7da8deaf4b3
2017-10-17 11:59:43 -03:00
Marianne Linhares Monteiro 6ad67c66df Remove Job Binary Internal
Job binary internal is not needed now, since
swift and manila are available (and possibly
other storage options in the future) and these
are more suitable options for storage.

Change-Id: Ic47479aa32571ed72a6440a9c201756436a01462
Partial-Implements: bp remove-job-binary-internal
2017-10-09 19:23:33 +00:00
luke.li 0220aae957 Update "indentify" to "identify" in docs
Change-Id: If06f825196cb341b2930e109bf0867e3b8525055
2017-09-20 15:33:59 +08:00
Jeremy Freudberg 428e2d0c20 Specs overhaul
* Create Queens folder
* Promote APIv2 from backlog to Queens and reassign
* Create spec for revival of schedule/recur/suspend EDP job
    (summarizing current status found in [0],[1])
* Move Boot from Volume to backlog
* Move Two-step Scaling to backlog
* Move Spark on Vanilla from backlog to Newton (implemented that cycle)
* Fix incorrect duplicate spec titles
* Remove placeholder files
* Reference image packing in the spec template
* Delete old version of portable templates spec
    (note precdent for deletion of superseded spec in [2])

[0] https://review.openstack.org/#/q/topic:bp/enable-scheduled-edp-jobs
[1] https://review.openstack.org/#/q/topic:bp/add-suspend-resume-ability-for-edp-jobs
[2] https://review.openstack.org/#/c/270156/

Change-Id: I1f4155e28349facad701aa8fc37ae7f7542c385c
2017-09-15 17:33:47 +00:00
Luigi Toscano e1ca776f3c doc: fix errors and switch to openstackdocstheme
- update the requirements so that they are aligned with the current
  global-requirements.txt
- thanks to the new sphinx, enable warning-is-errors
- retroactively fix few errors in the old specs:
  * mostly fix the wrong type of formatter for special blocks (so no
    changes in the contents);
  * fix a big chunk of JSON (extra commas, wrong delimiters, etc)
- and thanks to all of this, switch to openstackdocstheme according
  its instructions.

Change-Id: I6ff74030b3595b45ea2a143e401f994afe3fa4ba
2017-08-18 23:56:16 +02:00
Jenkins 66a631cbed Merge "Adding specs file about portable node group and cluster templates." 2017-07-21 13:37:18 +00:00
Iwona Kotlarska 0b5967daa9 Adding specs file about portable node group and cluster templates.
Change-Id: Ibe53f8a81cd30da1d40503fdb5686d0aa0050504
2017-07-13 17:10:03 +02:00
Luigi Toscano a49ae31ae4 Deprecate CentOS 6 images
Change-Id: I579865795a409bc4710c0bfbaf4d0aa07bc63cff
2017-07-12 17:24:18 +02:00
Jeremy Freudberg 5e2c4a86b8 Add spec for supporting S3-compatible object stores
bp sahara-support-s3

Change-Id: Ib9a64e5bd98803a994cfd58250b9c930b141c9ed
2017-05-10 20:34:12 +00:00
Jenkins d5ea402718 Merge "Add spec for sahara-scenario API" 2017-03-30 18:39:47 +00:00
Telles Nobrega 912996d14e Adding Pike folder to Sahara-specs
Change-Id: I4f0846351d099e556a1b5d73575ed03762369542
2017-03-21 10:32:36 -03:00
Evgeny Sikachev 86333d200d Add spec for sahara-scenario API
bp api-for-scenario-tests

Change-Id: I0814ba5dfeea204fccdf058cad5ba2cd0b542584
2017-03-20 16:23:02 +04:00
Marianne Linhares 68a2203d69 Data Source and Job Binary Pluggability
Sahara allows multiple types of data source and job binary. However,
there's no clean abstraction around them, and the code to deal
with them is often very difficult to read and modify. This change
proposes to create clean abstractions that each data source
type and job binary type can implement differently depending
on its own needs.

Change-Id: Ia3c088e72a09d680ed87d10b4a68477f8cf9642e
Partial-implements: bp data-source-plugin
2017-01-16 16:40:45 -03:00
Jenkins 577b1ff357 Merge "Changed the home-page of sahara-specs in setup.cfg" 2016-12-06 09:01:53 +00:00
Jenkins fd86ea3d7b Merge "Show team and repo badges on README" 2016-11-30 13:49:23 +00:00
Flavio Percoco 2d4da3140b Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/7ffbfb8a3a7fd95c2bfe9925cc7316e2

Change-Id: I578ab2077cc5680d9fc57e3f6f63a96e539858b7
2016-11-25 15:25:09 +01:00
gecong1973 a28aaf8caa fix a typo
TrivialFix

Change-Id: Ic240ce509f593ff855e2327dce23504b45d34c68
2016-11-25 15:57:16 +08:00