Test Machine Resources For Package Maintainers

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(FAQ: add full hostname for arm test machine)
(Available Machines/Instances: add f26 test instance)
 
(44 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
! hostname !! fedora version !! arch  !! cpu !! memory !! disk !! contact
 
! hostname !! fedora version !! arch  !! cpu !! memory !! disk !! contact
 
|-
 
|-
| thulsadoom.scrye.com / rawhide-test.scrye.com || rawhide || x86_64 kvm instance || 1.86Ghz || 2GB ram || 60GB disk || kevin@scrye.com
+
| rawhide-test.fedorainfracloud.org || rawhide || x86_64 cloud instance || 3.466Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 
|-
 
|-
| draco.scrye.com / epel5-test.scrye.com || centos5 || i686 kvm instance || 1.86Ghz || 2GB ram || 100GB disk || kevin@scrye.com
+
| f26-test.fedorainfracloud.org || f26 || x86_64 cloud instance || 3.466Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 
|-
 
|-
| gandohar.scrye.com / epel6-test.scrye.com || rhel6 || x86_64 kvm instance || 1.86Ghz || 2048MB ram || 100GB disk || kevin@scrye.com
+
| f25-test.fedorainfracloud.org || f25 || x86_64 cloud instance || 3.466Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 
|-
 
|-
| danarius.scrye.com / f15-test.scrye.com || f15 || i686 kvm instance || 1.86Ghz || 2048MB ram || 20GB disk || kevin@scrye.com
+
| f24-test.fedorainfracloud.org || f24 || x86_64 cloud instance || 3.466Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 
|-
 
|-
| valerian.scrye.com / f16-test.scrye.com || f16 || x86_64 kvm instance || 1.86Ghz || 1024MB ram || 30GB disk || kevin@scrye.com
+
| el7-test.fedorainfracloud.org || centos7 || x86_64 cloud instance || 3.466Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 
|-
 
|-
| gadflow.scrye.com / f17-test.scrye.com || f17-branched || x86_64 kvm instance || 1.86Ghz || 1024MB ram || 30GB disk || kevin@scrye.com
+
| el6-test.fedorainfracloud.org || centos6 || x86_64 cloud instance || 3.466Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 
|-
 
|-
| gil-hamilton.scrye.com / f17-arm-test.scrye.com || f17-branched arm || armv7 smartbook || 800Mhz || 512MB ram || 16GB disk || kevin@scrye.com
+
| ppc64-test.fedorainfracloud.org || f25 || ppc64 cloud instance || 3.425Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 +
|-
 +
| ppc64le-test.fedorainfracloud.org || f25 || ppc64le cloud instance || 3.425Ghz || 4GB ram || 40GB disk || admin@fedoraproject.org
 +
|-
 +
| arm03-packager00.cloud.fedoraproject.org || f25 || armv7 SOC || - || 4GB ram || 300GB disk || admin@fedoraproject.org
 +
|-
 +
| arm03-packager01.cloud.fedoraproject.org || f25 || armv7 SOC || - || 4GB ram || 300GB disk || admin@fedoraproject.org
 +
|-
 +
| arm03-qa00.cloud.fedoraproject.org || f25 || armv7 SOC || - || 4GB ram || 300GB disk || admin@fedoraproject.org
 +
|-
 +
| arm03-qa01.cloud.fedoraproject.org || f25 || armv7 SOC || - || 4GB ram || 300GB disk || admin@fedoraproject.org
 
|-
 
|-
 
|}
 
|}
  
{{admon/note|IP and DNS information has changed|As of 2011-05-14 all these instances are behind a single IP address. You will need to fetch: http://kevin.fedorapeople.org/test-machine-ssh-config and add it to your ~/.ssh/config to be able to access them (or look at it and use the right port on the single IP) or use ipv6.. Sorry for the trouble. }}
+
{{admon/note|machine names and location has changed as of 2017-02-27}}
  
 
== FAQ ==
 
== FAQ ==
Line 31: Line 41:
 
Q: What precautions should I take on these machines.
 
Q: What precautions should I take on these machines.
  
A: Since all Fedora packagers have root access on these machines, do not enter any sensitive information, including FAS credentials on these machines.  These systems should never ask you for your FAS password (sudo is NOPASSWD).  Authentication is only done via the SSH key you have set in FAS.  In particular, it is recommended to disable SSH agent forwarding on these machines on the client side (agent forwarding is disabled on the server, but any user on the system could potentially reenable it).  To do this, add the following to your ~/.ssh/config:
+
A: Since all Fedora packagers or qa members have root access on these machines, do not enter any sensitive information, including FAS credentials on these machines.  These systems should never ask you for your FAS password (sudo is NOPASSWD).  Authentication is only done via the SSH key you have set in FAS.  In particular, it is recommended to disable SSH agent forwarding on these machines on the client side (agent forwarding is disabled on the server, but any user on the system could potentially reenable it).  To do this, add the following to your ~/.ssh/config:
 
<pre>
 
<pre>
Host *.scrye.com
+
Host *.fedorainfracloud.org
 
   ForwardAgent no
 
   ForwardAgent no
 
</pre>
 
</pre>
Line 39: Line 49:
 
Q: Who has access to these instances?
 
Q: Who has access to these instances?
  
A: Anyone who is in the Fedora "packager" group. Use your ssh key from the fedora account system to login. Package maintainers have 'sudo' access.  
+
A: Anyone who is in the Fedora "packager" group. or anyone in the Fedora "qa" group for the qa machines. Use your ssh key from the fedora account system to login. Package maintainers have 'sudo' access.  
  
 
Q: What kinds of things can I do on these machines?  
 
Q: What kinds of things can I do on these machines?  
Line 74: Line 84:
 
Q: Can I use one of these instances to maintain my packages from?
 
Q: Can I use one of these instances to maintain my packages from?
  
A: No. ssh agent forwarding is disabled for security reasons, so you will not be able to do cvs checkins from these instances. Additionally, they could be re-installed or files could be wiped at any time. You should not use these as a place to maintain your packages from.
+
A: No. ssh agent forwarding is disabled for security reasons, so you will not be able to do git checkins from these instances. Additionally, they could be re-installed or files could be wiped at any time. You should not use these as a place to maintain your packages from.
 +
 
 +
Q: I messed up one of the existing instances. What do I do?
 +
 
 +
A: Don't panic. Just inform the owner of that instance and they will spin up another instance. It's not a problem.  
  
 
Q: I would like to contibute a host/instance/machine to allow people to test things, how can I do that?
 
Q: I would like to contibute a host/instance/machine to allow people to test things, how can I do that?
  
A: I would be happy to help you in setting up a machine as the above test instances are. Contact me (kevin@scrye.com) for more info on how to set up the hosts.  
+
A: I would be happy to help you in setting up a machine as the above test instances are. Contact me (kevin@scrye.com) for more info on how to set up the hosts. If you want to know some details about the setup, take a look at the ansible playbooks used for these machines at [https://www.scrye.com/~kevin/fedora/scrye-ansible/ https://www.scrye.com/~kevin/fedora/scrye-ansible/]. To make them work you need a special FAS account that is in the group <code>thirdparty</code>, though.
  
 
Q: I would like to donate some secondary arch hardware/machine resources to this effort. How can I do that?  
 
Q: I would like to donate some secondary arch hardware/machine resources to this effort. How can I do that?  
  
 
A: See the previous question if you just want to bring up your own test machines at your site. If you would like me to host/manage your machines, please  
 
A: See the previous question if you just want to bring up your own test machines at your site. If you would like me to host/manage your machines, please  
contact me (kevin@scrye.com) and we can see if we can work something out. In particular I would love a ppc64 host to allow maintainers to use.
+
contact me (kevin@scrye.com) and we can see if we can work something out.  
  
 
Q: What should the ssh host keys be for these instances?  
 
Q: What should the ssh host keys be for these instances?  
  
A1: The ssh host keys are in DNS (dnssec enabled). Just set the openssh VerifyHostKeyDNS=yes.
+
A1: https://admin.fedoraproject.org/ssh_known_hosts has all the ssh host keys
A2: Here's a list of ssh host keys for the machines:
+
 
+
<pre>
+
thulsadoom.scrye.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwcyeuOv+hwYjMLobYmysZJl0XBwPsx3OuExgoSZqof4zKm+Gws/IxWDnwfov/bQ9PKlcsaGTlCeXS7ZfaUA4tYH5GksJP8tczGg35iFjn115ep0/1FF4rsUsc0mNMHVlgF2yibn//5P48in2VgJh7+kjKo6/yBxwFZVEI0Vwncy621dL0VZI52fdbiTacik7BoUWFupDUc7mEXYXL+KLD4WkiQd880VmimgbKzw+M+L19vPKwebMuD8Qat5DAaH+Wji+XR7nRZqvGOa1IOzbb7CPveJk7WEd/07KfU/p3X0Ek1d3Omqex5/Cew2NVFHETF3HEu6LomaNkKjdaqF+Nw==
+
epel5-test.scrye.com,[75.148.32.189]:3005,draco.scrye.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApaGSaZ52+S5ARafXKtYqoNzDklQ2tVaX+73SAyVZNIkV+Eij7oaqiQeBzQjrzmPQBUS1RR4To3puFNjVB0ZKzFwR//hExO+9rP3bqoOHEf/AS6uh/S6sxnClzut6MY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ffRQTLh39ISdHk+atLd4jTKkg8+gA4GmtHWfX5KFeKbbEKCT3uK8bOV
+
</pre>
+
  
 
== IPV6 info ==
 
== IPV6 info ==
  
All the instances are using a tunnelbroker.net ipv6 gateway, and should be reachable via ipv6. There should be AAAA records for all the hosts and they should be available for ping6 or ssh.
+
Sadly, ipv6 isn't currently available due to a provider issue. Will get it enabled as soon as we can offer it.  
  
 
[[Category:Package Maintainers]]
 
[[Category:Package Maintainers]]

Latest revision as of 22:03, 17 March 2017

Contents

[edit] Overview

In some cases Fedora Package maintainers may not have access to all supported architectures or releases of Fedora that they maintain packages for. In order to assist with this, some community members are providing access to test machines/instances that they maintain to allow Fedora package maintainers to test, build, compile or debug their packages.

[edit] Available Machines/Instances

hostname fedora version arch cpu memory disk contact
rawhide-test.fedorainfracloud.org rawhide x86_64 cloud instance 3.466Ghz 4GB ram 40GB disk admin@fedoraproject.org
f26-test.fedorainfracloud.org f26 x86_64 cloud instance 3.466Ghz 4GB ram 40GB disk admin@fedoraproject.org
f25-test.fedorainfracloud.org f25 x86_64 cloud instance 3.466Ghz 4GB ram 40GB disk admin@fedoraproject.org
f24-test.fedorainfracloud.org f24 x86_64 cloud instance 3.466Ghz 4GB ram 40GB disk admin@fedoraproject.org
el7-test.fedorainfracloud.org centos7 x86_64 cloud instance 3.466Ghz 4GB ram 40GB disk admin@fedoraproject.org
el6-test.fedorainfracloud.org centos6 x86_64 cloud instance 3.466Ghz 4GB ram 40GB disk admin@fedoraproject.org
ppc64-test.fedorainfracloud.org f25 ppc64 cloud instance 3.425Ghz 4GB ram 40GB disk admin@fedoraproject.org
ppc64le-test.fedorainfracloud.org f25 ppc64le cloud instance 3.425Ghz 4GB ram 40GB disk admin@fedoraproject.org
arm03-packager00.cloud.fedoraproject.org f25 armv7 SOC - 4GB ram 300GB disk admin@fedoraproject.org
arm03-packager01.cloud.fedoraproject.org f25 armv7 SOC - 4GB ram 300GB disk admin@fedoraproject.org
arm03-qa00.cloud.fedoraproject.org f25 armv7 SOC - 4GB ram 300GB disk admin@fedoraproject.org
arm03-qa01.cloud.fedoraproject.org f25 armv7 SOC - 4GB ram 300GB disk admin@fedoraproject.org
Note.png
machine names and location has changed as of 2017-02-27

[edit] FAQ

Q: What precautions should I take on these machines.

A: Since all Fedora packagers or qa members have root access on these machines, do not enter any sensitive information, including FAS credentials on these machines. These systems should never ask you for your FAS password (sudo is NOPASSWD). Authentication is only done via the SSH key you have set in FAS. In particular, it is recommended to disable SSH agent forwarding on these machines on the client side (agent forwarding is disabled on the server, but any user on the system could potentially reenable it). To do this, add the following to your ~/.ssh/config:

Host *.fedorainfracloud.org
  ForwardAgent no

Q: Who has access to these instances?

A: Anyone who is in the Fedora "packager" group. or anyone in the Fedora "qa" group for the qa machines. Use your ssh key from the fedora account system to login. Package maintainers have 'sudo' access.

Q: What kinds of things can I do on these machines?

A: Any of the following:

  • mock build packages
  • install and test packages
  • build packages locally to try and fix problems or compile errors
  • Check locations of files, layout or versions to help solve a Fedora bug.
  • Basically anything that is directly related to Fedora Maintainer tasks.

Q: What should I not do?

A: Any of the following:

  • Things that are not related to your job as maintainer of Fedora packages.
  • Probing or accessing any other system.
  • publishing data or content to the internet.

Q: Can I upgrade/downgrade $basepackage, or reboot the instances?

A: If you need to do this, please contact the maintainer of the instance and arrange it.

Q: Can I leave any data on these instances?

A: No. They could be re-installed at most any time, or rebooted, or suffer a data loss. Please scp or rsync your work off often, and when done, please revert any package installs/downgrades/upgrades.

Q: Aren't you worried that someone will misuse these instances?

A: No. We trust the packagers to maintain and build our packages in Fedora, why would we not trust them to use test instances correctly? Additionally, the instances are all isolated from any local machines, ssh agent forwarding is disabled, and they only allow incoming ssh and a handfull of outgoing traffic.

Q: Can I use one of these instances to maintain my packages from?

A: No. ssh agent forwarding is disabled for security reasons, so you will not be able to do git checkins from these instances. Additionally, they could be re-installed or files could be wiped at any time. You should not use these as a place to maintain your packages from.

Q: I messed up one of the existing instances. What do I do?

A: Don't panic. Just inform the owner of that instance and they will spin up another instance. It's not a problem.

Q: I would like to contibute a host/instance/machine to allow people to test things, how can I do that?

A: I would be happy to help you in setting up a machine as the above test instances are. Contact me (kevin@scrye.com) for more info on how to set up the hosts. If you want to know some details about the setup, take a look at the ansible playbooks used for these machines at https://www.scrye.com/~kevin/fedora/scrye-ansible/. To make them work you need a special FAS account that is in the group thirdparty, though.

Q: I would like to donate some secondary arch hardware/machine resources to this effort. How can I do that?

A: See the previous question if you just want to bring up your own test machines at your site. If you would like me to host/manage your machines, please contact me (kevin@scrye.com) and we can see if we can work something out.

Q: What should the ssh host keys be for these instances?

A1: https://admin.fedoraproject.org/ssh_known_hosts has all the ssh host keys

[edit] IPV6 info

Sadly, ipv6 isn't currently available due to a provider issue. Will get it enabled as soon as we can offer it.