Commit Graph

78 Commits

Author SHA1 Message Date
OpenDev Sysadmins 28580d7f9f 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:51:15 +00:00
Ian Wienand 8f8856f3d0 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ibf8aca13cf17bf402d7aab00c06f3a2614cddfe9
2019-03-24 20:36:15 +00:00
John Griffith 89c077ae49 Fix up help message in cireporter.py
Minor fix to the help message to indicate count
(it was just a copy paste of Name).

Also added an example to the -p argument to show
that the openstack domain is needed when specifying
a project.

Lastly, either capitilize the first work in the help
string or don't, but be consistent.  More were LC so
I made the rest match.

Change-Id: I89e88e51459583c2564b033f7f45223eae77f2c1
2017-03-07 11:38:29 -07:00
Jenkins d3ffeaa8ff Merge "Added requirements.txt" 2017-02-13 19:20:58 +00:00
Walter A. Boring IV 877394d435 Added requirements.txt
The cireporter.py script uses shyaml.

Change-Id: I2ae61daf5b8d91a6c792be78485a2fb2b1b8806e
2017-02-13 19:18:43 +00:00
Walter A. Boring IV 5c1d963c62 Added cinder_ci script
This script reads the output of the cinder/tools/generate_driver_list.py
then reads the CI_WIKI_NAME entries and then runs the cireporter style
report.

Change-Id: Icb78c28c25e0638f17abf21af820ef935fd12662
2017-02-10 21:31:47 +00:00
Walter A. Boring IV 26611b68ed Adds the new cireporter script used by Cinder team
This patch creates the cireporter script which is used by the Cinder
team.   This script is used to help determine which Vendor CI's are working
and reporting over a release cycle.

This patch refactors some of the code in the lastcomment.py into a common
file that contains the Job and Comment classes used by lastcomment and
cireporter.  Also updated the ci.yaml.

Change-Id: I0bde0f539d0e3752963594ef60c3ed460c918116
2017-02-07 21:00:01 +00:00
apoorvad 93f2305552 Updated list of Cinder CIs
Updating ci.yaml for lastcomment-scoreboard

Change-Id: Ic1efc3665099e6bd3d23e5c6d9163056c3924ff2
2017-01-26 11:40:55 -08:00
Mark Hamzy f09fbb4348 MoltenIron is now an Open Stack project!
Change-Id: I74065793294f53d39cb5405b17781b5fb97a05eb
2016-11-08 13:49:23 -06:00
Mark Hamzy dc37d424c7 Add Continuous Integration (CI) example
Add an example of how to use Molten Iron inside of a
Continuous Integration environment.

Change-Id: If4e2bc50ae475bf77d7fd933ae253e1439cb758d
2016-10-13 10:28:40 -05:00
Mark Hamzy de78dff5f5 Add a bunch of new testcases for molteniron
Add tests for adding a BM node, for allocating a BM node, for
culling BM nodes, for deallocating a BM node, for deallocating
a node's owner, for cleaning the database, for getting a field
of a node, for getting the IPs of a node, and for removing a
BM node.

Change-Id: I666747656948e19d4817327b33017c4f01752baa
2016-10-05 17:01:46 -05:00
Mark Hamzy 72e9ab196c Add support for installation and testing
Moved files to a new directory to support the installation
of the molteniron package.  Renamed one file to be a
command line tool and added a new file to start/stop
the daemon.

Added tox support for testing.  This needed the ability
to start and stop the daemon.  And it also needed the
ability to delete the database entries to ensure a clean
test run.

Change-Id: I1b0fadd68b9598b715c639b962cf8586f4db5da8
2016-09-15 13:05:00 -05:00
Mark Hamzy db19f78144 add testcase for allocateBM
Change-Id: I83bbdf85dd7280028e9a6b43087a251a3831ea6b
2016-09-07 14:53:09 -05:00
Jenkins 23bd5cba22 Merge "Reuse code to save remote ssh calls" 2016-08-16 16:08:39 +00:00
Isaac Beckman fac0b2fd8f Reuse code to save remote ssh calls
There were 2 identical remote calls to systool.
The output of the first call can be used to save the second one.

Change-Id: Ia6bb75a2606aa47d9a759738452326010ab856dd
2016-08-16 17:10:16 +03:00
Jenkins f70388e0ea Merge "Execute source before running non-interactive ssh" 2016-08-04 16:30:29 +00:00
Isaac Beckman 28d88d0bf2 Bind\unbind pci device to vfio-pci driver
Starting with Linux 4.1, the kernel includes vfio-pci.
VFIO - "Virtual Function I/O".
The VFIO driver is an IOMMU/device agnostic framework for exposing
direct device access to userspace, in a secure, IOMMU protected
environment.
The vfio-pci takes full advantage of IOMMU, has better device support
and prevents multiple access to the same device.
Binding a pci device to vfio-pci driver is very useful for setting
pci-passthrough for a VM

Change-Id: I6c7df6840429e1b005908fdcc57a5f4e47fab922
2016-07-25 09:39:19 +00:00
Isaac Beckman 0e45dbe4db Execute source before running non-interactive ssh
The SSH command execution shell is a non-interactive shell.
The commands from the file /etc/profile are executed only when
bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option. Hence need to source
/etc/profile explicitly

