Project

General

Profile

Bug #62433

empty resolv.conf

Added by Jason Prokopowich almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

After updating from 11.1v6 to 11.2 could not resolve external addresses. Checked the resolv.conf and it was empty.

Added emtries and seems to working okay now. Why doesn't the network->global configuration work from the UI?


Related issues

Related to FreeNAS - Bug #64599: Generate SMART config on manual service startDone
Related to FreeNAS - Bug #59280: Swap disappear after upgrading to 11.2 RC2Closed
Has duplicate FreeNAS - Bug #62730: Error updating OSClosed
Copied to FreeNAS - Bug #65376: Allow middleware startup on low-performance boot devicesDone

History

#1 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Unscreened to Blocked
  • Reason for Blocked set to Need additional information from Author

Jason: to clarify, are you using static or DHCP address assignment?

#2 Updated by Jason Prokopowich almost 2 years ago

Dru Lavigne wrote:

Jason: to clarify, are you using static or DHCP address assignment?

Static. I never had an issue prior to the 11.2 update which I just did early today.

#3 Updated by Dru Lavigne almost 2 years ago

  • Private changed from No to Yes

Can you attach a debug so we can see if something was missed in the database migration?

#4 Updated by Jason Prokopowich almost 2 years ago

  • File debug-storage-20181206152146.tgz added

attached is a debug early today after the upgrade.

#5 Updated by Dru Lavigne almost 2 years ago

  • Category changed from GUI (new) to Middleware
  • Status changed from Blocked to Unscreened
  • Assignee changed from Release Council to William Grzybowski
  • Reason for Blocked deleted (Need additional information from Author)

#6 Updated by William Grzybowski almost 2 years ago

  • Status changed from Unscreened to Blocked
  • Reason for Blocked set to Need additional information from Author

This happened because the middleware daemon took over 4 minutes to start. That is usually an indication of boot devices starting to get in a bad shape (very slow).

Does this happen on every boot?

#7 Updated by Jason Prokopowich almost 2 years ago

William Grzybowski wrote:

This happened because the middleware daemon took over 4 minutes to start. That is usually an indication of boot devices starting to get in a bad shape (very slow).

Does this happen on every boot?

I have 2 Kingston DTSE9 (16GB) USB sticks as boot devices. It has always taken a long time to boot.

#8 Updated by William Grzybowski almost 2 years ago

  • Target version changed from Backlog to 11.2-U2

Jason Prokopowich wrote:

William Grzybowski wrote:

This happened because the middleware daemon took over 4 minutes to start. That is usually an indication of boot devices starting to get in a bad shape (very slow).

Does this happen on every boot?

I have 2 Kingston DTSE9 (16GB) USB sticks as boot devices. It has always taken a long time to boot.

It may have gotten worse now.
You forgot to answer if the DNS issues happen on every boot?

If so, can you try a workaround?

Edit /conf/base/etc/local/rc.d/middlewared file and replace

        if ! LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/midclt -t 240 waitready; then

with

        if ! LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/midclt -t 360 waitready; then

And reboot once again

#9 Updated by Jason Prokopowich almost 2 years ago

  • File debug-storage-20181207093643.tgz added

William Grzybowski wrote:

Jason Prokopowich wrote:

William Grzybowski wrote:

This happened because the middleware daemon took over 4 minutes to start. That is usually an indication of boot devices starting to get in a bad shape (very slow).

Does this happen on every boot?

I have 2 Kingston DTSE9 (16GB) USB sticks as boot devices. It has always taken a long time to boot.

It may have gotten worse now.
You forgot to answer if the DNS issues happen on every boot?

If so, can you try a workaround?

Edit /conf/base/etc/local/rc.d/middlewared file and replace

[...]

with

[...]

And reboot once again

Tried that and still same result ... I have to add entries to the the resolv.conf for things to work.

And to answer the question about this happening .... only started after I updated to 11.2.

New bug report uploaded.

#10 Updated by William Grzybowski almost 2 years ago

This time loading took even longer than before, you may try increasing that number even more to see if that helps.

This is all pointing to extremely slow boot device.

We can schedule a TeamViewer session next week if you are skeptical that being the issue so we can investigate further.

#11 Updated by Jason Prokopowich almost 2 years ago

William Grzybowski wrote:

This time loading took even longer than before, you may try increasing that number even more to see if that helps.

This is all pointing to extremely slow boot device.

We can schedule a TeamViewer session next week if you are skeptical that being the issue so we can investigate further.

