Nomulus for Production

227 views
Skip to first unread message

Henry Newman

unread,
Jan 26, 2019, 10:33:28 AM1/26/19
to nomulus-discuss
Greetings everyone

So I'm trying to deploy Nomulus for production use and I tried the installation guide on GitHub and I realized it's not detailed as much so I am humbly asking for help.

Michael Muller

unread,
Jan 28, 2019, 8:00:51 AM1/28/19
to Henry Newman, nomulus-discuss
Hi Henry,

Sure, where are you getting stuck? 

On Sat, Jan 26, 2019 at 10:33 AM Henry Newman <henryn...@gmail.com> wrote:
Greetings everyone

So I'm trying to deploy Nomulus for production use and I tried the installation guide on GitHub and I realized it's not detailed as much so I am humbly asking for help.

--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomulus-discuss/48cac9c6-91b0-4919-b6f9-50f53c3a80c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Henry Newman

unread,
Jan 28, 2019, 1:11:58 PM1/28/19
to nomulus-discuss
I have an active  Google Cloud Account now what I dont understand is if I should have an IDE to build the code or what or should I do the steps given staright into App Engine (which I tried and I failed.

Michael Muller

unread,
Jan 28, 2019, 1:31:26 PM1/28/19
to Henry Newman, nomulus-discuss
Where did you fail?  Were you unable to run appcfg.sh?

If so, it looks like appcfg is no longer part of the google cloud SDK.  However, you can still get it from the java appengine SDK.  See  https://cloud.google.com/appengine/docs/standard/java/download (scroll down to the bottom of the page, there are instructions for obtaining the App Engine SDK for your platform).

BTW, we currently have a prototype Gradle build so hopefully you won't need to deal with appcfg much longer. 

On Mon, Jan 28, 2019 at 1:12 PM Henry Newman <henryn...@gmail.com> wrote:
I have an active  Google Cloud Account now what I dont understand is if I should have an IDE to build the code or what or should I do the steps given staright into App Engine (which I tried and I failed.

--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Henry Newman

unread,
Jan 28, 2019, 4:38:13 PM1/28/19
to nomulus-discuss
I failed were I don't know where to use the prerequisites, what I wanna know is do I do all those installation commands through the Google Cloud SDK or into App Engine through my browser or is there some way you do them. I managed to install the App Engine SDK with Java and set it up.

Michael Muller

unread,
Jan 29, 2019, 8:41:46 AM1/29/19
to Henry Newman, nomulus-discuss
There's currently no way to do the installation from gcloud (or the browser, for that matter).  AFAIK, that's true for App Engine java apps in general.  We use some non-public tooling for our internal installs, but that's more for reasons of our security requirements and automation than ease of use.  When we deploy externally for testing purposes, we use the same procedure you've linked to.

If you've done all of the other stuff (built with bazel, created an App Engine project, etc.), skip ahead to https://github.com/google/nomulus/blob/master/docs/install.md#create-an-app-engine-project and use the appcfg.sh command listed there.

Sorry it's so complicated, the Gradle build will be a significant improvement.

On Mon, Jan 28, 2019 at 4:38 PM Henry Newman <henryn...@gmail.com> wrote:
I failed were I don't know where to use the prerequisites, what I wanna know is do I do all those installation commands through the Google Cloud SDK or into App Engine through my browser or is there some way you do them. I managed to install the App Engine SDK with Java and set it up.

--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Henry Newman

unread,
Feb 6, 2019, 5:19:42 PM2/6/19
to nomulus-discuss
Greeting again,
 
I looked at the steps again and tried to follow them step by step but I got stuck on the step of Building the Codebase. [See attached]

Screenshot (27).png


Lai Jiang

unread,
Feb 6, 2019, 5:50:32 PM2/6/19
to Henry Newman, nomulus-discuss
It looks like you do not have enough disk space under /root. Can you post the results from `df -h`?

Lai Jiang | Software Engineer | jian...@google.com | 212-565-6361



--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

Henry Newman

unread,
Feb 7, 2019, 7:13:41 AM2/7/19
to nomulus-discuss
Here it is. I retried everything afresh and still the same error. On the screenshot attached, I noticed that there is one directory which is at 98%. If its the one affecting the build I can increase my instance. (How much minimum processing power and memory would I need though?)

Screenshot (28).png


Michael Muller

unread,
Feb 7, 2019, 9:38:05 AM2/7/19
to Henry Newman, nomulus-discuss
Actually, you're getting a different error.  But it's likely the same underlying problem, you have 242M remaining, the sandbox EAR file is 284M on my machine.

It looks like the entire nomulus build is probably around 8G (including the source). I don't know where you started out at before downloading the source, but you're probably close.  That said, you should probably just set up a 20G root partition if possible.  

On Thu, Feb 7, 2019 at 7:13 AM Henry Newman <henryn...@gmail.com> wrote:
Here it is. I retried everything afresh and still the same error. On the screenshot attached, I noticed that there is one directory which is at 98%. If its the one affecting the build I can increase my instance. (How much minimum processing power and memory would I need though?)

Screenshot (28).png


--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Henry Newman

unread,
Feb 7, 2019, 1:23:12 PM2/7/19
to nomulus-discuss
New Update:  I have managed to successfully build the project. The build error was indeed caused by the instance memory being low. Now I'm unable to deploy the project. Is there a way to fix the appcfg.sh: command not found or an alternative deployment method. (I have already successfully authenticated and created the project.) 

Screenshot (30).png


Michael Muller

unread,
Feb 7, 2019, 2:38:28 PM2/7/19
to Henry Newman, nomulus-discuss
See my earlier note :-)

If so, it looks like appcfg is no longer part of the google cloud SDK.  However, you can still get it from the java appengine SDK.  See  https://cloud.google.com/appengine/docs/standard/java/download (scroll down to the bottom of the page, there are instructions for obtaining the App Engine SDK for your platform).
On Thu, Feb 7, 2019 at 1:23 PM Henry Newman <henryn...@gmail.com> wrote:
New Update:  I have managed to successfully build the project. The build error was indeed caused by the instance memory being low. Now I'm unable to deploy the project. Is there a way to fix the appcfg.sh: command not found or an alternative deployment method. (I have already successfully authenticated and created the project.) 

Screenshot (30).png


--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Henry Newman

unread,
Feb 7, 2019, 4:30:26 PM2/7/19
to nomulus-discuss
Is there a way to use the latest deployment method?

Henry Newman

unread,
Feb 7, 2019, 4:43:56 PM2/7/19
to nomulus-discuss
I tried using the Old App Engine SDK mentioned and this is what I got. Deployment still not achieved.

Screenshot (31).png



Michael Muller

unread,
Feb 8, 2019, 7:47:19 AM2/8/19
to Henry Newman, nomulus-discuss
That's almost certainly because you have a backslash in the middle of your command.

The backslash is in the example to escape the newline: an operator would type "... enable_jar_splitting \<enter-key> -V ..." By adding the backslash in the middle of the line, you are escaping the space character that follows it, causing " -V" to be interpreted as a command rather than an option.

Either remove the backslash or add a newline after it to continue the command on the next line (simply copy-pasting the command from the web-page should do the latter).

On Thu, Feb 7, 2019 at 4:43 PM Henry Newman <henryn...@gmail.com> wrote:
I tried using the Old App Engine SDK mentioned and this is what I got. Deployment still not achieved.

Screenshot (31).png



--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Michael Muller

unread,
Feb 8, 2019, 7:53:45 AM2/8/19
to Henry Newman, nomulus-discuss
If you're strongly familiar with gradle, there's a gradle build (in the gradle subdirectory) that has an "appengineDeploy" task.  I don't know what you're likely to run into with that, though.  We've never fully verified that it deploys a functional version of our app. 

On Thu, Feb 7, 2019 at 4:30 PM Henry Newman <henryn...@gmail.com> wrote:
Is there a way to use the latest deployment method?

--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Michael Muller
Ym9yZWQ/

Henry Newman

unread,
Feb 17, 2019, 1:54:08 PM2/17/19
to nomulus-discuss
On my fifth try and still nothing. Any ideas what might be the problem with this deployment type? What does the gradle deployment you are suggesting require?

Lai Jiang

unread,
Feb 18, 2019, 2:40:14 PM2/18/19
to Henry Newman, nomulus-discuss
If you would like to try gradle deployment, you can run "gradle deploy" inside the gradle folder. This assumes you have both Gradle and gcloud installed. Note that we have not thoroughly tested this method yet. Feedback is welcome :)


