Comments (5)
Resolved by 3a35e33
from distributive.
It looks like there is still an issue with parsing for repoExists -
Using the MI vagrant box and current distributive (compiled on vagrant box)
# using chronos as a demo -
-bash-4.2# distributive-new -v=2 -f chronos.json
Running with verbosity level 2
Creating checklist(s)...
Running checklist: chronos health check
2015/06/23 21:02:28 Could not fetch metadata for every repo
-bash-4.2# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.sfo12.us.leaseweb.net
repo id repo name status
!CiscoCloud CiscoCloud 15
!centos-7-extras centos-7-extras 128
!centos-7-os centos-7-os 8,652
!centos-7-updates centos-7-updates 684
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 8,121
!mesosphere/x86_64 Mesosphere Packages for EL 7 - x86_64 21
!mesosphere-noarch Mesosphere Packages for EL 7 - noarch 2
!stevendborrelli stevendborrelli 1
!virt7-testing virt7-testing 360+1
repolist: 17,984
# snippet covering the repo check in chronos
-bash-4.2# grep -A1 -i repo chronos.json
"Name": "mesosphere repo installed",
"Check": "repoExists",
"Parameters": ["yum","mesosphere-noarch"]
from distributive.
Did a yum cleanall and make cache to clean everything up. That got rid of the ! in yum repolist
.
Still seems to be an issue with parsing -
-bash-4.2# distributive-new -v=2 -f chronos.json
Running with verbosity level 2
Creating checklist(s)...
Running checklist: chronos health check
2015/06/23 21:08:58 Could not fetch metadata for every repo
-bash-4.2# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: fedora.mirrors.pair.com
repo id repo name status
CiscoCloud CiscoCloud 15
centos-7-extras centos-7-extras 128
centos-7-os centos-7-os 8,652
centos-7-updates centos-7-updates 684
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 8,121
mesosphere/x86_64 Mesosphere Packages for EL 7 - x86_64 21
mesosphere-noarch Mesosphere Packages for EL 7 - noarch 2
stevendborrelli stevendborrelli 1
virt7-testing virt7-testing 360+1
repolist: 17,984
from distributive.
Looks like a change of behavior, from upset to angry -
[vagrant@default SOURCES]$ distributive-new -v=2 -f chronos.json
Running with verbosity level 2
Creating checklist(s)...
Running checklist: chronos health check
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
main.getYumRepos(0x0, 0x0, 0x0)
/home/vagrant/distributive/packages.go:95 +0xcdd
main.getRepos(0xc20802afea, 0x3, 0x0, 0x0, 0x0)
/home/vagrant/distributive/packages.go:171 +0x1b7
main.existsRepoWithProperty(0x781130, 0x4, 0xc20803e640, 0xc20802afea, 0x3, 0x10, 0x0, 0x0)
/home/vagrant/distributive/packages.go:190 +0x7f
main.repoExists(0xc20800a940, 0x2, 0x4, 0x1, 0x0, 0x0)
/home/vagrant/distributive/packages.go:215 +0x94
main.runChecks(0xc20801e840, 0x14, 0xc20803cf30, 0x28, 0xc20808c000, 0xe, 0x10, 0x0, 0x0, 0x0, ...)
/home/vagrant/distributive/main.go:281 +0x3b2
main.main()
/home/vagrant/distributive/main.go:319 +0x31f
Please let us know if any additional info would be helpful.
from distributive.
Created branch CiscoCloud/distributive-rpm/feature/repoExists that includes the configs for testing repoExists with yum
from distributive.
Related Issues (20)
- Sample checklists should all work in Docker HOT 3
- Merge distributive and goss HOT 15
- Check for ulimit for root user HOT 2
- Add support for inode checks
- inodeUsageByMountpoint HOT 1
- UserInGroup errors when validating groups. HOT 7
- UserInGroup errors when validating groups. HOT 1
- 'Port' check does not check for ipv6 ports HOT 4
- DockerRunning and DockerRunningRegexp fail on containers without ports HOT 1
- Unit tests failing
- "real" releases
- Release 0.2.5 rpm name HOT 1
- Switch to glide/vendoring
- Check connection latency HOT 1
- Crash when using TCPTimeout
- Use YAML for configuration
- build release binaries in CI
- Docker daemon latency
- Unable to find the file size. HOT 2
- This project has moved to Mantl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distributive.