Change-Id: I88560431e7e14b70ccc1cdab77b218036b586f96
2016-07-17 14:54:35 +00:00
Matt Smith 5530e30eb9 Adding ci-status command line tool
This is a tool I developed to provide quick access to ThirdParty CI
stats from the command line.  Designed to be easily extensible, it's
built on top of Gerrit SSH Queries and thus requries Gerrit SSH access
to run

Change-Id: I9a76cff22858776ed95508f0b07140dce2b8863a
2016-07-08 15:39:55 -07:00
Mike d2666eccd5 Initial commit of MoltenIron
MoltenIron is a tool to manage a pool of baremetal nodes that
are to be used as test targets in a baremetal CI environment,
instead of VM guests.

MoltenIron allows you to add, allocate, and release nodes from
it's pool using the following methods:

add - Add a node to the pool

allocate - checkout a baremetal node from the pool, returning
the required info in json format to the requester. It then
marks the node as in use so that no other VM will check it out.

release - return the baremetal node to the pool, allowing another
VM to eventually allocate it.

Change-Id: I8d276d677d9b09bc34032f46c825320d5d83e756
2016-05-23 18:09:44 -05:00
Jenkins 18fda25411 Merge "Fixed quering new Gerrit" 2016-01-20 17:58:48 +00:00
Evgeny Antyshev 6c45848ff7 puppets: keepalives for gerrit connections
This is to support changes by https://review.openstack.org/268077

Change-Id: Ib193a776bff861a12cb477ee87b848815aee8641
2016-01-19 07:39:48 +00:00
Evgeny Antyshev d291e7f1e7 Keepalives for gerrit connections
It is off by default (keepalive=0), which means connections may hang forever
when media is not reliable.
This change applies the same change as proposed for Zuul:
https://review.openstack.org/238988

Support in puppets going with dependent review

Change-Id: Ifaf6aa28ad65305592839c1bd2ca90157a32ab3c
2016-01-18 10:05:08 +00:00
Lenny Verkhovsky 00f6bdd358 Fixed quering new Gerrit
Extend rest query with additional options to get 'name' that was removed
with commit https://gerrit-review.googlesource.com/#/c/39767/

Removed 'exit' on invalid gerrit reviewer name.

Change-Id: If48d5655202ca1e36c33ac6067e86b2db84360f2
2016-01-14 15:59:56 +02:00
Walter A. Boring IV f4e427216e Move HBA online check
This patch moves the test for the HBA to after it's been
reattached to the host driver.   The current check will always
fail, because it will never see it.

The host driver will never see the HBA until after the virsh reattach
command runs.

Change-Id: I74255576e2b7f31dcb35c87bbf7fc270d6d736b0
2015-11-18 18:57:28 +00:00
Walter A. Boring IV 912809b0fa Add an Online check for the FC HBA
Fibre Channel devices can go into Linkdown or Offline mode after
a many times being PCI pass through to virsh domains.  We need
to make sure that the HBA we are attempting to pass through to the
virsh domain is actually in port_state="Online".  If the HBA
isn't online, then every volume attachment via that HBA will fail
100% of the time.

This patch adds a test against the requested HBA(s) and makes sure
that they are Online.  If all the requested HBA(s) are not Online,
then the script will fail.

Change-Id: Icf05bc3ed6adb842006852f1804696fc416c0d26
2015-11-16 08:39:55 -08:00
Mikhail S Medvedev 29160e71d3 Change all instances stackforge to openstack
Stackforge namespace was deprecated, all projects are now under
openstack namespace.

Change-Id: I9982d65c5edfec634789d20fb0f85e98954eb625
2015-10-17 14:22:41 -05:00
Walter A. Boring IV a019f0f571 Reattach the PCI device to host driver
This patch adds the ability to do a virsh nodedev-reattach of the
PCI device.   This detaches the PCI device from the pci-stub to it's
original host driver (lpfc) in the hope that it does a reset of the
device upon reattach.

Change-Id: Ib44a35820015b98e13beb628d1625a33eeafc96b
2015-10-15 16:52:30 +00:00
Mikhail S Medvedev dcd9605f5e Remove ciwatch, moved to openstack-infra/ciwatch
A separate ciwatch project [1] has been created with [2]. Commit history
was retained.

[1] http://git.openstack.org/cgit/openstack-infra/ciwatch/tree/
[2] I1a3dba0ea02a905beb6f7e2f9cce6682b202fbd2

Change-Id: Ibc8cd36d5bd0e9af919ef225d383f650287936d4
2015-10-13 17:27:13 -05:00
Jenkins 22f4f8426b Merge "Restrict commands allowed by fc passthrough key" 2015-10-03 14:21:43 +00:00
Ramy Asselin 9f52b89b49 Move configuration step before installation
The pip install -e . step needs the configuration to succeed.