Lai Jiang | Software Engineer | jian...@google.com | 212-565-6361


On Sun, Feb 17, 2019 at 1:54 PM Henry Newman <henryn...@gmail.com> wrote:
On my fifth try and still nothing. Any ideas what might be the problem with this deployment type? What does the gradle deployment you are suggesting require?

--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.

Rajesh Debnath

unread,
Apr 27, 2019, 12:10:30 PM4/27/19
to nomulus-discuss
Hey 
Lai Jiang, can you please check my screen shot. I have build the code using bazel. After deployed in GCloud I faced the permission denied error in browser
Here is the link to my nomulus installation
https://a01-registry-alpha.appspot.com/registrar

Also I am attaching the screenshot of the console error




On Tuesday, February 19, 2019 at 1:10:14 AM UTC+5:30, Lai Jiang wrote:
If you would like to try gradle deployment, you can run "gradle deploy" inside the gradle folder. This assumes you have both Gradle and gcloud installed. Note that we have not thoroughly tested this method yet. Feedback is welcome :)

Lai Jiang | Software Engineer | jian...@google.com | 212-565-6361



On Sun, Feb 17, 2019 at 1:54 PM Henry Newman <henryn...@gmail.com> wrote:
On my fifth try and still nothing. Any ideas what might be the problem with this deployment type? What does the gradle deployment you are suggesting require?

