Page MenuHomePhabricator

Request creation of IIAB VPS project
Closed, ResolvedPublic

Description

Project Name: IIAB Alpha Launch

Purpose: We need an example of what our offline system provides, but online for those who may be interested in trialing it.

Wikitech Username of requestor: Doc James

Brief description of project: Internet-in-a-Box is a combination of hardware and software that serves up Wikipedia content to those who do not have easy access to the internet. https://meta.wikimedia.org/wiki/Internet-in-a-Box The alpha launch is about 13Gb of open access content (CC BY SA), including Wikipedia's health care content in EN, AR, and ES, Open Street Maps, WikEm, and HealthPhone videos.

How soon you are hoping this can be fulfilled: ASAP

Event Timeline

An example of what it will look like is here http://iiab.me/medbox/ This is running on Tim Moody's home machine. Due to potential volume of traffic need it on something with more band width. Please note that the VPS is servicing up pages of content, it is not for downloading the entire image file. We have the entire image file hosted for download via Google docs and are working on a partnership with Internet Archives aswell for this.

This project requires a VPS because it will have to permit access to a number of ports. We also use ansible to install the underlying software for the Internet in a Box server and need to run that as root. This site will demonstrate the initial launch which is contained on a 16G sd card, but future releases will likely support 32G. We would like to expose this demo as medical.iiab.me and therefore also request a static ip address.

bd808 triaged this task as Medium priority.Oct 3 2017, 6:24 PM
bd808 subscribed.

I have created the iiab project and granted the project a quota of 1 floating ip.

@Doc_James, check out https://wikitech.wikimedia.org/wiki/Help:Getting_Started#Getting_started_with_VPS_Projects for pointers on how to start using your project.

bd808 claimed this task.

I have downloaded a 9G zip file that contains content, but do not have sufficient storage to unzip it. Please double the storage quota to 40G. Thanks.

I have downloaded a 9G zip file that contains content, but do not have sufficient storage to unzip it. Please double the storage quota to 40G. Thanks.

medbox-iiab.iiab.eqiad.wmflabs has 40G storage, but may have not been allocated. See Help:Adding_Disk_Space.

@zhuyifei1999 said what I would suggest. Storage is not quota'd in the way you are imagining. Instances are created with a "flavor" and that has a certain amount of storage associated but we don't format it all by default so you need to apply follow those instructions to do so. We would not be able to allocate more storage for an existing instance right now and fyi quota allocated above the default project allocation would need a separate quota increase task for posterity and tracking on our end if we did.

Can someone help me with scp or rsync syntax for this environment. I need to copy files from instance medbox-iiab to medbox2-iiab and get publickey error.

Can someone help me with scp or rsync syntax for this environment. I need to copy files from instance medbox-iiab to medbox2-iiab and get publickey error.

You may need to set up an SSH key on one box and a local user which has that key allowed on the other. Or I think there's some rsync server thing you can do.

One thing you can't do is use your own user account, as it would require agent forwarding which would not be allowed.

I am unable to log into https://horizon.wikimedia.org/auth/login/ as timmoody using a password that used to work and was not changed by me afaik and a second factor from Google Authenticator. Can someone please advise.

I am unable to log into https://horizon.wikimedia.org/auth/login/ as timmoody using a password that used to work and was not changed by me afaik and a second factor from Google Authenticator. Can someone please advise.

Does wikitech.wikimedia.org login work for you?

I did a password reset using wikitech.wikimedia.org and still am unable to log in. Could there be a problem with timezones for the authenticator?

That was it. I did a time resync in authenticator and now I can log in.

We have now progressed from the initial alpha to several betas with distinct curations or editions for different target geographies. As a result we are running out of space on the main VPS, which is an m1.large. Is it possible to mount storage from the m1.mediums on that instance or is a new instance needed?

As a result we are running out of space on the main VPS, which is an m1.large. Is it possible to mount storage from the m1.mediums on that instance or is a new instance needed?

$ ssh root@medbox2-iiab.iiab.eqiad.wmflabs
$ df -h
Filesystem                          Size  Used Avail Use% Mounted on
udev                                3.9G     0  3.9G   0% /dev
tmpfs                               799M   84M  716M  11% /run
/dev/vda3                            19G   12G  6.2G  66% /
tmpfs                               4.0G     0  4.0G   0% /dev/shm
tmpfs                               5.0M     0  5.0M   0% /run/lock
tmpfs                               4.0G     0  4.0G   0% /sys/fs/cgroup
/dev/mapper/vd-second--local--disk   60G   31G   27G  54% /srv
tmpfs                               799M     0  799M   0% /run/user/13998
tmpfs                               799M     0  799M   0% /run/user/0

There is 27G of free space on the /srv mount there. If it were running out however, the answer to the original question is that no, you can not mount the disk(s) from one VM on another. The maximum disk size for any given virtual instance is a part of the "flavor" that the instance is created with. Access to the instance's disk quota beyond the ~20G base image is done by applying the role::labs::lvm::srv Puppet role. This has already been done on medbox2-iiab.iiab.eqiad.wmflabs.


Please do open new tickets to track new issues in the future rather than reopening this one. It makes it easier for us to keep track of what is being asked.

no idea how to create a new ticket

no idea how to create a new ticket

Click the "Create Task" link in the top right corner of this page and then choose "Create Task (Simple)" from the drop down. See also https://www.mediawiki.org/wiki/Phabricator/Help#Creating_a_task