I increased the number to 600

I benchmarked the USB drives with the "disks" tool in Ubuntu and got this ...
All of these are taken from the identical USB sticks that I have been using for a few years with FreeNAS ..
From a USB stick rarely used,
15 GB Thumb Drive — Kingston DataTraveler 2.0
29.5 MB/s (100 samples)

From the USB that was in the freeNAS box,
15 GB Thumb Drive — Kingston DataTraveler 2.0
27.8 MB/s (100 samples)

I also included a video of the boot. It seems to hang on the "trying to mount ..." portion of the boot.
https://youtu.be/qE7OvGnFdUU
It should be live in about 1.5 hours as it is still uploading.

I saved the configuration prior to upgrading the 11.2 (so the backup is from 11.1U6). Would doing a fresh install and a config restore from 11.1U6 to 11.2 mess anything up? Also, would I lose the VMs and jails I have currently?

#12 Updated by William Grzybowski almost 2 years ago

Uploading config should not lose anything as long as its the .tar version of the config file.

These numbers you posted looks OK, but they are sequential readings, right? How is the random read?

Can we schedule a teamviewer next week?

#13 Updated by Jason Prokopowich almost 2 years ago

William Grzybowski wrote:

Uploading config should not lose anything as long as its the .tar version of the config file.

These numbers you posted looks OK, but they are sequential readings, right? How is the random read?

Can we schedule a teamviewer next week?

The number 600 seems to have resolved the DNS resolution issue. Or at least on the last boot.

The config I got is called this from the "System -> general" location,
storage-FreeNAS-11.1-U6 (caffd76fa)-20181206084944.db

Currently I am resilvering the freenas-boot with an identical USB stick to see how that goes.

And yes we can schedule something next week. But I am currently on parental leave taking care of my 9 month old so I can't guarantee anything. What time (in what timezone) would you be available?

And from what I remember things slowed down in the 9.x days ... I thought that was just how it was.

#14 Updated by William Grzybowski almost 2 years ago

Jason Prokopowich wrote:

William Grzybowski wrote:

Uploading config should not lose anything as long as its the .tar version of the config file.

These numbers you posted looks OK, but they are sequential readings, right? How is the random read?

Can we schedule a teamviewer next week?

The number 600 seems to have resolved the DNS resolution issue. Or at least on the last boot.

The config I got is called this from the "System -> general" location,
storage-FreeNAS-11.1-U6 (caffd76fa)-20181206084944.db

That wont work too well as it does not contain your secret password seed (found in the .tar version). Which means your passwords will be wiped out.

Currently I am resilvering the freenas-boot with an identical USB stick to see how that goes.

And yes we can schedule something next week. But I am currently on parental leave taking care of my 9 month old so I can't guarantee anything. What time (in what timezone) would you be available?

And from what I remember things slowed down in the 9.x days ... I thought that was just how it was.

I am available from 12PM to 6PM (GMT-2)

#15 Updated by William Grzybowski almost 2 years ago

  • Has duplicate Bug #62730: Error updating OS added

#16 Updated by Jason Prokopowich almost 2 years ago

William Grzybowski wrote:

Jason Prokopowich wrote:

William Grzybowski wrote:

Uploading config should not lose anything as long as its the .tar version of the config file.

These numbers you posted looks OK, but they are sequential readings, right? How is the random read?

Can we schedule a teamviewer next week?

The number 600 seems to have resolved the DNS resolution issue. Or at least on the last boot.

The config I got is called this from the "System -> general" location,
storage-FreeNAS-11.1-U6 (caffd76fa)-20181206084944.db

That wont work too well as it does not contain your secret password seed (found in the .tar version). Which means your passwords will be wiped out.

Currently I am resilvering the freenas-boot with an identical USB stick to see how that goes.

And yes we can schedule something next week. But I am currently on parental leave taking care of my 9 month old so I can't guarantee anything. What time (in what timezone) would you be available?

And from what I remember things slowed down in the 9.x days ... I thought that was just how it was.

I am available from 12PM to 6PM (GMT-2)

So we a are 4hrs difference.
Let's try for 8:00 tomorrow my time which is 12:00 your time. How do you want to initiate the connection?

#17 Updated by William Grzybowski almost 2 years ago

Jason Prokopowich wrote:

William Grzybowski wrote:

Jason Prokopowich wrote:

William Grzybowski wrote:

Uploading config should not lose anything as long as its the .tar version of the config file.