Change-Id: I6c105883fd7b4e84a7151d24e8fd96b6ec2e42f0
2015-09-30 11:22:52 -07:00
Ramy Asselin 6f0134e084 Restrict commands allowed by fc passthrough key
Currently the fc passthrough key will allow the vm host
to run any command on the hypervisor. Instead, restrict the
commands to just what is needed.

Change-Id: I210d646c4155d526912d9bee3865d239e08d5de4
2015-09-30 10:39:39 -07:00
Jenkins 22c5f17d19 Merge "Remove hardcoded data path" 2015-09-23 18:45:02 +00:00
Jenkins 1c60b6d328 Merge "Fix sqlalchemy models so they work with MySQL backend" 2015-09-23 18:44:53 +00:00
Jenkins 180511ec02 Merge "Allow global ciwatch conf file" 2015-09-23 18:44:37 +00:00
Mikhail S Medvedev dbab6b60fe Remove hardcoded data path
Use the conf setting instead.

Change-Id: I3350d1c23201d80941699690a522c1727acbbc3e
2015-09-22 16:44:29 -05:00
Mikhail S Medvedev 2d747ae15a Fix sqlalchemy models so they work with MySQL backend
If string length is not specified, we would get:
"VARCHAR requires a length on dialect mysql" when using MySQL backend.

Change-Id: I25c71d6ed257974c14672c3cc261c9ccfec5d6cf
2015-09-22 15:51:53 -05:00
Mikhail S Medvedev ad7ee259f3 Allow global ciwatch conf file
We want to be able to store the configuration in /etc, as opposed to
source directory.

Try to load configuration from source dir first, and fallback to
/etc/ciwatch/ci-watch.conf.

Wrap everything into a function and add exception if no configuration
is found. We want to move away from having globals.

Change-Id: I91f2adc6e90b6252c5839a5ef8dde0fe7cd137f8
2015-09-22 11:11:10 -05:00
Ramy Asselin f26311ce1e Allow external access by default
You can disable access to port 5000 via firewall. So let the
default flask setting work outside of localhost.

Change-Id: I67b79873c6dfca052becba618f693b754855944d
2015-09-21 14:41:23 -07:00
Jenkins 54e12f0d16 Merge "Add proof of concept puppet_ci_scoreboard module" 2015-09-21 21:16:39 +00:00
Skyler Berg c0f13b48e1 Add CI Watch, a third-party CI monitoring dashboard
Change-Id: I8611f25a6700c6e0c64c3fadf820dbc9adcd5ea5
2015-09-01 12:02:47 -07:00
Mikhail S Medvedev 71a3292742 Add proof of concept puppet_ci_scoreboard module
This is a first draft of the puppet module to be used to deploy
ci-dashboard.openstack.org as described in [1].

I did not put it into a separate repository on github due to some
restrictions. Adding it here should help to collaborate using
standard review process. If we are happy with the module, we would
move it to openstack/puppet-ci_scoreboard after spec [1] is approved.

[1] https://review.openstack.org/#/c/194437/

Change-Id: I1f0311d081ef970a767470b9e5d2b0a61ec2c8e3
2015-08-20 14:26:22 -05:00
Steven Weston ea5f72fc99 Dashboard Spec
Spec for the CI Dashboard

Comments (for reference) on infra-spec:
https://review.openstack.org/#/c/135170/

Change-Id: I1bcc4783f602af7556dea4389853a8d331f748a7
2015-08-11 16:00:15 -07:00
Jenkins 2f56f33451 Merge "Switch the Scoreboard stats into charts" 2015-08-04 18:05:12 +00:00
Joe Gordon 968e1bd58f Add lastcomment
Add lastcomment dashboad to the collection of third party CI tools so it
can be worked on via the standard gerrit workflow.

lastcomment is an alternative monitoring scoreboard that uses gerrit's
REST API as the data source. It was designed to address the developer's
question, is CI system X running/reliable or not?

original source: https://github.com/jogo/lastcomment

Change-Id: I6bb0f321e1885999c9e20f74417dad8768c24c52
2015-07-22 20:52:19 -07:00
Jenkins cffdd765e3 Merge "Update nagios image check to specify image and use dib." 2015-07-19 03:37:58 +00:00
Patrick East fb096c426c Update nagios image check to specify image and use dib.
It now looks at the dib-image-list output and only for a specific
image name. It works much better now…

Change-Id: I4ea3e92714cdaaea871f643e1131b2470231fd97
2015-07-03 18:39:19 -07:00
Patrick East b3e806d131 Switch the Scoreboard stats into charts
This makes it more easy to 'at a glance' see what a system is up to. Its using
the same counts of success, fail, and unknown as before but now using
EZBC-js to display them as a vertical bar chart. In addition it shows how
many results are 'missing', whether that be that the system missed the
patcheset or just hasn't voted yet.

Change-Id: Ia9d57a74754d64c9faf3826e78ddfb9db574deb7
2015-07-03 18:17:50 -07:00
Jenkins 50c4b4f2af Merge "Fix FC provider setup script profile.d script output" 2015-06-23 16:55:35 +00:00
Jenkins 3c302b99b5 Merge "Add pagination to the Scoreboard" 2015-06-22 23:32:33 +00:00