--
NOTE: This is a public discussion list for the Nomulus domain registry project.
---
You received this message because you are subscribed to the Google Groups "nomulus-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomulus...@googlegroups.com.
image.png
image_01.png

Rajesh Debnath

unread,
Apr 27, 2019, 12:12:07 PM4/27/19
to nomulus-discuss


On Saturday, April 27, 2019 at 9:40:30 PM UTC+5:30, Rajesh Debnath wrote:
Hey 
Lai Jiang, can you please check my screen shot. I have build the code using bazel. After deployed in GCloud I faced the permission denied error in browser
Here is the link to my nomulus installation
https://a01-registry-alpha.appspot.com/registrar

Also I am attaching the screenshot of the console error and screenshot from the browser



Screenshot from 2019-04-27 21-41-08.png

Weimin Yu

unread,
Apr 28, 2019, 4:03:54 PM4/28/19
to Rajesh Debnath, nomulus-discuss
Hi Rajesh,

The configuration tutorial on our Github site is out of date. If you look at the default-config.yaml referenced from that tutorial,
you'll see that the correct format for toolsServiceUrl is on a single line as follows:

  toolsServiceUrl: https://${hostname}

And in your case this should be:


Sorry for the inconvenience this has caused you.

Regards.





To unsubscribe from this group and stop receiving emails from it, send an email to nomulus-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomulus-discuss/6d639811-f617-4d01-a2a6-7d915e5e0856%40googlegroups.com.

Weimin Yu

unread,
Apr 28, 2019, 4:15:51 PM4/28/19
to Rajesh Debnath, nomulus-discuss
Hi Rajesh,

Please also refer to 'nomulus-config-production-sample.yaml' in the same directory as default-config.yaml.
You'll need to at least specify the other three serviceUrls under appEngine for the service to be fully functional.

Regards.


Lai Jiang

unread,
Apr 30, 2019, 11:22:46 AM4/30/19
to nomulus-discuss
Rajesh,

Please also note that we are in the process of transitioning from bazel to gradle. At this stage we are mostly maintaining the gradle build and we'd advise you to use the gradle tool to deploy as well.

You need to edit the build.gradle file to specify your project id, and then run "./gradlew deploy -P environment=[alpha|crash|sandbox|production]" in the /gradle/ folder.
Reply all
Reply to author
Forward
0 new messages