These numbers you posted looks OK, but they are sequential readings, right? How is the random read?

Can we schedule a teamviewer next week?

The number 600 seems to have resolved the DNS resolution issue. Or at least on the last boot.

The config I got is called this from the "System -> general" location,
storage-FreeNAS-11.1-U6 (caffd76fa)-20181206084944.db

That wont work too well as it does not contain your secret password seed (found in the .tar version). Which means your passwords will be wiped out.

Currently I am resilvering the freenas-boot with an identical USB stick to see how that goes.

And yes we can schedule something next week. But I am currently on parental leave taking care of my 9 month old so I can't guarantee anything. What time (in what timezone) would you be available?

And from what I remember things slowed down in the 9.x days ... I thought that was just how it was.

I am available from 12PM to 6PM (GMT-2)

So we a are 4hrs difference.
Let's try for 8:00 tomorrow my time which is 12:00 your time. How do you want to initiate the connection?

Sounds good. Send me an email with the teamviewer credentials: william at ixsystems com

Thanks

#18 Updated by Jason Prokopowich almost 2 years ago

William Grzybowski wrote:

Jason Prokopowich wrote:

William Grzybowski wrote:

Jason Prokopowich wrote:

William Grzybowski wrote:

Uploading config should not lose anything as long as its the .tar version of the config file.

These numbers you posted looks OK, but they are sequential readings, right? How is the random read?

Can we schedule a teamviewer next week?

The number 600 seems to have resolved the DNS resolution issue. Or at least on the last boot.

The config I got is called this from the "System -> general" location,
storage-FreeNAS-11.1-U6 (caffd76fa)-20181206084944.db

That wont work too well as it does not contain your secret password seed (found in the .tar version). Which means your passwords will be wiped out.

Currently I am resilvering the freenas-boot with an identical USB stick to see how that goes.

And yes we can schedule something next week. But I am currently on parental leave taking care of my 9 month old so I can't guarantee anything. What time (in what timezone) would you be available?

And from what I remember things slowed down in the 9.x days ... I thought that was just how it was.

I am available from 12PM to 6PM (GMT-2)

So we a are 4hrs difference.
Let's try for 8:00 tomorrow my time which is 12:00 your time. How do you want to initiate the connection?

Sounds good. Send me an email with the teamviewer credentials: william at ixsystems com

Thanks

Just to be clear we meant Dec 12?

#19 Updated by William Grzybowski almost 2 years ago

We will be waiting Jason to report back after switching boot media.

#20 Updated by Jason Prokopowich almost 2 years ago

William Grzybowski wrote:

We will be waiting Jason to report back after switching boot media.

Update ... so I have freenas running on a Samsung SSD and things seem okay. I think part of the whole problem was related to the extra NIC I had installed for another issue related to VMs crashing. Long story short ... I stopped using the integrated NIC as the primary interface and set it an unused network 192.168.1.x (my network is 192.168.0.x). But when I did the update to 11.2 the integrated NIC came back into play on my primary network so every time I rebooted there was a random conflict ... sometimes it would work and sometimes it would not. I corrected the issue and unplugged the integrated NIC.

As of right now close this if you want but could you provide me a reference as to how to shrink zvols (or some other way). I am wanting to fit the freenas-boot on some newer 16GB USB3 sticks but they are all not the exact same size (when mirroring). I am thinking of pulling a mirror out once powered off and shrinking it on another freeBSD live instance. Thanks.

#21 Updated by Vladimir Vinogradenko almost 2 years ago

  • Related to Bug #64599: Generate SMART config on manual service start added

#22 Updated by Bug Clerk almost 2 years ago

  • Status changed from Blocked to In Progress

#23 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#24 Updated by Bug Clerk almost 2 years ago

  • Target version changed from 11.2-U2 to 11.3

#25 Updated by Bug Clerk almost 2 years ago

  • Copied to Bug #65376: Allow middleware startup on low-performance boot devices added

#26 Updated by William Grzybowski almost 2 years ago

  • Related to Bug #59280: Swap disappear after upgrading to 11.2 RC2 added

#27 Updated by Dru Lavigne almost 2 years ago

  • File deleted (debug-storage-20181206152146.tgz)

#28 Updated by Dru Lavigne almost 2 years ago

  • File deleted (debug-storage-20181207093643.tgz)

#29 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Private changed from Yes to No
  • Reason for Blocked deleted (Need additional information from Author)
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF