Closed Bug 781955 Opened 13 years ago Closed 12 years ago

Virtual machine for hg testing

Categories

(Developer Services :: General, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bkero, Assigned: bkero)

References

Details

A virtual machine is needed for hg testing. I looked on mana, but couldn't find any sort of template to request one. The requirements for this are: Name: hg-test.dmz.scl3.mozilla.com 1 CPU 1GB RAM 20GB hard drive space 1 network interface, same vlan as the other hg servers (vlan74) Please add access to the same NFS shares as the other hg servers (10.22.74.10, /vol/hg_ecma, /vol/hg_pvt, /vol/hg/hg_qtree)
We should probably call this hg.stage.dmz.scl3.mozilla.com
now that I think of it, hgssh.stage.dmz.scl3 I should sleep :)
Blocks: 781012
We used to have a hgstage.mozilla.com, I don't know what ever became of it.
Assignee: server-ops → afernandez
VM is online, added to inventory, puppetized and basic nagios checks added. By default, VM template comes with 40G disk (enjoy the extra space!). Waiting on bug 784151 for NFS mounts.
VM ready to go. Filesystem Size Used Avail Use% Mounted on 10.22.74.10:/vol/hg/hg_qtree 300G 62G 239G 21% /repo/hg 10.22.74.10:/vol/hg_ecma 8.0G 635M 7.4G 8% /repo/hg_ecma 10.22.74.10:/vol/hg_pvt 40G 1.1G 39G 3% /repo/hg_pvt
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
I can't log in with my normal key. All releng folks should be able to log into this box.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
for clarity: $ hg clone ssh://hgssh.stage.dmz.scl3.mozilla.com/mozilla-central tmp-mc remote: ssh: connect to host hgssh.stage.dmz.scl3.mozilla.com port 22: Bad file number abort: no suitable response from remote hg!
Since the hgssh staging machine is missing some of the custom libraries we're using, the syntax for checking out a repository should be: hg clone ssh://root@hgssh.stage.dmz.scl3.mozilla.com//repo/hg/mozilla-central tmp-mc
How do we log in to view log files? requirement from bug 781012 comment 12, supposedly addressed by account for hwine in bug 781012 comment 15
Hal, You should be able to log in with: ssh hwine@hgssh.dmz.scl3.mozilla.com I've manually created an account for you. Anybody else from the team will need their own accounts if they want to log in to view logs.
Yep - works now -- thanks! Let's get one for Callek as well.
I've created one for Callek as well.
Our understanding is that hgssh is in the process of being upgraded to the latest hg server version. When that is completed, please let us know: - specific server version - list of any enabled hg extensions on server
Flags: needinfo?(bkero)
Assignee: afernandez → bkero
Component: Server Operations: Virtualization → Server Operations: Developer Services
QA Contact: dparsons → shyam
The mercurial version I upgraded to was the latest available, which was 2.5.4. There are no enabled hg extensions on the server other than the defaults that come enabled in this hg version. There is no hgrc file mentioning any enabled extensions.
Flags: needinfo?(bkero)
Status: REOPENED → RESOLVED
Closed: 13 years ago12 years ago
Resolution: --- → FIXED
The hgweb service does not seem to be running - nothing is listening on port 80: [hwine@hgssh.stage.dmz.scl3 ~]$ netstat -nlt | grep :80 [hwine@hgssh.stage.dmz.scl3 ~]$ nc -vz localhost 80 nc: connect to localhost port 80 (tcp) failed: Connection refused nc: connect to localhost port 80 (tcp) failed: Connection refused [hwine@hgssh.stage.dmz.scl3 ~]$
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ah, looks like requirements in blocked bug didn't get transferred here cleanly. For reference, minimal requirements are in bug 781012 comment #10 Given that the fqdn has 'stage' in it, I actually assumed that the setup was functionally identical to production. (Just newer software version & repo list.) Yeah - "assume" :( Please list what other functionality is not available on the staging instance, or will operate differently. Including: hgweb pushlog hooks Thanks!
(In reply to Hal Wine [:hwine] from comment #16) > Ah, looks like requirements in blocked bug didn't get transferred here > cleanly. For reference, minimal requirements are in bug 781012 comment #10 > ... > > Please list what other functionality is not available on the staging > instance, or will operate differently. Including: needinfo-shyam/bkero
Flags: needinfo?(shyam)
Flags: needinfo?(bkero)
Had a check with Hal, this is what needs to be done from IT : 1) Setup hgweb & ssh pull/commit 2) Local r/w copies of try and m-c on the stage machine 3) Make sure global hooks are the same 4) Make sure hooks on m-c and try are the same as production 5) hgweb templates should be installed Ben will work on this.
Flags: needinfo?(shyam)
Flags: needinfo?(bkero)
Severity: normal → major
I've satisfied all the requirements for the host outlined by Shyam earlier. hgweb and ssh pull/commit are working Local RW copies of try and mozilla-central exist Global hooks are the same Repo-specific hooks are also the same The templates will be the same as in production
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
hwine, Callek - can we make sure this fits what you need ASAP? (so we don't have any more blockers waiting on IT for this). Thanks!
Flags: needinfo?(hwine)
Flags: needinfo?(bugspam.Callek)
Callek will be on this ASAP this morning.
Flags: needinfo?(hwine)
(In reply to Shyam Mani [:fox2mike] from comment #20) > hwine, Callek - can we make sure this fits what you need ASAP? (so we don't > have any more blockers waiting on IT for this). Thanks! It appears I no longer have ssh-shell access. Though I don't feel I really need it, it would make some tasks `slightly` easier. And would have allowed me to answer the one outstanding Q I have. Q: What is the expected url for the mercurial repos as Apache sees them ** I tried hgssh.stage.dmz.scl3.mozilla.com/ -- which gives me an apache setup page (thats ok) ** I then tried hgssh.stage.dmz.scl3.mozilla.com/mozilla-central which is not found ** I tried hgssh.stage.dmz.scl3.mozilla.com/mozilla-central/ which is also not found ** I tried hgssh.stage.dmz.scl3.mozilla.com//repos/hg/mozilla-central as mentioned elsewhere on this bug. ** Lastly I tried /try incase it was just m-c messed up. I don't particularly need it anywhere specific I just need to know where it is. Lastly for sanity incase you decide to look into getting my ssh shell access back log of what I tried and the error messages: Justin@ORION /d/Sources/drivertools/comm-merges $ ssh Callek@gmail.com@hgssh.stage.dmz.scl3.mozilla.com No interactive shells allowed here! Connection to hgssh.stage.dmz.scl3.mozilla.com closed. Justin@ORION /d/Sources/drivertools/comm-merges $ ssh jwood@hgssh.stage.dmz.scl3.mozilla.com Permission denied (publickey). Justin@ORION /d/Sources/drivertools/comm-merges $ ssh Callek@hgssh.stage.dmz.scl3.mozilla.com Permission denied (publickey). Justin@ORION /d/Sources/drivertools/comm-merges $ ssh root@hgssh.stage.dmz.scl3.mozilla.com Permission denied (publickey). Justin@ORION /d/Sources/drivertools/comm-merges $ ssh jwood@mozilla.com@hgssh.stage.dmz.scl3.mozilla.com You do not have a valid mercurial account! Connection to hgssh.stage.dmz.scl3.mozilla.com closed. --- needinfo on you two for said answer, once I have at least url-to-find-this stuff I expect we're set. but would want one last mini-check to ascertain that for sure
Flags: needinfo?(shyam)
Flags: needinfo?(bugspam.Callek)
Flags: needinfo?(bkero)
302 bkero.
Flags: needinfo?(shyam)
The pushing problem was related to some incorrect permissions being set. I've since corrected the problem and no more 'Permission denied' errors should be encountered.
Flags: needinfo?(bkero)
The permission problems have been fixed. I don't see any outstanding issues on why this should be left open. If anybody feels differently please reopen and comment.
Severity: major → normal
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.